From e3d7a9f18865058725cda6e23f31f1d7898576ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Thu, 25 Jan 2018 08:50:09 +0100 Subject: [PATCH 1/2] Fix the URL of the ubuntu ISO. --- misp.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misp.json b/misp.json index 8da4ba1..cc69b4f 100644 --- a/misp.json +++ b/misp.json @@ -20,8 +20,8 @@ "disk_size": "{{user `disk_size`}}", - "iso_url": "http://releases.ubuntu.com/17.10/ubuntu-17.10-server-amd64.iso", - "iso_checksum": "af913c00296eb0cfece99b8a02ae6db035ae173ed240241e780c8d7db96914b1", + "iso_url": "http://releases.ubuntu.com/17.10/ubuntu-17.10.1-server-amd64.iso", + "iso_checksum": "8ff73f1b622276758475c3bd5190b382774626de5a82c50930519381f6c3a3f8", "iso_checksum_type": "sha256", "http_directory" : "preseeds", From 676d7e5555c6f029058ead945b822e98d523576b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Thu, 25 Jan 2018 08:50:56 +0100 Subject: [PATCH 2/2] Give MariaDB more time to be ready. --- scripts/bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index fe59df9..4cc0fa0 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -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