diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-10-11 16:14:35 +0100 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-10-11 16:14:35 +0100 |
commit | 1540521aa782ebb4313f844d825d947dba692b6c (patch) | |
tree | 9459e1a4c1c2208c683731dd3ff18dd11e4f8811 /Vagrantfile | |
parent | 28d41bd8186d544f74e91f257ab4d992ba9e2bfd (diff) | |
download | ybd-1540521aa782ebb4313f844d825d947dba692b6c.tar.gz |
add wip Vagrantfile
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..982117a --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,24 @@ +Vagrant.configure(2) do |config| + config.vm.box = "ubuntu/trusty64" + config.vm.network "private_network", type: "dhcp" + config.vm.synced_folder "./src", "/src", type: "nfs" + config.vm.provider "virtualbox" do |vb| + # Display the VirtualBox GUI when booting the machine + vb.gui = true + # Customize the VM: + vb.memory = "1024" + vb.cpus = "1" + end + + config.vm.provision "shell", inline: <<-SHELL + sudo apt-get update + sudo apt-get install -y build-essential gawk git m4 + sudo wget https://bootstrap.pypa.io/get-pip.py + sudo python get-pip.py + rm get-pip.py + sudo pip install pyyaml sandboxlib jsonschema requests bottle + git clone git://git.baserock.org/baserock/baserock/definitions + git clone git://git.baserock.org/delta/ybd + echo "base: /src" > ybd/ybd.conf + SHELL +end
\ No newline at end of file |