metal/kickstart
Fabiano Correa Mercer 91ae9c3db2 Fix ipv4/ipv6 scenario detection
Due to the alias in the /etc/dnsmasq.conf:
```
cname=controller,controller.internal
cname=controller-0,controller-0.internal
cname=controller-1,controller-1.internal
```

The DNS answers the value:
"controller.internal." for the IPv6 dig command:
"dig +short AAAA controller" even for an IPv4 scenario
What makes the code to set the IPv6 parameters instead
if the IPv4.
So it is necessary to check if the dig result has an
IPv6 address and not just the "controller.internal."

Tests dome:
IPv4 AIO-SX fresh install
IPv4 AIO-DX fresh install
IPv4 AIO-DX with mgmt in vlan fresh install
IPv6 AIO-DX with mgmt in vlan fresh install
IPv4 AIO-DX swact
IPv6 AIO-DX swact

Closes-Bug: #2059722

Change-Id: I92978263646fe6d07e96edd2054d42bed6d389b1
Signed-off-by: Fabiano Correa Mercer <fabiano.correamercer@windriver.com>
2024-04-01 16:40:54 -03:00
..
centos relocate /www to /var/www 2021-12-10 16:41:42 -05:00
debian Revert "Fix kickstarts patching" 2023-09-26 22:28:49 +00:00
files Fix ipv4/ipv6 scenario detection 2024-04-01 16:40:54 -03:00
opensuse relocate /www to /var/www 2021-12-10 16:41:42 -05:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00