From b936aa2e7601cbb5ad33539425e7287609c7475d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 28 Jun 2024 15:14:58 -0400 Subject: [PATCH] images: Remove systemctl workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- images/mint.yaml | 4 ++-- images/ubuntu.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/images/mint.yaml b/images/mint.yaml index 8eed2a4cd..399fd00e6 100644 --- a/images/mint.yaml +++ b/images/mint.yaml @@ -405,7 +405,7 @@ actions: set -eux # Enable systemd-networkd - systemctl enable systemd-networkd --root=/ + systemctl enable systemd-networkd - trigger: post-packages action: |- @@ -425,7 +425,7 @@ actions: rm /etc/*- # Disable systemd timers and service files which fail - systemctl disable ua-timer.timer --root=/ + systemctl disable ua-timer.timer mappings: architecture_map: debian diff --git a/images/ubuntu.yaml b/images/ubuntu.yaml index 6ff5f3f96..26e433ba4 100644 --- a/images/ubuntu.yaml +++ b/images/ubuntu.yaml @@ -654,10 +654,10 @@ actions: set -eux # Enable systemd-networkd - systemctl enable systemd-networkd --root=/ + systemctl enable systemd-networkd # Disable UA attach - systemctl mask ua-auto-attach --root=/ + systemctl mask ua-auto-attach - trigger: post-packages action: |- @@ -728,7 +728,7 @@ actions: WantedBy=default.target EOF - systemctl enable incus-growpart --root=/ + systemctl enable incus-growpart types: - vm variants: @@ -741,7 +741,7 @@ actions: set -eux # Disable location service - systemctl mask geoclue.service --root=/ + systemctl mask geoclue.service # Timezone rm -f /etc/localtime