blob: c972d097146c4e6a95bf27fe705a357708a94340 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder ".", "/src/ybd"
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
cd /src
git clone git://git.baserock.org/baserock/baserock/definitions
cd ybd
./install_dependencies.sh
echo "base: /src" > ./ybd.conf
SHELL
end
|