From ebc675839185dec5089979280e6194631a1fe68e Mon Sep 17 00:00:00 2001 From: kun zhou Date: Thu, 6 Nov 2025 14:40:40 -0800 Subject: [PATCH] exclude systemd installation/update to make it needrestart not show up --- controllers/templates/lxd_initializer_ds.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/templates/lxd_initializer_ds.yaml b/controllers/templates/lxd_initializer_ds.yaml index a0c68b3..46d6ae6 100644 --- a/controllers/templates/lxd_initializer_ds.yaml +++ b/controllers/templates/lxd_initializer_ds.yaml @@ -36,7 +36,7 @@ spec: if ! command -v lxd >/dev/null 2>&1; then echo "LXD not present, installing via snap"; apt-get update; - apt-get install -y snapd systemd; + apt-get install -y snapd; systemctl enable --now snapd.socket; snap install lxd --channel=5.0/stable; fi