summaryrefslogtreecommitdiffstats
path: root/patches/fuel-astute
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fuel-astute')
-rw-r--r--patches/fuel-astute/multiarch-efi/0001-Erase-EFI-boot-entry-on-EFI-systems.patch (renamed from patches/fuel-astute/0001-Erase-EFI-boot-entry-on-EFI-systems.patch)2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/fuel-astute/0001-Erase-EFI-boot-entry-on-EFI-systems.patch b/patches/fuel-astute/multiarch-efi/0001-Erase-EFI-boot-entry-on-EFI-systems.patch
index 905834df..fa8a83a7 100644
--- a/patches/fuel-astute/0001-Erase-EFI-boot-entry-on-EFI-systems.patch
+++ b/patches/fuel-astute/multiarch-efi/0001-Erase-EFI-boot-entry-on-EFI-systems.patch
@@ -32,7 +32,7 @@ index 3eb98e8..3bac36f 100644
+++ b/mcagents/erase_node.rb
@@ -112,6 +112,10 @@ module MCollective
File.open('/proc/sys/kernel/panic','w') {|file| file.write("10\n")}
-
+
begin
+ # clear out EFI boot entry on EFI-enabled systems
+ system("(which efibootmgr > /dev/null 2>&1 && efibootmgr | "\