Use lxc-create for building wheezy base boxes as it seems that the downloaded container is having some trouble with apt repositories

This commit is contained in:
Fabio Rehm 2014-09-23 00:31:10 -03:00
parent 8f522c7127
commit 81bf2e6090

View file

@ -30,7 +30,7 @@ if [ $RELEASE = 'raring' ]; then
utils.lxc.create -t ubuntu -- \
--release ${RELEASE} \
--arch ${ARCH}
elif [ $RELEASE = 'squeeze' ]; then
elif [ $RELEASE = 'squeeze' ] || [ $RELEASE = 'wheezy' ]; then
utils.lxc.create -t debian -- \
--release ${RELEASE} \
--arch ${ARCH}