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."