[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v7 11/20] osstest: introduce an OS $ho field



In order to differentiate between FreeBSD and Debian hosts.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
Changes since v6:
 - New in this version
---
 Osstest/TestSupport.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index ce475d81..7642a95b 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -983,6 +983,7 @@ sub selecthost ($) {
        $ho->{Suite} = target_var($ho, "suite") // $c{DebianSuite};
        $ho->{DiVersion} = target_var($ho, "di_version")
            // cfg_tftp_di_version($ho->{Suite});
+        $ho->{Os} = target_var($ho, "os") // "debian";
     }
 
     #----- handle hosts which are themselves guests (nested) -----
-- 
2.11.0 (Apple Git-81)


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.