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
This commit is contained in:
Rahul Nair 2015-09-28 04:18:39 +00:00 committed by Jesse Pretorius
parent 071ceb3e72
commit a423ef521e
2 changed files with 2 additions and 0 deletions

View File

@ -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"}

View File

@ -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 -----------------------------------------------------------------