Skip to content

Commit

Permalink
ubuntu: Force systemctl to work on filesystem only
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 219e884 commit e52737a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 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
systemctl enable systemd-networkd --root=/
# Disable UA attach
systemctl mask ua-auto-attach
systemctl mask ua-auto-attach --root=/
- trigger: post-packages
action: |-
Expand Down Expand Up @@ -727,7 +727,8 @@ actions:
[Install]
WantedBy=default.target
EOF
systemctl enable incus-growpart
systemctl enable incus-growpart --root=/
types:
- vm
variants:
Expand All @@ -740,7 +741,7 @@ actions:
set -eux
# Disable location service
systemctl mask geoclue.service || true
systemctl mask geoclue.service --root=/
# Timezone
rm -f /etc/localtime
Expand Down

0 comments on commit e52737a

Please sign in to comment.