35d7b6c402
use Ignition, so just add the Ignition device dependency to the service file directly. OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=80
22 lines
603 B
Desktop File
22 lines
603 B
Desktop File
[Unit]
|
|
Description=Ignition User Config Setup
|
|
Documentation=https://build.opensuse.org/package/view_file/devel:kubic:ignition/ignition/README.SUSE?expand=1
|
|
ConditionPathExists=/etc/initrd-release
|
|
DefaultDependencies=false
|
|
|
|
# We run before config fetch because we may copy in new/different configs
|
|
# for Ignition to consume.
|
|
Before=ignition-fetch-offline.service
|
|
|
|
OnFailure=emergency.target
|
|
OnFailureJobMode=isolate
|
|
|
|
Wants=dev-disk-by\x2dlabel-ignition.device
|
|
After=dev-disk-by\x2dlabel-ignition.device
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
MountFlags=slave
|
|
ExecStart=/usr/sbin/ignition-setup-user
|