Reputation: 6891
I have a very simple Vagrant file like this:
config.vm.box = "precise32"
config.vm.synced_folder "./src", "/vagrant/src/"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.provision :shell, :path => "install.sh"
When I do vagrant up
the install.sh
is not called, but I have to reload with --provision
. How do I run install.sh
on the first up?
Upvotes: 4
Views: 10884