From a2938a3515781cf2b1351d4a9dc0cc7faf011bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Sat, 11 May 2024 15:18:01 +0200 Subject: [PATCH] Disable automatic apt update on live --- os/layers/live/hooks/live/2005-live.hook.chroot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/layers/live/hooks/live/2005-live.hook.chroot b/os/layers/live/hooks/live/2005-live.hook.chroot index 7398a8d..77fca84 100644 --- a/os/layers/live/hooks/live/2005-live.hook.chroot +++ b/os/layers/live/hooks/live/2005-live.hook.chroot @@ -4,3 +4,7 @@ set -eu # Enable the live system configuration script at boot. systemctl enable live-config.service + +# Disable automatic apt update. +systemctl disable apt-daily.timer +systemctl disable apt-daily-upgrade.timer