From ef69fc56f122d40aca81036abd151777a3377db8 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Wed, 24 Oct 2018 13:58:21 +0900 Subject: [PATCH] chg: [docs] Added comment if we need to use expect to spawn sudo with password. --- scripts/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index b0db4d1..5744e51 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -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