combustion/combustion-prepare.service
Ignaz Forster a22939cb1d Accepting request 834260 from home:fos:branches:devel:kubic:ignition
- Avoid concurrent run of Ignition and Combustion initialization
  scripts to a avoid a duplicate mount of the same device.

OBS-URL: https://build.opensuse.org/request/show/834260
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/combustion?expand=0&rev=5
2020-09-14 09:24:15 +00:00

29 lines
819 B
Desktop File

[Unit]
Description=Combustion (preparations)
DefaultDependencies=false
ConditionKernelCommandLine=ignition.firstboot
# Config drive has to be available
Wants=dev-disk-by\x2dlabel-ignition.device
After=dev-disk-by\x2dlabel-ignition.device
# If both Ignition and Combustion are active make sure to run their
# configuration scripts sequentially, as both try to mount the configuration
# device
After=ignition-setup-user.service
# This reconfigures networking, which runs during the initqueue
Before=dracut-initqueue.service
Conflicts=initrd-switch-root.target umount.target
Conflicts=dracut-emergency.service emergency.service emergency.target
# Without this it goes into an endless loop on failure
OnFailure=emergency.target
OnFailureJobMode=isolate
[Service]
Type=oneshot
ExecStart=/usr/bin/combustion --prepare