From f21c93a10cd9394043d6e9622d071115b9ddad47 Mon Sep 17 00:00:00 2001 From: John Dilley Date: Tue, 17 Nov 2015 15:46:18 +0000 Subject: [PATCH] Add comments --- exec/xenrt/lib/xenserver/host.py | 2 +- exec/xenrt/lib/xenserver/install.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/xenrt/lib/xenserver/host.py b/exec/xenrt/lib/xenserver/host.py index 8cb82a525..567ed273d 100755 --- a/exec/xenrt/lib/xenserver/host.py +++ b/exec/xenrt/lib/xenserver/host.py @@ -1007,7 +1007,7 @@ class Host(xenrt.GenericHost): interfaceconfig = "" otherconfigs = "" - # If we want to create the Local SR manually, set up the firstboot script here + # If we use multipathed root disk, but want to put the local SR on a local disk, we need to set this up manually firstBootSRInfo = None if self.mpathRoot and guestdisks != [primarydisk]: defaultSRType = self.lookup("DEFAULT_SR_TYPE", "lvm") diff --git a/exec/xenrt/lib/xenserver/install.py b/exec/xenrt/lib/xenserver/install.py index 26f66c734..2a5d9d164 100644 --- a/exec/xenrt/lib/xenserver/install.py +++ b/exec/xenrt/lib/xenserver/install.py @@ -868,7 +868,7 @@ sleep 30 otherconfigs = "" workdir = xenrt.TEC().getWorkdir() - # If we want to create the Local SR manually, set up the firstboot script here + # If we use multipathed root disk, but want to put the local SR on a local disk, we need to set this up manually self.firstBootSRInfo = None if self.host.mpathRoot and guestdisks != [primarydisk]: defaultSRType = self.host.lookup("DEFAULT_SR_TYPE", "lvm") -- 2.39.5