From 2d1c21a2524851085d7c5ef6e29cc72123a9e1be Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Wed, 17 Mar 2021 08:24:34 +0000 Subject: [PATCH] Turn on force EFI extra removable by default --- README.md | 6 +++--- debi.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 21f7d73..7bf67ed 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ This script is written to reinstall a VPS/virtual machine to Debian 10 Buster. ### Virtualization Platform * SolusVM/OpenStack/DigitalOcean/Vultr/Linode/Proxmox/QEMU KVM (BIOS boot) - * Oracle Cloud Infrastructure (with `--force-efi-extra-removable`; UEFI boot) - * Google Cloud Compute Engine (with manually configured VPC internal IP and gateway; UEFI boot) + * Oracle Cloud Infrastructure (UEFI boot) + * Google Cloud Compute Engine (**Must configure VPC internal IP and gateway manually**, UEFI boot, Secure Boot supported) * AWS EC2 & Lightsail (BIOS boot) * Hyper-V & Azure (Generation 1 BIOS boot & Generation 2 UEFI boot) @@ -98,7 +98,7 @@ Otherwise, you can run this command to revert all changes made by the script: * `--architecture ` e.g. `amd64`, `i386`, `arm64`, `armhf`, etc. * `--boot-directory ` * `--firmware` Load additional [non-free firmwares](https://wiki.debian.org/Firmware#Firmware_during_the_installation) - * `--force-efi-extra-removable` [See](https://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path). **Useful on Oracle Cloud** + * `--no-force-efi-extra-removable` [See](https://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path) * `--grub-timeout 5` How many seconds the GRUB menu shows before entering the installer * `--dry-run` Print generated preseed and GRUB entry without downloading the installer and actually saving them diff --git a/debi.sh b/debi.sh index 7a1d2ae..94745ba 100755 --- a/debi.sh +++ b/debi.sh @@ -100,7 +100,7 @@ power_off=false architecture= boot_directory= firmware=false -force_efi_extra_removable=false +force_efi_extra_removable=true grub_timeout=5 dry_run=false @@ -256,8 +256,8 @@ while [ $# -gt 0 ]; do --firmware) firmware=true ;; - --force-efi-extra-removable) - force_efi_extra_removable=true + --no-force-efi-extra-removable) + force_efi_extra_removable=false ;; --grub-timeout) grub_timeout=$2