Comment 20 for bug 1747499

Revision history for this message
Olivier Gayot (ogayot) wrote :

Tested successfully on a focal amd64 VM:

Test-case 1 - livepatch enabled
$ canonical-livepatch status
last check: 7 seconds ago
kernel: 5.4.0-121.137-generic
server check-in: succeeded
[...]
$ apt install linux-image-5.13.0-36-generic
[...]
$ ssh olivier@localhost
[...]
0 updates can be applied immediately

Test-case 2 - livepatch disabled

```
$ canonical-livepatch status
Machine is not enabled. Please run 'sudo canonical-livepatch enable' with the token obtained from https://ubuntu.com/livepatch.
$ apt install linux-image-5.13.0-36-generic
[...]
$ ssh olivier@localhost
[...]
*** System restart required ***
```