From 8febf6a365e939d4b099e425585560229c6d6c3d Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Wed, 20 Sep 2023 20:11:13 +0200 Subject: [PATCH] initrd-setup-root-after-ignition: Enable networking before the download For the OEM extension fallback download the networking was enabled, for the "official" Flatcar extension download not. Enable networkd and resolved like done for the OEM extension download. --- dracut/99setup-root/initrd-setup-root-after-ignition | 1 + 1 file changed, 1 insertion(+) diff --git a/dracut/99setup-root/initrd-setup-root-after-ignition b/dracut/99setup-root/initrd-setup-root-after-ignition index 357fbe1..37ea6ca 100755 --- a/dracut/99setup-root/initrd-setup-root-after-ignition +++ b/dracut/99setup-root/initrd-setup-root-after-ignition @@ -129,6 +129,7 @@ for NAME in $(grep -h -o '^[^#]*' /sysroot/etc/flatcar/enabled-sysext.conf /sysr ACTIVE_EXT="/etc/flatcar/sysext/flatcar-${NAME}-${VERSION}.raw" if [ ! -e "/sysroot/${ACTIVE_EXT}" ]; then echo "Did not find ${ACTIVE_EXT}" >&2 + systemctl start --quiet systemd-networkd systemd-resolved download_and_verify "flatcar-${NAME}.raw" mv "/sysroot/flatcar-${NAME}.raw" "/sysroot/${ACTIVE_EXT}" fi