From f9998abc01d1ad7069d9762ee5c18af942bf0b8e Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 13 Sep 2011 10:43:44 -0700 Subject: [PATCH] no need to set root password --- build_lxc.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build_lxc.sh b/build_lxc.sh index ba26f4f..4b10afc 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -42,12 +42,9 @@ lxc-destroy -n $CONTAINER # Create the container lxc-create -n $CONTAINER -t natty -f $LXC_CONF -# Specify where our container lives +# Specify where our container rootfs lives ROOTFS=/var/lib/lxc/$CONTAINER/rootfs/ -# set root password to password -echo root:pass | chroot $ROOTFS chpasswd - # Create a stack user that is a member of the libvirtd group so that stack # is able to interact with libvirt. chroot $ROOTFS groupadd libvirtd