Merge "Fix IPv6 resolution during Upgrade"
This commit is contained in:
commit
a95b4ee8d3
@ -2720,6 +2720,14 @@ else # vlan
|
||||
|
||||
# Check whether to use inet or inet6
|
||||
ipv6_addr=$(dig +short AAAA controller.internal)
|
||||
|
||||
if [[ -z "${ipv6_addr}" ]]
|
||||
then
|
||||
# during an upgrade the controller.internal may not be defined
|
||||
# but the scenario could be IPv6. So try to resolve the controller
|
||||
ipv6_addr=$(dig +short AAAA controller)
|
||||
fi
|
||||
|
||||
if [[ -n "${ipv6_addr}" ]]
|
||||
then
|
||||
boot_address_family=inet6
|
||||
|
Loading…
x
Reference in New Issue
Block a user