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.campb...@citrix.com>
---
v2: Keep using gn but append the suite if given. Not sure what the
    best syntax for that ($x ? ".$x " : "") is.
---
 ts-debian-di-install | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 () {
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to