Debian Codegraph @

dracut/30ignition/ignition-fetch-offline.service

raw
1 # This unit creates /run/ignition/neednet if networking needs to be enabled.
2 # The distro is responsible for sequencing a unit between
3 # ignition-fetch-offline.service and ignition-fetch.service, detecting the
4 # flag file with ConditionPathExists=, and enabling networking.
5
6 [Unit]
7 Description=Ignition (fetch-offline)
8 Documentation=https://coreos.github.io/ignition/
9 ConditionPathExists=/etc/initrd-release
10 DefaultDependencies=false
11 Before=ignition-complete.target
12 After=basic.target
13
14 # Stage order: fetch-offline [-> fetch] [-> kargs] -> disks -> mount -> files.
15 Before=ignition-fetch.service
16
17 OnFailure=emergency.target
18 OnFailureJobMode=isolate
19
20 [Service]
21 Type=oneshot
22 RemainAfterExit=yes
23 EnvironmentFile=/run/ignition.env
24 ExecStart=/usr/bin/ignition --root=/sysroot --platform=${PLATFORM_ID} --stage=fetch-offline