diff --git a/dracut/30ignition/ignition-mount.service b/dracut/30ignition/ignition-mount.service index f129507..5476dba 100644 --- a/dracut/30ignition/ignition-mount.service +++ b/dracut/30ignition/ignition-mount.service @@ -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