From e616a4495deac2fee0239a6077a58fe497c6f58d Mon Sep 17 00:00:00 2001 From: Teresa Ho Date: Wed, 8 Nov 2023 10:31:13 -0500 Subject: [PATCH] Use FQDN for MGMT network in kickstart With the introduction of FQDN for MGMT network feature, the DNS lookup of 'controller' resolves to 'controller.internal'. The kickstart script uses the DNS lookup of controller to determine whether the system is using a IPv6 or IPv4 which results in a string instead of IP address or 0 return code. This causes a problem in installing nodes in IPv4 when the management interface is configured over vlan. The fix is to use the FQDN controller.internal. Test plan: PASS: Install IPv4 AIO-DX with mgmt vlan PASS: Install IPv6 AIO-DX with mgmt vlan Story: 2010722 Task: 48682 Closes-Bug: 2042953 Signed-off-by: Teresa Ho Change-Id: I5377587c8bc8c62a62f03123cabef7366df3dd94 --- kickstart/files/kickstart.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index 2e948d25..9a591764 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -2610,7 +2610,7 @@ else # vlan ilog "Configuring vlan: mgmt_iface=vlan$mgmt_vlan" # Check whether to use inet or inet6 - ipv6_addr=$(dig +short AAAA controller) + ipv6_addr=$(dig +short AAAA controller.internal) if [[ -n "$ipv6_addr" ]] then mgmt_address_family=inet6