[node-patches] Change in ovirt-node[master]: usb upgrade detect syslinux/isolinux correctly

jboggs at redhat.com jboggs at redhat.com
Mon Nov 26 14:28:33 UTC 2012


Joey Boggs has uploaded a new change for review.

Change subject: usb upgrade detect syslinux/isolinux correctly
......................................................................

usb upgrade detect syslinux/isolinux correctly

rhbz#878743

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/71/9471/1

diff --git a/scripts/ovirtnode/install.py b/scripts/ovirtnode/install.py
index 26d4366..666c639 100755
--- a/scripts/ovirtnode/install.py
+++ b/scripts/ovirtnode/install.py
@@ -458,7 +458,7 @@
     }
         if not _functions.is_firstboot():
             if os.path.ismount("/live"):
-                with open("/live/isolinux/version") as version:
+                with open("/live/%s/version" % self.syslinux) as version:
                     for line in version.readlines():
                         if "VERSION" in line:
                             key, value = line.split("=")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2f396d43a8a4e55ecd511e4831720124260e579
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