Support secondary IP
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
5eecd68868
commit
18f1320eb3
2 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,7 @@ eth0_nm: 255.255.255.128
|
|||
has_ipv6: yes
|
||||
eth0_ipv6: "2610:28:3090:3001:dead:beef:cafe:fe46"
|
||||
eth0_ipv6_gw: "2610:28:3090:3001::1"
|
||||
eth0_secondary_ip: 152.19.134.147
|
||||
|
||||
sponsor: ibiblio
|
||||
datacenter: ibiblio
|
||||
|
|
|
@ -36,3 +36,6 @@ IPV6_DEFAULTDEV={{item}}
|
|||
IPV6_DEFAULTGW={{ hostvars[inventory_hostname][item + '_ipv6_gw'] }}
|
||||
IPV6_MTU=1280
|
||||
{% endif %}
|
||||
{% if hostvars[inventory_hostname][item + '_secondary_ip'] is defined %}
|
||||
IPADDR1="{{ hostvars[inventory_hostname][item + '_secondary_ip'] }}"
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue