no need to set root password

This commit is contained in:
Anthony Young 2011-09-13 10:43:44 -07:00
parent 6053496ebc
commit f9998abc01

View file

@ -42,12 +42,9 @@ lxc-destroy -n $CONTAINER
# Create the container # Create the container
lxc-create -n $CONTAINER -t natty -f $LXC_CONF 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/ 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 # Create a stack user that is a member of the libvirtd group so that stack
# is able to interact with libvirt. # is able to interact with libvirt.
chroot $ROOTFS groupadd libvirtd chroot $ROOTFS groupadd libvirtd