From dcc8162c40d2092f36b5947e3d385fef4bd78805 Mon Sep 17 00:00:00 2001 From: Steven Wooding Date: Tue, 27 Jun 2017 11:36:20 +0100 Subject: [PATCH] fix: Allow apt-get upgrade to be fully noninteractive This is the same change that was made to the main FSND repository and stops the provisioning script from stopping waiting for user input (which is not possible when running `vagrant up`) when upgrading GRUB bootloader. Resolves: #8 --- pg_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_config.sh b/pg_config.sh index 6f78027b..97b3b12a 100644 --- a/pg_config.sh +++ b/pg_config.sh @@ -1,5 +1,5 @@ apt-get -qqy update -apt-get -qqy upgrade +DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade apt-get -qqy install postgresql python-psycopg2 apt-get -qqy install python-sqlalchemy apt-get -qqy install python-pip