summaryrefslogtreecommitdiff
path: root/base-image
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-11-11 10:08:34 +0200
committerLars Wirzenius <liw@liw.fi>2023-11-11 10:08:34 +0200
commit883b16a79b4df77bd707b77aa196ee7f0cbe58e6 (patch)
tree53f1fb99577e75e957f34bb62978b9b1fcec670d /base-image
parent47a6284dfab0b5bd18987ed5757a1ecd8f3dfa09 (diff)
downloadansibleness-883b16a79b4df77bd707b77aa196ee7f0cbe58e6.tar.gz
let cloud-init setup network for bookworm, too
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
Diffstat (limited to 'base-image')
-rw-r--r--base-image/base-image.yml1
-rw-r--r--base-image/bookworm-vm.vmdb3
2 files changed, 0 insertions, 4 deletions
diff --git a/base-image/base-image.yml b/base-image/base-image.yml
index 9033b5a..d53df26 100644
--- a/base-image/base-image.yml
+++ b/base-image/base-image.yml
@@ -22,7 +22,6 @@
- shell: |
apt clean
sed -i 's/^root:[^:]*:/root::/' /etc/shadow /etc/passwd
- rm -f /etc/systemd/network/10-cloud-init-eth0.network
vars:
hostname: bullseye
ansible_python_interpreter: /usr/bin/python3
diff --git a/base-image/bookworm-vm.vmdb b/base-image/bookworm-vm.vmdb
index 0e3a047..3f8e0c1 100644
--- a/base-image/bookworm-vm.vmdb
+++ b/base-image/bookworm-vm.vmdb
@@ -35,9 +35,6 @@ steps:
- cache-rootfs: /
unless: rootfs_unpacked
- - copy-file: /etc/systemd/network/eth0.network
- src: eth0.network
-
- chroot: /
shell: |
apt-get -y install python3 parted acpi