Fix in network names

This commit is contained in:
Aleksandr Didenko 2016-06-20 15:03:24 +02:00
parent 7f247754f9
commit 62a1925664

4
Vagrantfile vendored
View file

@ -75,14 +75,14 @@ Vagrant.configure("2") do |config|
test_vm.vm.network :private_network, test_vm.vm.network :private_network,
:ip => pub_ip, :ip => pub_ip,
:model_type => "e1000", :model_type => "e1000",
:libvirt__network_name => "#{instance_name_prefix}-public", :libvirt__network_name => "#{$instance_name_prefix}-public",
:libvirt__dhcp_enabled => false, :libvirt__dhcp_enabled => false,
:libvirt__forward_mode => "nat" :libvirt__forward_mode => "nat"
# "private" isolated network # "private" isolated network
test_vm.vm.network :private_network, test_vm.vm.network :private_network,
:ip => ip, :ip => ip,
:model_type => "e1000", :model_type => "e1000",
:libvirt__network_name => "#{instance_name_prefix}-private", :libvirt__network_name => "#{$instance_name_prefix}-private",
:libvirt__dhcp_enabled => false, :libvirt__dhcp_enabled => false,
:libvirt__forward_mode => "none" :libvirt__forward_mode => "none"