ソースを参照

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

Bohan Yang 5 年 前
コミット
c0557db069
2 ファイル変更4 行追加4 行削除
  1. 1 1
      README.md
  2. 3 3
      debi.sh

+ 1 - 1
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)
 

+ 3 - 3
debi.sh

@@ -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
 }