mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
units: order systemd-nspawn@.service after systemd-resolved.service
This way, the nspawn internal check whether resolved is running will succeed if it is enabled. Fixes: #4649
This commit is contained in:
parent
b053cd5f8e
commit
dec718065b
@ -10,7 +10,7 @@ Description=Container %i
|
||||
Documentation=man:systemd-nspawn(1)
|
||||
PartOf=machines.target
|
||||
Before=machines.target
|
||||
After=network.target
|
||||
After=network.target systemd-resolved.service
|
||||
|
||||
[Service]
|
||||
ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i
|
||||
|
Loading…
Reference in New Issue
Block a user