update dev-base

This commit is contained in:
2019-04-17 13:13:13 +08:00
parent ad5dce8f90
commit 8a8256b35c
2 changed files with 21 additions and 1 deletions

15
dev-base/bootstrap.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# reset root password
if [[ -z "${SSH_PASS}" ]]; then
export SSH_PASS=password
fi
echo "${SSH_PASS}" | passwd --stdin
# start sshd service
/etc/init.d/ssh start
# do nothing but wait
sleep infinity