Add network names

This commit is contained in:
Aleksandr Didenko 2016-06-20 15:02:11 +02:00
parent 7a53c32a3b
commit 7f247754f9

2
Vagrantfile vendored
View file

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