Debian Codegraph @

systemd/ignition-delete-config.service

raw
1 [Unit]
2 Description=Ignition (delete config)
3 Documentation=https://coreos.github.io/ignition/
4
5 ConditionFirstBoot=true
6 ConditionPathExists=/run/ignition.env
7 ConditionKernelCommandLine=|ignition.platform.id=virtualbox
8 ConditionKernelCommandLine=|ignition.platform.id=vmware
9
10 DefaultDependencies=no
11 # Run before any user services to prevent potential config leaks
12 Before=sysinit.target
13
14 OnFailure=emergency.target
15 OnFailureJobMode=isolate
16
17 [Service]
18 Type=oneshot
19 EnvironmentFile=/run/ignition.env
20 ExecStart=/usr/libexec/ignition-rmcfg --platform=${PLATFORM_ID}
21 RemainAfterExit=yes
22
23 [Install]
24 # Not RequiredBy, since we want to allow the unit to be masked
25 WantedBy=sysinit.target