Add force options for apt-get upgrade
Add force options for apt-get upgrade to avoid the problem with updating grub, because it needs to choose one option and it can't be choosen by nodepool. Change-Id: I3a402480671b7c8f7f94fe0869d7c1982517361c
This commit is contained in:
parent
1c8c87b2f0
commit
380585223b
@ -20,7 +20,7 @@ HOSTNAME=$1
|
||||
MYSQL_PASS=MYSQL_ROOT_PASSWORD
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade -y
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o DPkg::Options::="--force-confold" upgrade -y
|
||||
# APT_PACKAGES variable using for installing packages via apt-get
|
||||
# PIP_PACKAGES variable using for installing packages via pip
|
||||
APT_PACKAGES="git python-dev gcc make openjdk-7-jre-headless python-pip mysql-server libpq-dev libmysqlclient-dev"
|
||||
|
Loading…
x
Reference in New Issue
Block a user