3
*Autoupdate* is a feature that will guarantee you are always up to
4
date. It is enabled by default, and can be disabled via `snappy config`.
8
To check whether the feature is active, run
10
snappy config ubuntu-core | grep autoupdate
12
If you want to disable it run
14
echo 'config: {ubuntu-core: {autoupdate: off}}' | sudo snappy config ubuntu-core -
16
and you then re-enable it via
18
echo 'config: {ubuntu-core: {autoupdate: on}}' | sudo snappy config ubuntu-core -
20
Every time autoupdate triggers it will try to update the whole system;
21
if an `ubuntu-core` update is available the system will automatically
22
reboot, although a message is printed to console with instructions on
23
how to abort the reboot, in case you are logged in at the time.
25
> If you need a single configuration that works both on 15.04 and rolling, you
26
> can use both the old and new keys, e.g. `config: {ubuntu-core: {autoupdate:
27
> on, autopilot: on}}`.
29
## Implementation details
31
Autoupdate used to be called *autopilot* (but that got very confusing,
32
especially when people were using snappy with other things that have
33
their own autopilot, like an OpenStack deployment that used
34
Canonical's own OpenStack Autopilot, or in mobile robots that could
35
fly themselves); the `systemd` units still use this name.
37
For more details of when it is to be triggered you could dig into the
40
systemctl list-timers snappy-autopilot.timer
42
To check whether the update ran, run
44
systemctl status -l snappy-autopilot.service
46
and to view any output from the command run
48
sudo journalctl -u snappy-autopilot.service