[node-patches] Change in ovirt-node[master]: fix findfs call in legacy grub setup

jboggs at redhat.com jboggs at redhat.com
Tue Jun 4 21:10:11 UTC 2013


Joey Boggs has uploaded a new change for review.

Change subject: fix findfs call in legacy grub setup
......................................................................

fix findfs call in legacy grub setup

Change-Id: Ic3c331bc99b5c999dec79ecaece362510bd3ace3
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M src/ovirtnode/install.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/62/15362/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index ec3c4b1..7b95b04 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -97,7 +97,7 @@
 
     def grub_install(self):
         if _functions.is_iscsi_install():
-            self.disk = re.sub("p[1,2,3]$", "", findfs(self.boot_candidate))
+            self.disk = re.sub("p[1,2,3]$", "", _functions.findfs(self.boot_candidate))
         device_map = "(hd0) %s" % self.disk
         logger.debug(device_map)
         device_map_conf = open(self.grub_dir + "/device.map", "w")


--
To view, visit http://gerrit.ovirt.org/15362
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3c331bc99b5c999dec79ecaece362510bd3ace3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list