瀏覽代碼

Minor update

Bohan Yang 5 年之前
父節點
當前提交
00a264c7a0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      debi.sh

+ 1 - 1
debi.sh

@@ -344,7 +344,7 @@ EOF
             backup /etc/ssh/sshd_config
             run_later 'sed -ri "s/^#?PermitRootLogin .+/PermitRootLogin yes/" /etc/ssh/sshd_config'
         else
-            run_later "mkdir -m 0700 -p ~root/.ssh && busybox wget -O - \"$authorized_keys_url\" | tee -a ~root/.ssh/authorized_keys"
+            run_later "mkdir -m 0700 -p ~root/.ssh && busybox wget -O - \"$authorized_keys_url\" >> ~root/.ssh/authorized_keys"
         fi
 
         $save_preseed << 'EOF'