summaryrefslogtreecommitdiffstats
path: root/share/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/config/container.nspawn.in (renamed from share/config/container.conf.in)28
1 files changed, 18 insertions, 10 deletions
diff --git a/share/config/container.conf.in b/share/config/container.nspawn.in
index 322e2c9..774df95 100644
--- a/share/config/container.conf.in
+++ b/share/config/container.nspawn.in
@@ -1,23 +1,31 @@
-# container-tools: @NAME@
+# systemd-nspawn @NAME@
-[start]
+[Exec]
+Boot=@BOOT@
+Capability=@CAPABILITY@
+DropCapability=@DROP_CAPABILITY@
+PrivateUsers=@PRIVATE_USERS@
+
+[Files]
+Bind=@BIND@
+BindReadOnly=@BIND_RO@
+Overlay=@CNT_OVERLAY@
+
+[Network]
+VirtualEthernetExtra=
+
+# open-infrastructure-container-tools extension
+[ContainerToolsStart]
cnt.auto=@CNT_AUTO@
cnt.container-server=@CNT_CONTAINER_SERVER@
cnt.network-bridge=@CNT_NETWORK_BRIDGE@
-cnt.overlay=@CNT_OVERLAY@
-bind=@BIND@
-bind-ro=@BIND_RO@
-boot=@BOOT@
-capability=@CAPABILITY@
directory=@DIRECTORY@
-drop-capability=@DROP_CAPABILITY@
link-journal=@LINK_JOURNAL@
machine=@MACHINE@
network-veth-extra=@NETWORK_VETH_EXTRA@
-private-users=@PRIVATE_USERS@
register=@REGISTER@
-[limit]
+[ContainerToolsLimit]
BlockIODeviceWeight=
BlockIOReadBandwidth=
BlockIOWeight=