From: John Dilley Date: Mon, 16 Nov 2015 18:05:42 +0000 (+0000) Subject: Fix install.py X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=241489709450830b6d25a199e5281abc558e9c95;p=xenrt-citrix%2Fxenrt.git Fix install.py --- diff --git a/exec/xenrt/lib/xenserver/host.py b/exec/xenrt/lib/xenserver/host.py index 66cf09034..98d3bc62e 100755 --- a/exec/xenrt/lib/xenserver/host.py +++ b/exec/xenrt/lib/xenserver/host.py @@ -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: diff --git a/exec/xenrt/lib/xenserver/install.py b/exec/xenrt/lib/xenserver/install.py index f813574ba..98639a1a3 100644 --- a/exec/xenrt/lib/xenserver/install.py +++ b/exec/xenrt/lib/xenserver/install.py @@ -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: