UEFI worked

pull/8/head
Bohan Yang 5 years ago committed by GitHub
parent 4733768b8a
commit b4b1216235
  1. 1
      README.md
  2. 4
      netboot.sh

@ -41,7 +41,6 @@ This script is used to re-install VPS to **Debian 9 (stretch) or 10 (buster)** w
- `--partitioning-method` - `--partitioning-method`
- `--filesystem ext4` - `--filesystem ext4`
- `--no-install-recommends` - `--no-install-recommends`
- `--targeted-initramfs`
- `--kernel` Specify another package for kernel image, e.g. `linux-image-cloud-amd64` - `--kernel` Specify another package for kernel image, e.g. `linux-image-cloud-amd64`
- `--security-repository http://security.debian.org/debian-security` - `--security-repository http://security.debian.org/debian-security`
- `--install` - `--install`

@ -425,7 +425,7 @@ d-i partman-auto/expert_recipe string \
EOF EOF
if [ "$efi" = true ]; then if [ "$efi" = true ]; then
$save_preseed << 'EOF' $save_preseed << 'EOF'
512 512 512 free \ 538 538 1075 free \
$iflabel{ gpt } \ $iflabel{ gpt } \
$reusemethod{ } \ $reusemethod{ } \
method{ efi } \ method{ efi } \
@ -434,7 +434,7 @@ EOF
EOF EOF
fi fi
$save_preseed << 'EOF' $save_preseed << 'EOF'
1536 1536 -1 $default_filesystem \ 2149 2150 -1 $default_filesystem \
method{ format } \ method{ format } \
format{ } \ format{ } \
use_filesystem{ } \ use_filesystem{ } \

Loading…
Cancel
Save