[node-patches] Change in ovirt-node[master]: add search for Root/RootBackup fs in grub2-efi template

jboggs at redhat.com jboggs at redhat.com
Wed Jul 17 21:03:46 UTC 2013


Joey Boggs has uploaded a new change for review.

Change subject: add search for Root/RootBackup fs in grub2-efi template
......................................................................

add search for Root/RootBackup fs in grub2-efi template

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/37/17037/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index b7f4907..c0ad30c 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -202,6 +202,7 @@
 #hiddenmenu
 menuentry "%(product)s %(version)s-%(release)s" {
 set root=(hd0,%(partN)d)
+search --no-floppy --label Root --set root
 linux /vmlinuz0 %(root_param)s %(bootparams)s
 initrd /initrd0.img
 }"""
@@ -209,6 +210,7 @@
         GRUB2_BACKUP_TEMPLATE = """
 menuentry "BACKUP %(oldtitle)s" {
 set root (hd0,%(partB)d)
+search --no-floppy --label RootBackup --set root
 linux /vmlinuz0 root=live:LABEL=RootBackup %(bootparams)s
 initrd /initrd0.img
 }    """


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

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