mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
units: register vmspawn VMs started via systemd-vmspawn@.service by default with machined
This commit is contained in:
parent
ecc4287dee
commit
ec67cc9785
@ -16,7 +16,7 @@ After=network.target modprobe@tun.service
|
||||
RequiresMountsFor=/var/lib/machines/%i
|
||||
|
||||
[Service]
|
||||
ExecStart=systemd-vmspawn --quiet --network-tap --machine=%i
|
||||
ExecStart=systemd-vmspawn --quiet --register=yes --keep-unit --network-tap --machine=%i
|
||||
KillMode=mixed
|
||||
Type=notify
|
||||
Slice=machine.slice
|
||||
|
Loading…
Reference in New Issue
Block a user