export KVMHOST as well
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 18 Nov 2011 08:50:47 +0000 (09:50 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 18 Nov 2011 08:50:47 +0000 (09:50 +0100)
system/TestPlc.py

index e938ea8..7267201 100644 (file)
@@ -352,7 +352,8 @@ class TestPlc:
         print "export PLCHOST=%s"%fqdn
         print "export GUEST=%s"%self.plc_spec['vservername']
         # find hostname of first node
-        (hostname,_) = self.all_node_infos()[0]
+        (hostname,qemubox) = self.all_node_infos()[0]
+        print "export KVMHOST=%s.%s"%(qemubox,domain)
         print "export NODE=%s"%(hostname)
         return True