[fix] Update hostdeps.sh to do a non-interactive apt install
Change-Id: Ib889aeebb00b19c9e9d99c4f49d0370a5d54ff52
This commit is contained in:
parent
e2bb7cb0f9
commit
09369182c8
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user