mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +02:00
Merge pull request #1476 from vcaputo/order_network
sys-apps/ignition: move network depdencies to ignition-disks.service
This commit is contained in:
commit
48f994468c
@ -8,6 +8,14 @@ Before=local-fs-pre.target
|
||||
Requires=mnt-oem.mount
|
||||
After=mnt-oem.mount
|
||||
|
||||
# setup networking
|
||||
Wants=initrd-systemd-networkd.service
|
||||
After=initrd-systemd-networkd.service
|
||||
|
||||
# generate resolv.conf
|
||||
Wants=initrd-systemd-resolved.service
|
||||
After=initrd-systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
TimeoutStartSec=30s
|
||||
|
@ -9,6 +9,14 @@ After=initrd-root-fs.target
|
||||
Requires=mnt-oem.mount
|
||||
After=mnt-oem.mount
|
||||
|
||||
# setup networking
|
||||
Wants=initrd-systemd-networkd.service
|
||||
After=initrd-systemd-networkd.service
|
||||
|
||||
# generate resolv.conf
|
||||
Wants=initrd-systemd-resolved.service
|
||||
After=initrd-systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
TimeoutStartSec=30s
|
||||
|
@ -10,11 +10,3 @@ After=ignition-disks.service
|
||||
|
||||
Requires=ignition-files.service
|
||||
After=ignition-files.service
|
||||
|
||||
# setup networking
|
||||
Requires=initrd-systemd-networkd.service
|
||||
After=initrd-systemd-networkd.service
|
||||
|
||||
# generate resolv.conf
|
||||
Requires=initrd-systemd-resolved.service
|
||||
After=initrd-systemd-resolved.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user