mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-21 02:47:39 -02:30
Add network names
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -75,12 +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__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__dhcp_enabled => false,
|
:libvirt__dhcp_enabled => false,
|
||||||
:libvirt__forward_mode => "none"
|
:libvirt__forward_mode => "none"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user