]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Fix install.py
authorJohn Dilley <john.dilley@citrix.com>
Mon, 16 Nov 2015 18:05:42 +0000 (18:05 +0000)
committerJohn Dilley <john.dilley@citrix.com>
Mon, 16 Nov 2015 18:05:42 +0000 (18:05 +0000)
exec/xenrt/lib/xenserver/host.py
exec/xenrt/lib/xenserver/install.py

index 66cf090348766f1ff7f1970827c671495dc297b9..98d3bc62e730f3a10228ec2d898e255a2828fad0 100755 (executable)
@@ -217,7 +217,7 @@ def createHost(id=0,
             xenrt.TEC().config.setVariable(["HOST_CONFIGS",host.getName(),"OPTION_ROOT_MPATH"],"yes")
             xenrt.TEC().config.setVariable(["HOST_CONFIGS",host.getName(),"LOCAL_SR_POST_INSTALL"],"yes")
         else:
-            xenrt.TEC().config.setVariable(["HOST_CONFIGS",host.getName(),"OPTION_ROOT_MPATH"],"")
+            xenrt.TEC().config.setVariable(["HOST_CONFIGS",host.getName(),"OPTION_ROOT_MPATH"],"no")
             xenrt.TEC().config.setVariable(["HOST_CONFIGS",host.getName(),"LOCAL_SR_POST_INSTALL"],"no")
 
     if enableAllPorts:
index f813574bacb26b108711c6cbdc4b2fc5607fcd16..98639a1a3596b2a8f933c1bd87c86aec2192982c 100644 (file)
@@ -723,7 +723,7 @@ sleep 30
             pxe.setSerial(serport, serbaud)
         if self.host.lookup("PXE_NO_PROMPT", False, boolean=True):
             pxe.setPrompt("0")
-        chain = self.getChainBoot()
+        chain = self.host.getChainBoot()
         if chain:
             pxe.addEntry("local", boot="chainlocal", options=chain)
         else: