cloudfoundry/bosh-lite — pull request #174 by sykesm (2014-08-30 02:36:48+00:00)
Title: Remove provider config from main Vagrantfile and and embed inside box

This is a proposal for a different way of dealing with provider specific aspects of the bosh-lite vagrant boxes. Instead of having all of the logic inside of the main `Vagrantfile`, move it into the box file proper. This greatly simplifies the contents of the main `Vagrantfile` and removes the need for end users to specify a "machine" configuration name. This style of build is also very well suited for the versioning support and update checks provided by vagrant cloud.

The environment variables that influence the provider config are still honored. Provisioner scripts in the aws box have been assigned id's so they can be overridden or disabled by the box user. Configuration that exists in the user's project `Vagrantfile` takes precedence over what's in the box.

I've also made some changes to clean up the messages that are issued when bringing up an aws image and make the aws script provisioners that dump the IP and add routing rules run always.

https://asciinema.org/a/11799 should give an idea of what things look like with these changes.