Move the ubuntu template generator to use Squeeze.

Newer versions of XenServer don't have lenny templates, so moving
to use Squeeze.

Change-Id: I95473d4cdc6caad86bc53799fe2ecbedd9223026
This commit is contained in:
John Garbutt 2012-05-25 12:55:29 +01:00
parent 4ffbe0bd60
commit 37826bc8c8

View File

@ -8,10 +8,10 @@
BASE_DIR=$(cd $(dirname "$0") && pwd) BASE_DIR=$(cd $(dirname "$0") && pwd)
source $BASE_DIR/../../../localrc source $BASE_DIR/../../../localrc
LENNY=$(xe template-list name-label=Debian\ Lenny\ 5.0\ \(32-bit\) --minimal) LENNY=$(xe template-list name-label=Debian\ Squeeze\ 6.0\ \(32-bit\) --minimal)
if [[ -z $LENNY ]] ; then if [[ -z $LENNY ]] ; then
echo "Cant find lenny 32bit template, is this on 6.0.2?" echo "Cant find Squeeze 32bit template."
exit 1 exit 1
fi fi