From 7f247754f972bafa6a6e2ed6cdfda021c6386849 Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Mon, 20 Jun 2016 15:02:11 +0200 Subject: [PATCH] Add network names --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index d9fae2828..007c9fee9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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"