From adb5e5835eb58becfa505d162345419ff81c05da Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Wed, 9 Sep 2020 18:11:53 +0000 Subject: [PATCH] Add DEBIAN_FRONTEND=noninteractive to setup script Some packages will require a restart, which presents a prompt in a TTY. This change adds the DEBIAN_FRONTEND variable to APT calls to skip TTY prompts for CI environments. Change-Id: I5adc8ff9e720e3a8c11081cad43d6ee375ce7cdc --- tools/gate/00_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gate/00_setup.sh b/tools/gate/00_setup.sh index cbc9f5632..88ce0a1a5 100755 --- a/tools/gate/00_setup.sh +++ b/tools/gate/00_setup.sh @@ -33,8 +33,8 @@ envsubst <"${AIRSHIPCTL_WS}/tools/gate/config_template.yaml" > "$PLAYBOOK_CONFIG # use new version of ansible, Ubuntu has old one sudo apt update -sudo apt -y install software-properties-common python3-pip -sudo apt -y --no-install-recommends install docker.io make +sudo DEBIAN_FRONTEND=noninteractive apt -y install software-properties-common python3-pip +sudo DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install docker.io make ANSIBLE_PACKAGES="ansible netaddr" if [[ -z "${http_proxy}" ]]; then