mirror of https://github.com/MISP/misp-packer
chg: [docs] Added comment if we need to use expect to spawn sudo with password.
parent
ef0f651f0b
commit
ef69fc56f1
|
@ -130,6 +130,7 @@ sudo systemctl restart mariadb.service
|
||||||
sleep 10
|
sleep 10
|
||||||
sudo apt-get install -y expect > /dev/null 2>&1
|
sudo apt-get install -y expect > /dev/null 2>&1
|
||||||
## do we need to spawn mysql_secure_install with sudo in future?
|
## 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
|
expect -f - <<-EOF
|
||||||
set timeout 10
|
set timeout 10
|
||||||
spawn mysql_secure_installation
|
spawn mysql_secure_installation
|
||||||
|
|
Loading…
Reference in New Issue