need a !
This commit is contained in:
parent
52d019b1d2
commit
40f8d16a60
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fi
|
|||
|
||||
# Warm the base image on first install
|
||||
CACHEDIR=/var/cache/lxc/natty/rootfs-amd64
|
||||
if [ -d $CACHEDIR ]; then
|
||||
if [ ! -d $CACHEDIR ]; then
|
||||
# trigger the initial debootstrap
|
||||
lxc-create -n $CONTAINER -t natty -f $LXC_CONF
|
||||
chroot $CACHEDIR apt-get update
|
||||
|
|
Loading…
Reference in a new issue