From fb11997430f357a44b93a18901b3236b3b1c7a57 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 25 Jul 2024 17:09:46 +0200 Subject: [PATCH] Add note on automatic upgrades --- scripts/init-ubuntu.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/init-ubuntu.sh b/scripts/init-ubuntu.sh index 887e44809..022a4a4d7 100755 --- a/scripts/init-ubuntu.sh +++ b/scripts/init-ubuntu.sh @@ -120,6 +120,7 @@ apt-get -o Dpkg::Options::="--force-confold" install -y --no-install-recommends # this ensures that unattended upgades are enabled, if it was disabled during ubuntu install time (see #346) # debconf-set-selection of unattended-upgrades/enable_auto_updates + dpkg-reconfigure does not work # logs of upgrades are at /var/log/apt/history.log and /var/log/unattended-upgrades/unattended-upgrades-dpkg.log +# apt-daily-upgrade.service (timer) runs the unattended-upgrades script depending on APT::Periodic::Unattended-Upgrade echo "==> Enabling automatic upgrades" cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/20auto-upgrades