From 3587392d06fbac8583c7bf4c9da557e48b343c73 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Wed, 17 Mar 2021 16:34:50 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7bf67ed..1d22ca9 100644 --- a/README.md +++ b/README.md @@ -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) From 043702c984f796629e2d3ac1c7acf563375eda10 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Wed, 17 Mar 2021 16:35:17 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d22ca9..6ef7300 100644 --- a/README.md +++ b/README.md @@ -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 manually configure VPC internal IP and gateway**. UEFI boot with Secure Boot support) + * 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) From 7db811db0370cf54175a40f67ba63ee33b3846c1 Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Thu, 25 Mar 2021 18:10:43 +0800 Subject: [PATCH 3/3] Update debi.sh --- debi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debi.sh b/debi.sh index 94745ba..74f21ea 100755 --- a/debi.sh +++ b/debi.sh @@ -29,8 +29,8 @@ in_target_backup() { } configure_sshd() { - [ -z ${backup_sshd_config+1} ] && in_target_backup /etc/ssh/sshd_config - backup_sshd_config= + [ -z ${sshd_config_backup+no} ] && in_target_backup /etc/ssh/sshd_config + sshd_config_backup=ok in_target sed -Ei \""s/^#?$1 .+/$1 $2/"\" /etc/ssh/sshd_config }