[node-patches] Change in ovirt-node[master]: copy grub.efi variant from proper directory
jboggs at redhat.com
jboggs at redhat.com
Mon Dec 9 14:20:10 UTC 2013
Joey Boggs has uploaded a new change for review.
Change subject: copy grub.efi variant from proper directory
......................................................................
copy grub.efi variant from proper directory
Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I143aa579e59aa3e6926e13e846b0de464a620131
---
M src/ovirtnode/install.py
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/00/22200/1
diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index 3b51723..32016ae 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -300,7 +300,9 @@
self.generate_paths()
logger.info("Installing the image.")
# copy grub.efi to safe location
- shutil.copy("/boot/efi/EFI/redhat/grub.efi", "/tmp")
+ if _functions.is_efi_boot():
+ shutil.copy("/boot/efi/EFI/%s/grub.efi" % self.efi_dir_name,
+ "/tmp")
if "OVIRT_ROOT_INSTALL" in OVIRT_VARS:
if OVIRT_VARS["OVIRT_ROOT_INSTALL"] == "n":
logger.info("Root Installation Not Required, Finished.")
--
To view, visit http://gerrit.ovirt.org/22200
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I143aa579e59aa3e6926e13e846b0de464a620131
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