From 6650fe446c6f99923dd6beff7d7cd7f2899b1a43 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 3efec98..119c89d 100755 --- a/dracut/99setup-root/initrd-setup-root-after-ignition +++ b/dracut/99setup-root/initrd-setup-root-after-ignition @@ -130,6 +130,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