Skip to content

Commit

Permalink
Update dracut/30ignition/ignition-mount.service
Browse files Browse the repository at this point in the history
Co-authored-by: Dusty Mabe <[email protected]>
  • Loading branch information
tormath1 and dustymabe authored Sep 13, 2024
1 parent 7b08be4 commit 2d278e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dracut/30ignition/ignition-mount.service
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ After=ignition-disks.service
Before=ignition-files.service

# Make sure ExecStop= runs before we switch root
# and that network is enabled for provider with a network dependency
# like Equinix Metal (Packet)
# 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

Expand Down

0 comments on commit 2d278e9

Please sign in to comment.