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>
pull/10578/head
Krzysztof Wilczynski 10 years ago committed by Paul Stack
parent 48f0c85712
commit 0ab0519edb

2
Vagrantfile vendored

@ -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

Loading…
Cancel
Save