Suppression du paramètre -U dans le service afin de lancer les conteneurs en mode privilégié par défaut.

master
ycharbi 4 years ago
parent ec62b4c20e
commit 3c3b8fdede

@ -19,7 +19,7 @@ RequiresMountsFor=/var/lib/machines/%i
[Service] [Service]
# Make sure the DeviceAllow= lines below can properly resolve the 'block-loop' expression (and others) # Make sure the DeviceAllow= lines below can properly resolve the 'block-loop' expression (and others)
ExecStartPre=/etc/systemd/nspawn/ifup.sh %i ExecStartPre=/etc/systemd/nspawn/ifup.sh %i
ExecStart=systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i ExecStart=systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth --settings=override --machine=%i
ExecStopPost=/etc/systemd/nspawn/ifdown.sh %i ExecStopPost=/etc/systemd/nspawn/ifdown.sh %i
KillMode=mixed KillMode=mixed
Type=notify Type=notify

Loading…
Cancel
Save