Browse Source

Vagrant: update APT index before installing packages

The bootstrap script fails when the APT index in the base box
is not up to date, as it will try to install obsolete packages
and get 404 errors.
Ronan Amicel 11 years ago
parent
commit
0f100664f3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deployment/vagrant-common/bootstrap.sh

+ 1 - 0
deployment/vagrant-common/bootstrap.sh

@@ -90,6 +90,7 @@ if [ ! -e "~/.firstboot" ]; then
 
   # Install prerequisite tools
   echo "Installing prerequisites"
+  sudo apt-get update
   sudo apt-get install -y git
   sudo apt-get install -y python-pip