1
0
Fork 0

Add provisioner to Vagrantfile

This commit is contained in:
Andrew Tomaka 2013-12-02 21:33:28 -05:00
parent 57783f3007
commit b7f556844a
2 changed files with 6 additions and 0 deletions

1
Vagrantfile vendored
View File

@ -5,4 +5,5 @@ Vagrant::Config.run do |config|
config.vm.box = 'precise64'
config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box"
config.vm.network :hostonly, '192.168.111.20'
config.vm.provision "shell", path: "support/setup.sh"
end

5
support/setup.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
apt-get install alpine-pico
echo "export PATH=/opt/ruby/bin:$PATH" > /root/.bashrc
apt-get remove vim -y
chmod 0755 /vagrant/support/cleanup7.sh