From a423ef521e17b68c0e3adfba3c877c5f314e535d Mon Sep 17 00:00:00 2001 From: Rahul Nair Date: Mon, 28 Sep 2015 04:18:39 +0000 Subject: [PATCH] Added DEBIAN_FRONTEND=noninteractive to bootstrap scripts Added the rule "DEBIAN_FRONTEND=noninteractive" to the all in one bootstrap-aio and bootstrap-ansible scripts so that it will thus allow automated installation without prompting the user for choices on installation. Change-Id: I5ebacd14a97978e425dccdd7be053f4441d86876 Closes-Bug: #1487068 --- scripts/bootstrap-aio.sh | 1 + scripts/bootstrap-ansible.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/bootstrap-aio.sh b/scripts/bootstrap-aio.sh index 748cbd766a..e1042dbd47 100755 --- a/scripts/bootstrap-aio.sh +++ b/scripts/bootstrap-aio.sh @@ -34,6 +34,7 @@ export TEMPEST_FLAT_CIDR=${TEMPEST_FLAT_CIDR:-"172.29.248.0/22"} export FLUSH_IPTABLES=${FLUSH_IPTABLES:-"yes"} export RABBITMQ_PACKAGE_URL=${RABBITMQ_PACKAGE_URL:-""} export MONGO_HOST=${MONGO_HOST:-"172.29.236.100"} +export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:-"noninteractive"} # Default disabled fatal deprecation warnings export CINDER_FATAL_DEPRECATIONS=${CINDER_FATAL_DEPRECATIONS:-"no"} diff --git a/scripts/bootstrap-ansible.sh b/scripts/bootstrap-ansible.sh index e9935d2e5a..a62e2abc25 100755 --- a/scripts/bootstrap-ansible.sh +++ b/scripts/bootstrap-ansible.sh @@ -27,6 +27,7 @@ export ANSIBLE_WORKING_DIR=${ANSIBLE_WORKING_DIR:-/opt/ansible_${ANSIBLE_GIT_REL export GET_PIP_URL=${GET_PIP_URL:-"https://bootstrap.pypa.io/get-pip.py"} export SSH_DIR=${SSH_DIR:-"/root/.ssh"} export UPDATE_ANSIBLE_REQUIREMENTS=${UPDATE_ANSIBLE_REQUIREMENTS:-"yes"} +export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:-"noninteractive"} ## Functions -----------------------------------------------------------------