diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-kernel/bootengine/0001-ignition-keep-network-around-when-umounting.patch b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-kernel/bootengine/0001-ignition-keep-network-around-when-umounting.patch new file mode 100644 index 00000000000..0ca6823414f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-kernel/bootengine/0001-ignition-keep-network-around-when-umounting.patch @@ -0,0 +1,26 @@ +From c0ec5e27fb150c5bd5853b935205a4e8041f3c76 Mon Sep 17 00:00:00 2001 +From: Mathieu Tortuyaux +Date: Thu, 12 Sep 2024 10:37:21 +0200 +Subject: [PATCH] ignition: keep network around when umounting + +--- + dracut/30ignition/ignition-mount.service | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/dracut/30ignition/ignition-mount.service b/dracut/30ignition/ignition-mount.service +index f129507..d8f703e 100644 +--- a/dracut/30ignition/ignition-mount.service ++++ b/dracut/30ignition/ignition-mount.service +@@ -10,6 +10,9 @@ Before=ignition-complete.target + # mounting. This is also guaranteed through After=initrd-root-fs.target but + # just to be explicit. + After=ignition-disks.service ++# Prevent ExecStop to be executed without network ++# as this can create issue on Ignition stage that requires network even for umounting (e.g Equinix Metal) ++After=network.target + Before=ignition-files.service + + # Make sure ExecStop= runs before we switch root +-- +2.44.2 + diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.38-r32.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.38-r33.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.38-r32.ebuild rename to sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-0.0.38-r33.ebuild