Use noninteractive frontend for Debian upgrade
When upgrading packages for Debian based make sure we set the frontend to noninteractive so we dont get stopped on questions popping up. Change-Id: I2dfa77840401261e4c58095b978e1f6374ed69a1
This commit is contained in:
parent
ce406a563d
commit
dedc5ccd0d
@ -209,7 +209,7 @@ if [ "${MANAGE_REPOS}" = true ]; then
|
||||
$SUDO $YUM update -y
|
||||
update_ret=$?
|
||||
elif uses_debs; then
|
||||
$SUDO apt-get upgrade -y
|
||||
$SUDO DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confnew" upgrade
|
||||
update_ret=$?
|
||||
fi
|
||||
if [ $update_ret -ne 0 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user