mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +02:00
sys-apps/ignition: ignition-files requires initrd-setup-root.service
ignition-files can do things like add users and ssh keys, we use shadowutils to do this which requires a minimally setup root filesystem. Since ignition-disks might completely wipe the root filesystem, initrd-setup-root must run to get us boot-strapped.
This commit is contained in:
parent
82bc643428
commit
c3674e3d1d
@ -9,6 +9,13 @@ After=initrd-root-fs.target
|
||||
Requires=mnt-oem.mount
|
||||
After=mnt-oem.mount
|
||||
|
||||
Requires=ignition-disks.service
|
||||
After=ignition-disks.service
|
||||
|
||||
# setup the root filesystem before we try do things like create users on it.
|
||||
Requires=initrd-setup-root.service
|
||||
After=initrd-setup-root.service
|
||||
|
||||
# setup networking
|
||||
Wants=initrd-systemd-networkd.service
|
||||
After=initrd-systemd-networkd.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user