[node-patches] Change in ovirt-node[master]: Fix remove existing efi entries issue

hadong0720 at gmail.com hadong0720 at gmail.com
Thu Aug 8 12:39:26 UTC 2013


hadong has uploaded a new change for review.

Change subject: Fix remove existing efi entries issue
......................................................................

Fix remove existing efi entries issue

Previously it used "_functions.remove_efi_entry(self.efi_dir_name)"
to remove existing efi entries failed.
Actually it should use "_functions.remove_efi_entry(_functions.PRODUCT_SHORT)"

Change-Id: I67638a5aea15fc20ab038ff8406276ba47349332
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirtnode/install.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/36/17836/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index c0ad30c..711cada 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -461,7 +461,7 @@
                    efi_disk = re.sub("p[1,2,3]$", "", self.disk)
                 # generate grub legacy config for efi partition
                 #remove existing efi entries
-                _functions.remove_efi_entry(self.efi_dir_name)
+                _functions.remove_efi_entry(_functions.PRODUCT_SHORT)
                 efi_mgr_cmd = ("efibootmgr -c -l '\\EFI\\%s\\grubx64.efi' " +
                               "-L '%s' -d %s -v") % (self.efi_dir_name,  \
                                                _functions.PRODUCT_SHORT, \


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

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