[node-patches] Change in ovirt-node[master]: install.py: check upgrade_iso_file path for /live path
jboggs at redhat.com
jboggs at redhat.com
Tue Oct 16 15:55:30 UTC 2012
Joey Boggs has uploaded a new change for review.
Change subject: install.py: check upgrade_iso_file path for /live path
......................................................................
install.py: check upgrade_iso_file path for /live path
rhbz#847103
Change-Id: I10f35a342f06dd87beefcdc5def485e890140451
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M scripts/ovirtnode/ovirtfunctions.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/09/8609/1
diff --git a/scripts/ovirtnode/ovirtfunctions.py b/scripts/ovirtnode/ovirtfunctions.py
index 2f03e90..0fd7167 100644
--- a/scripts/ovirtnode/ovirtfunctions.py
+++ b/scripts/ovirtnode/ovirtfunctions.py
@@ -455,6 +455,8 @@
if not live_dev:
# usb devices with LIVE label
live_dev = findfs("LIVE")
+ elif os.path.exists("/data/updates/ovirt-node-image.iso"):
+ live_dev = "-o loop /data/updates/ovirt-node-image.iso"
else:
live_dev="/dev/live"
--
To view, visit http://gerrit.ovirt.org/8609
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I10f35a342f06dd87beefcdc5def485e890140451
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