Skip to content

Commit

Permalink
images: Remove systemctl workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Jun 28, 2024
1 parent e4c9798 commit b936aa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions images/mint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ actions:
set -eux
# Enable systemd-networkd
systemctl enable systemd-networkd --root=/
systemctl enable systemd-networkd
- trigger: post-packages
action: |-
Expand All @@ -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
8 changes: 4 additions & 4 deletions images/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand Down Expand Up @@ -728,7 +728,7 @@ actions:
WantedBy=default.target
EOF
systemctl enable incus-growpart --root=/
systemctl enable incus-growpart
types:
- vm
variants:
Expand All @@ -741,7 +741,7 @@ actions:
set -eux
# Disable location service
systemctl mask geoclue.service --root=/
systemctl mask geoclue.service
# Timezone
rm -f /etc/localtime
Expand Down

0 comments on commit b936aa2

Please sign in to comment.