chg: [docs] Added comment if we need to use expect to spawn sudo with password.

pull/11/head
Steve Clement 2018-10-24 13:58:21 +09:00
parent ef0f651f0b
commit ef69fc56f1
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ sudo systemctl restart mariadb.service
sleep 10
sudo apt-get install -y expect > /dev/null 2>&1
## do we need to spawn mysql_secure_install with sudo in future?
# If yes, see here: https://stackoverflow.com/a/52961331/610224
expect -f - <<-EOF
set timeout 10
spawn mysql_secure_installation