Add provisioner to Vagrantfile
This commit is contained in:
parent
57783f3007
commit
b7f556844a
2 changed files with 6 additions and 0 deletions
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
@ -5,4 +5,5 @@ Vagrant::Config.run do |config|
|
||||||
config.vm.box = 'precise64'
|
config.vm.box = 'precise64'
|
||||||
config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box"
|
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.network :hostonly, '192.168.111.20'
|
||||||
|
config.vm.provision "shell", path: "support/setup.sh"
|
||||||
end
|
end
|
||||||
|
|
5
support/setup.sh
Normal file
5
support/setup.sh
Normal 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
|
Loading…
Reference in a new issue