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
This commit is contained in:
parent
233bbda0e0
commit
adb5e5835e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user