diff options
author | Simon Spöhel <simon.spoehel@open-infrastructure.net> | 2017-07-09 13:52:29 +0000 |
---|---|---|
committer | Simon Spöhel <simon.spoehel@open-infrastructure.net> | 2017-07-09 15:14:27 +0000 |
commit | b71a3b319fa347157973e45e4e08f407e2cb5d7e (patch) | |
tree | 234c9d9fdba16e7b997d4e73fc030f37510bde2e /share/config/container.nspawn.in | |
parent | Updating output of container-shell help. (diff) | |
download | compute-tools-b71a3b319fa347157973e45e4e08f407e2cb5d7e.tar.xz compute-tools-b71a3b319fa347157973e45e4e08f407e2cb5d7e.zip |
Making container-tools use nspawn files.
Diffstat (limited to 'share/config/container.nspawn.in')
-rw-r--r-- | share/config/container.nspawn.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/share/config/container.nspawn.in b/share/config/container.nspawn.in new file mode 100644 index 0000000..774df95 --- /dev/null +++ b/share/config/container.nspawn.in @@ -0,0 +1,36 @@ +# systemd-nspawn @NAME@ + +[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@ +directory=@DIRECTORY@ +link-journal=@LINK_JOURNAL@ +machine=@MACHINE@ +network-veth-extra=@NETWORK_VETH_EXTRA@ +register=@REGISTER@ + +[ContainerToolsLimit] +BlockIODeviceWeight= +BlockIOReadBandwidth= +BlockIOWeight= +BlockIOWriteBandwidth= +CPUQuota= +CPUShares= +MemoryLimit= +TasksMax= |