]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
host props: support "fqdn"
authorIan Jackson <iwj@woking.cam.xci-test.com>
Mon, 28 Jan 2013 18:00:21 +0000 (18:00 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Tue, 29 Jan 2013 11:20:35 +0000 (11:20 +0000)
Osstest.pm

index 2ed26fe9ec72d8643aacd1c65c89062a5056c6ba..c954ed3e3de56a38db1fb7a6dba0c8155aa19f19 100644 (file)
@@ -1693,7 +1693,6 @@ sub selecthost ($) {
         Ident => $ident,
         Name => $name,
         TcpCheckPort => 22,
-        Fqdn => "$name.$c{TestHostDomain}",
         Info => [],
         Suite => get_runvar_default("${ident}_suite",$job,$c{Suite}),
     };
@@ -1713,6 +1712,7 @@ END
     $ho->{Power}= get_host_property($ho,'power-method');
     $ho->{DiskDevice}= get_host_property($ho,'disk-device');
     $ho->{DhcpLeases}= get_host_property($ho,'dhcp-leases',$c{Dhcp3Leases});
+    $ho->{Fqdn}= get_host_property($ho,'fqdn',"$name.$c{TestHostDomain}");
 
     if (!$ho->{Ether} || !$ho->{Power}) {
         my $dbh_config= opendb('configdb');