diff --git a/build.sh b/build.sh index 2918db5..2fc11e8 100755 --- a/build.sh +++ b/build.sh @@ -43,12 +43,10 @@ systemctl --root=$mnt disable tpm-udev.path # Slice rootfs config out of fstab, since LABEL=cloudimg-rootfs doesn't exist in the container environment and systemd-remount-fs.service complains about not being able to find it chroot $mnt /bin/sed -i '/LABEL=cloudimg-rootfs/d' /etc/fstab -# Networking setup is expected to not actually cross a network boundary (i.e. only talk to the container host), so decrease the timeout because all operations here should be fast -mkdir $mnt/etc/systemd/system/systemd-networkd-wait-online.service.d/ -cat > $mnt/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf < $mnt/etc/systemd/system/ssh-hostkey-generate.service <