From: Ian Campbell Date: Thu, 13 Aug 2015 16:52:38 +0000 (+0100) Subject: ts-debian-di-install: Use the suite in the default hostname X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0c8ef6db960e8dcb6114cd7e9450d7fc23ea4b30;p=people%2Fdariof%2Fosstest.git ts-debian-di-install: Use the suite in the default hostname By appending ".$suite" if the suite is in the runvars. This is more useful in standalone mode than having everything be "debian". Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- diff --git a/ts-debian-di-install b/ts-debian-di-install index eef4681..9905691 100755 --- a/ts-debian-di-install +++ b/ts-debian-di-install @@ -66,7 +66,9 @@ our $ho= selecthost($whhost); our $ram_mb= 512; our $disk_mb= 10000; -our $guesthost= "$gn.guest.osstest"; +our $guesthost= $gn. + ($r{"${gn}_suite"} ? ".".$r{"${gn}_suite"} : ""). + ".guest.osstest"; our $gho; sub prep () {