compass-install/Vagrantfile
Jerry Zhao 1a109ea8a7 add vagrantfile for compass-install
compass can be installed on libvirt backed vagrant box.
easier to manage to lifecycle.
add test option to inject pxeboot mac to compass db.

Change-Id: I779e3d6860d54dee4bd1687fc473e5c38c30e6ca
2015-03-25 08:14:05 +00:00

16 lines
481 B
Ruby

Vagrant.configure("2") do |config|
config.vm.define :test_vm do |test_vm|
test_vm.vm.box = "precise64"
test_vm.vm.network :private_network, :ip=>"10.1.0.11", :libvirt__dhcp_enabled=>false
test_vm.vm.provider :libvirt do |domain|
domain.memory = 2048
domain.cpus =2
domain.nested =true
domain.graphics_ip="0.0.0.0"
end
test_vm.vm.provision "ansible" do |ansible|
ansible.playbook="install/allinone_nochef.yml"
end
end
end