Specify trusty release when creating VMs with uvt-kvm
diff --git a/scripts/create-vms-cord.sh b/scripts/create-vms-cord.sh
index 10c69d8..a0af3ed 100755
--- a/scripts/create-vms-cord.sh
+++ b/scripts/create-vms-cord.sh
@@ -27,9 +27,9 @@
if $TESTING
then
# Don't use mgmtbr for testing
- uvt-kvm create $NAME --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB
+ uvt-kvm create $NAME release=trusty --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB
else
- uvt-kvm create $NAME --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB --bridge mgmtbr
+ uvt-kvm create $NAME release=trusty --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB --bridge mgmtbr
fi
# uvt-kvm wait --insecure $NAME
fi
diff --git a/scripts/create-vms.sh b/scripts/create-vms.sh
index dba3099..1f1c789 100755
--- a/scripts/create-vms.sh
+++ b/scripts/create-vms.sh
@@ -8,7 +8,7 @@
uvt-kvm list | grep $1
if [ "$?" -ne "0" ]
then
- uvt-kvm create $NAME --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB
+ uvt-kvm create $NAME release=trusty --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB
uvt-kvm wait --insecure $NAME
fi
}