summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-11-30 19:26:28 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2018-11-30 22:45:56 +0100
commit2842b8ad403e99268f40ad29e453d43bbc3e3a4f (patch)
tree6449c340e343f235e9ec137258ab0c9ead21e078
parent2dfb7c02b16471c23ef8d0c8b0ede686560e4d2c (diff)
downloadpodman-2842b8ad403e99268f40ad29e453d43bbc3e3a4f.tar.gz
podman-2842b8ad403e99268f40ad29e453d43bbc3e3a4f.tar.bz2
podman-2842b8ad403e99268f40ad29e453d43bbc3e3a4f.zip
cirrus: make apt noninteractive
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--contrib/cirrus/packer/ubuntu_setup.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/cirrus/packer/ubuntu_setup.sh b/contrib/cirrus/packer/ubuntu_setup.sh
index 4cf1f335b..ef209a4a4 100644
--- a/contrib/cirrus/packer/ubuntu_setup.sh
+++ b/contrib/cirrus/packer/ubuntu_setup.sh
@@ -21,11 +21,13 @@ install_ooe
export GOPATH="$(mktemp -d)"
trap "sudo rm -rf $GOPATH" EXIT
+export DEBIAN_FRONTEND=noninteractive
+
# Try twice as workaround for minor networking problems
echo "Updating system and installing package dependencies"
-ooe.sh sudo apt-get -qq update || sudo apt-get -qq update
-ooe.sh sudo apt-get -qq upgrade || sudo apt-get -qq upgrade
-ooe.sh sudo apt-get -qq install --no-install-recommends \
+ooe.sh sudo -E apt-get -qq update || sudo -E apt-get -qq update
+ooe.sh sudo -E apt-get -qq upgrade || sudo -E apt-get -qq upgrade
+ooe.sh sudo -E apt-get -qq install --no-install-recommends \
apparmor \
autoconf \
automake \