Skip to content

Commit

Permalink
Merge pull request #99 from flatcar/tormath1/ignition
Browse files Browse the repository at this point in the history
ignition: keep network around when umounting
  • Loading branch information
tormath1 authored Sep 16, 2024
2 parents d2e2212 + 52a641e commit f3c80fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dracut/30ignition/ignition-mount.service
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ After=ignition-disks.service
Before=ignition-files.service

# Make sure ExecStop= runs before we switch root
# and that we order ourselves after network such that
# if networking is brought up it will still be available
# for our ExecStop= command. On some providers like Equinix
# Metal (Packet) there is a network callback sent out
# for each Ignition stage (including umount).
Before=initrd-switch-root.target
After=network.target

OnFailure=emergency.target
OnFailureJobMode=isolate
Expand Down

0 comments on commit f3c80fb

Please sign in to comment.