When '-b user' is specified to lxc-ubuntu container creation template, do not automatically add all the groups of which user is a member on the host, to user's groups in the container.
Signed-off-by: Serge Hallyn <[email protected]> --- templates/lxc-ubuntu.in | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index e450dae..0b59f26 100644 --- a/templates/lxc-ubuntu.in +++ b/templates/lxc-ubuntu.in @@ -343,9 +343,6 @@ do_bindhome() fi shad=`getent shadow $user` echo $shad >> $rootfs/etc/shadow - for g in `groups $user | cut -d: -f 2-`; do - chroot $rootfs adduser $user $g - done } clean() -- 1.7.4.1 ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
