Revert "units: drop After=network-online.target from imds services"
IMDS access requires networking, hence we need to run after
network-online.target. Everything else would be racy and result in
likely timeouts, because we might try to contact the network too early.
This reverts commit 3f33f4d057.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
55fa7b9d4c
commit
13340c6af2
@@ -11,10 +11,9 @@
|
||||
Description=Import System Credentials from IMDS
|
||||
Documentation=man:systemd-imds(1)
|
||||
Documentation=man:systemd.system-credentials(7)
|
||||
|
||||
DefaultDependencies=no
|
||||
Wants=systemd-imdsd.socket
|
||||
After=systemd-imdsd.socket
|
||||
Wants=systemd-imdsd.socket network-online.target
|
||||
After=systemd-imdsd.socket network-online.target
|
||||
Before=sysinit.target systemd-firstboot.service
|
||||
Conflicts=shutdown.target
|
||||
Before=shutdown.target
|
||||
|
||||
Reference in New Issue
Block a user