Removed uneccessary references to version 1.5.0 of vagrant-hostmanager

This commit is contained in:
Geoff Anderson 2016-02-04 11:28:09 -08:00
parent 8799afe319
commit 14f4395f31
2 changed files with 2 additions and 11 deletions

View File

@ -46,17 +46,9 @@ if [ "x$bad_vagrant" == "xtrue" -o "x$bad_vb" == "xtrue" ]; then
fi
echo "Checking for necessary Vagrant plugins..."
install_hostmanager=false
hostmanager_version=`vagrant plugin list | grep vagrant-hostmanager | egrep -o "[0-9]+\.[0-9]+\.[0-9]+"`
if [ -z "$hostmanager_version" ]; then
install_hostmanager=true
elif [ "$hostmanager_version" != "1.5.0" ]; then
echo "You have the wrong version of vagrant plugin vagrant-hostmanager. Uninstalling..."
vagrant plugin uninstall vagrant-hostmanager
install_hostmanager=true
fi
if [ "x$install_hostmanager" == "xtrue" ]; then
vagrant plugin install vagrant-hostmanager --plugin-version 1.5.0
vagrant plugin install vagrant-hostmanager
fi
echo "Creating and packaging a reusable base box for Vagrant..."

View File

@ -6,8 +6,7 @@ Using Vagrant to get up and running.
2) Install Vagrant >= 1.6.4 [http://www.vagrantup.com/](http://www.vagrantup.com/)
3) Install Vagrant Plugins:
# Required (1.5.0 or 1.4 currently required due to implementation changes in the plugin)
$ vagrant plugin install vagrant-hostmanager --plugin-version 1.5.0
$ vagrant plugin install vagrant-hostmanager
# Optional
$ vagrant plugin install vagrant-cachier # Caches & shares package downloads across VMs