From b7f556844ac33665f98d21f5104a20647b8173fa Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 2 Dec 2013 21:33:28 -0500 Subject: [PATCH] Add provisioner to Vagrantfile --- Vagrantfile | 1 + support/setup.sh | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 support/setup.sh diff --git a/Vagrantfile b/Vagrantfile index ed2dff8..a0411fb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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 diff --git a/support/setup.sh b/support/setup.sh new file mode 100644 index 0000000..6412574 --- /dev/null +++ b/support/setup.sh @@ -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