no need to set root password

main
Anthony Young 13 years ago
parent 6053496ebc
commit f9998abc01

@ -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

Loading…
Cancel
Save