diff --git a/templates/lxc-local.in b/templates/lxc-local.in index 20c0c35c3..552a4946d 100644 --- a/templates/lxc-local.in +++ b/templates/lxc-local.in @@ -69,7 +69,8 @@ LXC internal arguments (do not pass manually!): [ --name ]: The container name [ --path ]: The path to the container [ --rootfs ]: The path to the container's rootfs - +[ --mapped-uid ]: A uid map (user namespaces) +[ --mapped-gid ]: A gid map (user namespaces) EOF return 0 } @@ -88,6 +89,8 @@ while :; do --rootfs) LXC_ROOTFS="$2"; shift 2;; -m|--metadata) LXC_CONFIG="$2"; shift 2;; -f|--fstree) LXC_FSTREE="$2"; shift 2;; + --mapped-uid) LXC_MAPPED_UID="$2"; shift 2;; + --mapped-gid) LXC_MAPPED_GID="$2"; shift 2;; *) break;; esac done