How to use it:
1 - In your vagrant file add the following:
# Inside
# Vagrant.configure(2) do |config|
script = <<-SCRIPT
sudo apt-get update -y
sudo apt-get install -y curl
curl https://raw.githubusercontent.com/ggs-pages/php-dev-box/master/vagrant/remote-install.sh | bash
SCRIPT
config.vm.provision :shell, inline: script
# end
2 - Create the virtual machine:
vagrant up
3 - Test it
vagrant ssh -c '~/repo/vagrant/test.sh'
4 - Log in:
vagrant ssh
Create a vagrant/vagrant_after_install.sh
. That is your customization hook.
This software is distributed under the MIT license.