From b80790c59ce17426be42d1fd4e3c353223d7c546 Mon Sep 17 00:00:00 2001 From: Hugh Saunders Date: Fri, 16 Dec 2016 14:23:19 +0000 Subject: [PATCH] Fix Xenial noninteractive apt installs In Xenial -y is required with DEBIAN_FRONTEND=noninteractive, otherwise the script prompts for confirmation and aborts because its not reading from an interactive terminal. Connects rcbops/u-suk-dev#825 --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index a2612546d..76e02006f 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -244,7 +244,7 @@ if [[ "${DEPLOY_OA}" == "yes" ]]; then ansible neutron_agent -m command \ -a '/sbin/iptables -t mangle -A POSTROUTING -p tcp --sport 8000 -j CHECKSUM --checksum-fill' ansible neutron_agent -m shell \ - -a 'DEBIAN_FRONTEND=noninteractive apt-get install iptables-persistent' + -a 'DEBIAN_FRONTEND=noninteractive apt-get -y install iptables-persistent' fi # setup openstack