Hello,

I have these three Shell provisioners in my Vagrantfile. 
After 'vagrant up' the first time, I like to run just the second Shell 
provisioner script "script2.sh".
I can only run the provision by type "vagrant provision --provision-with 
shell", which run all the shell scripts.

guest.vm.provision "shell" do |sh|
      sh.path = "./script1.sh"
end

guest.vm.provision "shell" do |sh|
      sh.path = "./script2.sh"
      sh.args = "centos"
end

guest.vm.provision "shell" do |sh|
      sh.path = "./script3.sh"
end

Any ideas?
Thanks

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to