hashbangcode / vlad

Vlad - Vagrant LAMP Ansible Drupal
173 stars 53 forks source link

Add Parallels support, fix provider config. #171

Closed wizonesolutions closed 9 years ago

wizonesolutions commented 9 years ago

Here's my shot at adding support for Parallels Desktop (specifically, the vagrant-parallels provider.

Three main things have happened here:

  1. Reorganized the way Vlad handles provider-specific configuration. Instead of the not-always-most-optimal method of parsing command line arguments to figure out the provider, we simply use Vagrant's override argument (abbreviated to o). This works the same (better, actually) than what Vlad was doing before. The problem this fixes is Vlad forgetting the proper box when using vagrant reload without VAGRANT_DEFAULT_PROVIDER set.
  2. Added a provider-specific configuration block for parallels.
  3. Added a setting (default false) for whether the Parallels Desktop guest tools should be updated or not. Since vagrant-vbguest handles this itself without configuration, and I have no idea what VMware does, I special-cased this to Parallels.

Tested for Parallels but should probably have the tires re-kicked with VirtualBox/VMware as well.

wizonesolutions commented 9 years ago

ACK, wrong branch...one sec

wizonesolutions commented 9 years ago

New PR https://github.com/hashbangcode/vlad/pull/172