diff mbox

[OSSTEST,5/6] standalone-reset: Use suite-specific TftpDiVersion

Message ID 1458320955-2556-6-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson March 18, 2016, 5:09 p.m. UTC
If the config specifies a specific d-i version for the suite in use,
it should be honoured.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 standalone-reset |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/standalone-reset b/standalone-reset
index e58ba68..bd34782 100755
--- a/standalone-reset
+++ b/standalone-reset
@@ -97,8 +97,8 @@  else
 	ensure_dir "$tftp$tftptmp"
 
 	dibase=`getconfig TftpDiBase`
-	diver=`getconfig TftpDiVersion`
 	suite=`getconfig DebianSuite`
+	diver=`getconfig_TftpDiVersion_suite $suite`
 	firmware=`getconfig DebianNonfreeFirmware`
 
 	if [ "x$diver" = xcurrent ]; then