This more likely matches the callers intention.
Move the setting into production-config* alongside the Suite and
TftpDiVersion settings. Continue to support $DEBIAN_IMAGE_VERSION as an
override. The value for Wheezy is from what was replaced
in
610ea1628363 "Switch to Debian 8.0 (jessie) as OS for test hosts".
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
usual_debianhvm_image () {
local arch=$1; shift
- echo debian-${DEBIAN_IMAGE_VERSION-8.2.0}-$arch-CD-1.iso
+ local ver=$DEBIAN_IMAGE_VERSION
+ if [ -z "$ver" ] ; then
+ ver=`getconfig DebianImageVersion_$guestsuite`
+ fi
+ echo debian-$ver-$arch-CD-1.iso
}
# Iterate over xenarch, dom0arch and kernel calling test_matrix_do_one
TftpDiVersion_wheezy 2015-09-07
TftpDiVersion_jessie 2016-01-24
+# For ISO installs
+DebianImageVersion_wheezy 7.2.0
+DebianImageVersion_jessie 8.2.0
+
# These should normally be the same.
# Update with ./mg-cpu-microcode-update
MicrocodeUpdateAmd64 microcode.x86.2015-06-12.cpio
TftpDiVersion_wheezy 2015-09-07
TftpDiVersion_jessie 2016-01-24
+# For ISO installs
+DebianImageVersion_wheezy 7.2.0
+DebianImageVersion_jessie 8.2.0
+
# These should normally be the same.
MicrocodeUpdateAmd64 microcode.x86.2015-06-12.cpio
MicrocodeUpdateI386 microcode.x86.2015-06-12.cpio