Skip to content

Commit

Permalink
sys-kernel/bootengine: pull ignition changes
Browse files Browse the repository at this point in the history
this pulls Ignition reordering to fix Equinix Metal issues.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
  • Loading branch information
tormath1 committed Sep 12, 2024
1 parent b031f0b commit 0daa718
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From c0ec5e27fb150c5bd5853b935205a4e8041f3c76 Mon Sep 17 00:00:00 2001
From: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
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

0 comments on commit 0daa718

Please sign in to comment.