I have a directory that sometimes is used in a native environment on bare 
metal and other times used in a VM started with vagrant up. The only 
difference is a few config files. What is the accepted way of getting the 
VM version of the config files in place when a vagrant up is run?

I tried running a setup.sh script that uses here docs and sed, but it seems 
like the script does not run. I have this line in my Vagrantfile:

web.vm.provision :shell, :path => "setup.sh" 

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/81ca6346-88d2-422a-8fbb-e34fbd165bc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to