diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-12 06:32:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-31 14:30:16 +0000 |
commit | 39fd32080205aebe8a59936b9b6a76ae04b6f047 (patch) | |
tree | 5edd37d3ff17f577f58f7b1eb5aacc0393f45ce6 /share | |
parent | Adding container limit command. (diff) | |
download | compute-tools-39fd32080205aebe8a59936b9b6a76ae04b6f047.tar.xz compute-tools-39fd32080205aebe8a59936b9b6a76ae04b6f047.zip |
Adding capability and drop-capability config option.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share')
-rw-r--r-- | share/config/container.conf.in | 2 | ||||
-rw-r--r-- | share/man/container-create.1.txt | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/share/config/container.conf.in b/share/config/container.conf.in index 5b52c7d..6d91860 100644 --- a/share/config/container.conf.in +++ b/share/config/container.conf.in @@ -4,7 +4,9 @@ cnt.autostart=@CNT_AUTOSTART@ bind=@BIND@ boot=@BOOT@ +capability=@CAPABILITY@ directory=@DIRECTORY@ +drop-capability=@DROP_CAPABILITY@ machine=@MACHINE@ network-veth=@NETWORK_VETH@ network-bridge=@NETWORK_BRIDGE@ diff --git a/share/man/container-create.1.txt b/share/man/container-create.1.txt index 8d9bd06..5277f22 100644 --- a/share/man/container-create.1.txt +++ b/share/man/container-create.1.txt @@ -44,6 +44,12 @@ The following container-create options are available: *-n, --name='NAME'*:: Specify container name. +*-c, --capability='CAPABILITY'*:: + Specify capabilities to grant, see capabilities(7). + +*-d, --drop-capability='DROP_CAPABILITY'*:: + Specify capabilities to drop, see capabilities(7). + *-s, --script='SCRIPT'*:: Specify container creation script, defaults to debootstrap. |