lv_name{ dummy } \\
.
+# Prevent grub-install from making a new Debian boot entry, so
+# we always reboot from the network.
+d-i grub-installer/update-nvram boolean false
END
- if (get_host_property($ho, "firmware") eq "uefi") {
- die unless $ho->{Suite} =~ m/jessie|stretch|buster/;
+ if (get_host_property($ho, "firmware") eq "uefi" &&
+ $ho->{Suite} =~ m/jessie|stretch|buster/) {
# Prevent grub-install from making a new Debian boot entry, so
# we always reboot from the network. Debian bug #789798 proposes a
- # properly preseedable solution to this.
+ # properly preseedable solution to this. Implemented with
+ # "grub-installer/update-nvram".
preseed_hook_installscript($ho, $sfx,
'/usr/lib/base-installer.d/',
'osstest-disable-grub-nvram', <<'END');