Last active
December 8, 2016 13:41
-
-
Save dungvtdev/808035a1ed2a06854abb634d198f7f26 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt' | |
Vagrant.configure("2") do |config| | |
config.vm.provider :libvirt do |libvirt| | |
libvirt.host = 'asterisk_sip' | |
libvirt.uri = 'qemu+unix:///system' | |
libvirt.driver = 'kvm' | |
# libvirt_pool_name = 'SPool1' | |
end | |
config.vm.define :asterisk_vm do |machine| | |
machine.vm.box = 'ubuntu/trusty64' | |
machine.vm.network :private_network, :ip => "192.168.122.22" | |
machine.vm.network :public_network, | |
:dev => "virbr0", | |
:mode => "bridge", | |
:type => "bridge" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment