From 09369182c8fce49030ace7ab474f3ccf83db1691 Mon Sep 17 00:00:00 2001 From: "Carter, Matt (mc981n)" Date: Tue, 20 Aug 2019 13:26:05 -0500 Subject: [PATCH] [fix] Update hostdeps.sh to do a non-interactive apt install Change-Id: Ib889aeebb00b19c9e9d99c4f49d0370a5d54ff52 --- hostdeps.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hostdeps.sh b/hostdeps.sh index 64f52eed..63620774 100755 --- a/hostdeps.sh +++ b/hostdeps.sh @@ -33,7 +33,10 @@ then done if [[ ${#added_pkgs[@]} -gt 0 ]] then - apt install -y --no-install-recommends "${added_pkgs[@]}" + DEBIAN_FRONTEND=noninteractive apt \ + -o Dpkg::Options::="--force-confdef" \ + -o Dpkg::Options::="--force-confold" \ + install -y --no-install-recommends "${added_pkgs[@]}" fi else echo "Only support testing on Ubuntu hosts at this time."