mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
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:
1 parent
55fa7b9d4c
commit
13340c6af2
1 file changed
+2
-3
@@ -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