From 29c7b2f477ee40f340c4bde9772690759a76934d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 23 Sep 2023 19:29:30 +0300 Subject: fix: make bookworm image boot faster systemd-networkd times out waiting for network interfaces to come up, not noticing that ifupdown has already done that. Drop ifupdown, use systemd-networkd only, drops boot speed from 2m26s to 36s. Sponsored-by: author --- base-image/bookworm-vm.vmdb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'base-image') diff --git a/base-image/bookworm-vm.vmdb b/base-image/bookworm-vm.vmdb index 87539aa..95db015 100644 --- a/base-image/bookworm-vm.vmdb +++ b/base-image/bookworm-vm.vmdb @@ -35,9 +35,13 @@ steps: - cache-rootfs: / unless: rootfs_unpacked + - copy-file: /etc/systemd/network/eth0.network + src: eth0.network + - chroot: / shell: | - apt -y install python3 parted acpi + apt-get -y install python3 parted acpi + apt-get purge -y ifupdown - fstab: / -- cgit v1.2.1