From 39fd32080205aebe8a59936b9b6a76ae04b6f047 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 12 Mar 2016 07:32:19 +0100 Subject: Adding capability and drop-capability config option. Signed-off-by: Daniel Baumann --- share/config/container.conf.in | 2 ++ share/man/container-create.1.txt | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'share') 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. -- cgit v1.2.3