# This unit creates /run/ignition/neednet if networking needs to be enabled. # The distro is responsible for sequencing a unit between # ignition-fetch-offline.service and ignition-fetch.service, detecting the # flag file with ConditionPathExists=, and enabling networking. [Unit] Description=Ignition (fetch-offline) Documentation=https://coreos.github.io/ignition/ ConditionPathExists=/etc/initrd-release DefaultDependencies=false Before=ignition-complete.target After=basic.target # Stage order: fetch-offline [-> fetch] [-> kargs] -> disks -> mount -> files. Before=ignition-fetch.service OnFailure=emergency.target OnFailureJobMode=isolate [Service] Type=oneshot RemainAfterExit=yes EnvironmentFile=/run/ignition.env ExecStart=/usr/bin/ignition --root=/sysroot --platform=${PLATFORM_ID} --stage=fetch-offline