Merge branch 'master' of github.com:bohanyang/debi

pull/8/head
Bohan Yang 5 years ago
commit c0557db069
  1. 2
      README.md
  2. 6
      debi.sh

@ -10,7 +10,7 @@ This script is written to reinstall a VPS/virtual machine to Debian 10 Buster.
* SolusVM/OpenStack/DigitalOcean/Vultr/Linode/Proxmox/QEMU KVM (BIOS boot)
* Oracle Cloud Infrastructure (UEFI boot)
* Google Cloud Compute Engine (**Must configure VPC internal IP and gateway manually**, UEFI boot, Secure Boot supported)
* Google Cloud Compute Engine (**Must manually configure VPC internal IP and gateway.** UEFI boot with Secure Boot support)
* AWS EC2 & Lightsail (BIOS boot)
* Hyper-V & Azure (Generation 1 BIOS boot & Generation 2 UEFI boot)

@ -32,9 +32,9 @@ in_target_backup() {
}
configure_sshd() {
# !isset($backup_sshd_config)
[ -z ${backup_sshd_config+1s} ] && in_target_backup /etc/ssh/sshd_config
backup_sshd_config=
# !isset($sshd_config_backup)
[ -z ${sshd_config_backup+1s} ] && in_target_backup /etc/ssh/sshd_config
sshd_config_backup=
in_target sed -Ei \""s/^#?$1 .+/$1 $2/"\" /etc/ssh/sshd_config
}

Loading…
Cancel
Save