]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
ts-debian-di-install: Use the suite in the default hostname
authorIan Campbell <ian.campbell@citrix.com>
Thu, 13 Aug 2015 16:52:38 +0000 (17:52 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 4 Sep 2015 11:09:48 +0000 (12:09 +0100)
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 <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-debian-di-install

index eef46811474a19d7c015cddbc4437aa90bca5a8e..990569159297235019cc17c9ee941ba9b941c4f5 100755 (executable)
@@ -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 () {