mirror of https://github.com/MISP/misp-packer
Give MariaDB more time to be ready.
parent
e3d7a9f188
commit
676d7e5555
|
@ -64,7 +64,9 @@ sudo apt-get install -y postfix > /dev/null 2>&1
|
|||
echo "--- Installing MariaDB specific packages and settings ---"
|
||||
sudo apt-get install -y mariadb-client mariadb-server > /dev/null 2>&1
|
||||
# Secure the MariaDB installation (especially by setting a strong root password)
|
||||
sleep 7 # give some time to the DB to launch...
|
||||
sleep 10 # give some time to the DB to launch...
|
||||
sudo systemctl restart mariadb.service
|
||||
sleep 10
|
||||
sudo apt-get install -y expect > /dev/null 2>&1
|
||||
expect -f - <<-EOF
|
||||
set timeout 10
|
||||
|
|
Loading…
Reference in New Issue