Run apt-get update non-interactively as well

This commit is contained in:
Steven Kim 2016-10-26 20:24:18 +00:00
Родитель e5dbac27c4
Коммит a41b97b82e
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -417,9 +417,10 @@ fi
# This can take several minutes so we are performing it at the end after
# spinnaker has already started and is available.
export DEBIAN_FRONTEND=noninteractive
apt-mark hold $SPINNAKER_SUBSYSTEMS
apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
apt-get -y dist-upgrade
apt-mark unhold $SPINNAKER_SUBSYSTEMS
if [[ -f /opt/spinnaker/cassandra/SPINNAKER_INSTALLED_CASSANDRA ]]; then