summaryrefslogtreecommitdiffstats
path: root/units/systemd-nspawn@.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-22 14:12:27 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-25 12:16:03 +0200
commitaf88764ff8fb64ff0762b0efd8856439c3e77988 (patch)
tree49bcf1f07e960de7169edbf3fe32f90ecfa4e926 /units/systemd-nspawn@.service.in
parentnspawn: make -U a tiny bit smarter (diff)
downloadsystemd-af88764ff8fb64ff0762b0efd8856439c3e77988.tar.xz
systemd-af88764ff8fb64ff0762b0efd8856439c3e77988.zip
units: turn on user namespace by default in systemd-nspawn@.service
Now that user namespacing is supported in a pretty automatic way, actually turn it on by default if the systemd-nspawn@.service template is used.
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r--units/systemd-nspawn@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index 1927c4d485..ea28941507 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -13,7 +13,7 @@ Before=machines.target
After=network.target
[Service]
-ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth --settings=override --machine=%i
+ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i
KillMode=mixed
Type=notify
RestartForceExitStatus=133