mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-02-05 09:45:30 +01:00
tree: import changes from testing-devel at e305450a52
This commit is contained in:
@@ -3,6 +3,10 @@ Description=CoreOS Mark Ignition Boot Complete
|
||||
Documentation=https://docs.fedoraproject.org/en-US/fedora-coreos/
|
||||
ConditionKernelCommandLine=ignition.firstboot
|
||||
ConditionPathExists=!/run/ostree-live
|
||||
# This condition is required for cases where a soft-reboot is issued on the
|
||||
# firstboot. Soft reboot do not change the kernel or its command-line arguments,
|
||||
# which would cause this service to fail after the soft-reboot completes.
|
||||
ConditionPathExists=/boot/ignition.firstboot
|
||||
RequiresMountsFor=/boot
|
||||
|
||||
[Service]
|
||||
|
||||
@@ -11,7 +11,7 @@ After=afterburn-sshkeys.target
|
||||
# before Ignition/Afterburn started logging structured data don't
|
||||
# get misleading messages. Also handles the case where the journal
|
||||
# gets rotated and no longer has the structured log messages.
|
||||
ConditionKernelCommandLine=ignition.firstboot
|
||||
ConditionFirstBoot=true
|
||||
# Run before user sessions to avoid reloading agetty
|
||||
Before=systemd-user-sessions.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user