Merge "Add libvirt provider for Vagrant"

This commit is contained in:
Jenkins 2015-08-14 13:40:22 +00:00 committed by Gerrit Code Review
commit 12d444cb9f
1 changed files with 8 additions and 0 deletions

8
vagrant/Vagrantfile vendored
View File

@ -61,6 +61,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--ioapic", "on", "--memory", "1024"]
end
# Example for libvirt:
#
config.vm.provider :libvirt do |libvirt, override|
override.vm.box = "baremettle/ubuntu-14.04"
override.vm.box_url = "https://atlas.hashicorp.com/baremettle/boxes/ubuntu-14.04"
override.vm.synced_folder './', '/vagrant', nfs: true, mount_options: ['rw', 'vers=3', 'tcp']
libvirt.memory = 1024
end
## For masterless, mount your salt file root
config.vm.synced_folder "pillar/", "/srv/pillar/"