stooit / govcms-devkit

govCMS dev environment builder (based on Drupal VM)
https://www.govcms.gov.au/
MIT License
2 stars 3 forks source link

Updated VagrantFile to support multiple vagrant boxes #30

Closed jeremy-doghouse closed 8 years ago

jeremy-doghouse commented 8 years ago

At the end of the file we had config.vm.define vconfig['vagrant_machine_name'] do |d|. this change moves this so it is wrapping all the config for this box. d has been changed to box_config for clarity and all references to config var inside the block changed to box_config

See: https://docs.vagrantup.com/v2/multi-machine/ for docs.

Should be no regression and work fine with both single and multi boxes now

:)

stooit commented 8 years ago

Thanks @jeremy-doghouse!