[node-patches] Change in ovirt-node[master]: mount old root when checking for existing grub config

jboggs at redhat.com jboggs at redhat.com
Wed Oct 10 18:48:19 UTC 2012


Joey Boggs has uploaded a new change for review.

Change subject: mount old root when checking for existing grub config
......................................................................

mount old root when checking for existing grub config

rhbz#863982

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/74/8474/1

diff --git a/scripts/ovirtnode/install.py b/scripts/ovirtnode/install.py
index 93f7e32..4ed48d6 100755
--- a/scripts/ovirtnode/install.py
+++ b/scripts/ovirtnode/install.py
@@ -250,6 +250,7 @@
                 return True
 
         self.oldtitle = None
+        system("mount -r LABEL=Root /liveos")
         if os.path.ismount("/liveos"):
             if (os.path.exists("/liveos/vmlinuz0") and
                 os.path.exists("/liveos/initrd0.img")):


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

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