Fabian Vogt
08878d84e8
- Support the dracut network-manager module - Remove /var/lib/YaST2/reconfig_system on successful runs OBS-URL: https://build.opensuse.org/request/show/959824 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/combustion?expand=0&rev=24
33 lines
1.0 KiB
Desktop File
33 lines
1.0 KiB
Desktop File
[Unit]
|
|
Description=Combustion (preparations)
|
|
DefaultDependencies=false
|
|
|
|
# Systemd evaluates Requires/After before conditions, so this unit is pulled in
|
|
# even when combustion.service won't run.
|
|
ConditionKernelCommandLine=|ignition.firstboot
|
|
ConditionKernelCommandLine=|combustion.firstboot
|
|
|
|
# Config drive has to be available
|
|
Wants=dev-combustion-config.device
|
|
After=dev-combustion-config.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 (wicked)
|
|
# or has its own service (NM)
|
|
Before=dracut-initqueue.service nm-initrd.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
|