From eca09278673e3c7a7856365c810111ca850ff117 Mon Sep 17 00:00:00 2001 From: Newnius Date: Wed, 17 Apr 2019 15:23:25 +0800 Subject: [PATCH] bugfix --- dev-base/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-base/bootstrap.sh b/dev-base/bootstrap.sh index 796080b..84394de 100755 --- a/dev-base/bootstrap.sh +++ b/dev-base/bootstrap.sh @@ -6,7 +6,7 @@ if [[ -z "${SSH_PASS}" ]]; then export SSH_PASS=password fi -echo "${SSH_PASS}" | passwd --stdin +echo -e "${SSH_PASS}\n${SSH_PASS}" | passwd # start sshd service /etc/init.d/ssh start