This commit is contained in:
Anthony Young 2011-09-14 10:20:14 -07:00
parent 52d019b1d2
commit 40f8d16a60

View file

@ -51,7 +51,7 @@ fi
# Warm the base image on first install # Warm the base image on first install
CACHEDIR=/var/cache/lxc/natty/rootfs-amd64 CACHEDIR=/var/cache/lxc/natty/rootfs-amd64
if [ -d $CACHEDIR ]; then if [ ! -d $CACHEDIR ]; then
# trigger the initial debootstrap # trigger the initial debootstrap
lxc-create -n $CONTAINER -t natty -f $LXC_CONF lxc-create -n $CONTAINER -t natty -f $LXC_CONF
chroot $CACHEDIR apt-get update chroot $CACHEDIR apt-get update