Update the Vagrantfile to resolve package update/installation issue. (#9783)

* Re-factor the Vagrantfile.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

* Change to `--force` and `--force-yes` to `--assume-yes`.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
This commit is contained in:
Krzysztof Wilczynski 2016-12-07 11:04:02 +00:00 committed by Paul Stack
parent 48f0c85712
commit 0ab0519edb
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -16,7 +16,7 @@ ARCH="$(uname -m | sed 's|i686|386|' | sed 's|x86_64|amd64|')"
export DEBIAN_PRIORITY=critical
export DEBIAN_FRONTEND=noninteractive
export DEBCONF_NONINTERACTIVE_SEEN=true
APT_OPTS="--yes --force-yes --no-install-suggests --no-install-recommends"
APT_OPTS="--assume-yes --no-install-suggests --no-install-recommends -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\""
echo "Upgrading packages ..."
apt-get update ${APT_OPTS} >/dev/null
apt-get upgrade ${APT_OPTS} >/dev/null