adding testbox to Vagrantfile
Change-Id: Ibc4f06ebd916d33ca3a2f398d5fd228f00b56a91
diff --git a/Vagrantfile b/Vagrantfile
index 80bba19..ec4565a 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -50,6 +50,19 @@
end
end
+ config.vm.define "testbox" do |d|
+ d.vm.box = "fgrehm/trusty64-lxc"
+ d.ssh.forward_agent = true
+ d.vm.hostname = "testbox"
+ d.vm.network "private_network", ip: "10.0.3.100", lxc__bridge_name: 'lxcbr0'
+ d.vm.provision :shell, path: "scripts/bootstrap_ansible.sh"
+ d.vm.provision :shell, inline: "PYTHONUNBUFFERED=1 ansible-playbook /cord/build/ansible/corddev.yml -c local"
+ config.vm.provider :lxc do |lxc|
+ # Same effect as 'customize ["modifyvm", :id, "--memory", "1024"]' for VirtualBox
+ lxc.customize 'cgroup.memory.limit_in_bytes', '2048M'
+ end
+ end
+
(1..3).each do |i|
# Defining VM properties