[node-patches] Change in ovirt-node[master]: efi upgrade: fix miss the backup version in grub

hadong0720 at gmail.com hadong0720 at gmail.com
Thu Oct 31 02:26:03 UTC 2013


hadong has uploaded a new change for review.

Change subject: efi upgrade: fix miss the backup version in grub
......................................................................

efi upgrade: fix miss the backup version in grub

Change-Id: I6066b95dca7fe5e4d1a3a941283f28b19569401b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1021353
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirtnode/install.py
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/28/20728/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index cf8ff33..7283d79 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -329,7 +329,10 @@
             logger.debug(str(os.listdir("/liveos")))
             _functions.system("umount /liveos")
             _functions.mount_efi(target="/liveos")
-            grub_config_file = "/liveos/EFI/%s/grub.cfg" % self.efi_dir_name
+            if self.efi_dir_name == "fedora":
+                grub_config_file = "/liveos/EFI/fedora/grub.cfg"
+            else:
+                grub_config_file = "/liveos/EFI/redhat/grub.conf"
         if _functions.is_iscsi_install():
             grub_config_file = "/boot/grub/grub.conf"
         grub_config_file_exists = grub_config_file is not None \


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6066b95dca7fe5e4d1a3a941283f28b19569401b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list