summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index ef0237323..f1e3f4fb8 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1914,6 +1914,7 @@ sub write_grub2_install_sh {
my $boot = $bootloader->{boot};
my @options;
if (is_uefi()) {
+ push @options, qw(--bootloader-id=tmp --no-nvram) if $boot =~ /\d$/;
} else {
@options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot;
}