mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-14 19:30:42 -03:30
Add network names
This commit is contained in:
parent
7a53c32a3b
commit
7f247754f9
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user