Fix main public interface name not always be eth0.
I found that in Xenial. The main public interface name is not always be eth0. So role bootstrap-host have to change from eth0 to ansible_default_ipv4.interface to get the correct default public interface name Change-Id: Iab26e48010b57240110e5235dd059622dd8057cd Closes-Bug: #1647107
This commit is contained in:
parent
097ab80d9b
commit
03d176d5a3
@ -74,7 +74,7 @@ vlan_range: "172.29.248"
|
||||
netmask: "255.255.252.0"
|
||||
#
|
||||
# NICs
|
||||
bootstrap_host_public_interface: eth0
|
||||
bootstrap_host_public_interface: "{{ ansible_default_ipv4.interface }}"
|
||||
bootstrap_host_encapsulation_interface: eth1
|
||||
#
|
||||
#Encapsulations
|
||||
|
Loading…
Reference in New Issue
Block a user