mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Merge pull request #1389 from vcaputo/ignition-networkd
Ignition networkd integration
This commit is contained in:
commit
823c03873f
@ -1,8 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Ignition
|
Description=Ignition
|
||||||
DefaultDependencies=false
|
DefaultDependencies=false
|
||||||
Conflicts=initrd-switch-root.target
|
|
||||||
Before=initrd-switch-root.target
|
|
||||||
|
|
||||||
Requires=local-fs-pre.target
|
Requires=local-fs-pre.target
|
||||||
Before=local-fs-pre.target
|
Before=local-fs-pre.target
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Ignition
|
Description=Ignition
|
||||||
DefaultDependencies=false
|
DefaultDependencies=false
|
||||||
Conflicts=initrd-switch-root.target
|
|
||||||
Before=initrd-switch-root.target
|
Before=initrd-switch-root.target
|
||||||
|
|
||||||
Requires=initrd-root-fs.target
|
Requires=initrd-root-fs.target
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
DefaultDependencies=false
|
DefaultDependencies=false
|
||||||
Conflicts=initrd-switch-root.target
|
|
||||||
Before=initrd-switch-root.target
|
Before=initrd-switch-root.target
|
||||||
|
|
||||||
OnFailure=emergency.target
|
OnFailure=emergency.target
|
||||||
@ -12,5 +11,10 @@ After=ignition-disks.service
|
|||||||
Requires=ignition-files.service
|
Requires=ignition-files.service
|
||||||
After=ignition-files.service
|
After=ignition-files.service
|
||||||
|
|
||||||
Requires=systemd-networkd.service
|
# setup networking
|
||||||
After=systemd-networkd.service
|
Requires=initrd-systemd-networkd.service
|
||||||
|
After=initrd-systemd-networkd.service
|
||||||
|
|
||||||
|
# generate resolv.conf
|
||||||
|
Requires=initrd-systemd-resolved.service
|
||||||
|
After=initrd-systemd-resolved.service
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
DefaultDependencies=false
|
DefaultDependencies=false
|
||||||
Conflicts=initrd-switch-root.target
|
|
||||||
Before=initrd-switch-root.target
|
Before=initrd-switch-root.target
|
||||||
|
|
||||||
[Mount]
|
[Mount]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user