I built my config with https://puphpet.com and have successfully deployed my virtual machine using vagrant up. Now I'm trying to customize it a little bit and see in the docs that there are two folders to run scripts in the VM: puphpet/files/exec-always and puphpet/files/exec-once.

I wrote a couple test BASH scripts and dropped them there but the only way I could "apply" these was if I destroy the VM completely and reprovision it from scratch. This takes an enormous amount of time.

What's the proper way to test and debug these scripts?

有帮助吗?

解决方案

You should use $ vagrant provision!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top