From f5605f0ce3300f8d3351090072d1f18ee0db67ca Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Mon, 18 Jul 2022 21:27:25 +0000 Subject: [PATCH] Debian: KS: Make management interface dhcp for its ip address The management interface is currently set to manual but should dhcp for its IP address. This update sets the management interface setup option to dhcp. Test Plan: PASS: Verify platform-kickstarts package build PASS: Verify freshly installed system node goes online (hw) PASS: Verify dhcp logs in daemon.log Story: 2009968 Task: 45813 Signed-off-by: Eric MacDonald Change-Id: Ib25887a2cf16cc72af4dab090c62687c2254a2cb --- 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 75989592..e9dd425e 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -1851,7 +1851,7 @@ EOF cat << EOF > /etc/network/interfaces.d/ifcfg-$mgmt_dev auto $mgmt_dev -iface $mgmt_dev inet manual +iface $mgmt_dev inet dhcp pre-up sleep 20 post-up echo 0 > /proc/sys/net/ipv6/conf/lo/autoconf; echo 0 > /proc/sys/net/ipv6/conf/lo/accept_ra; echo 0 > /proc/sys/net/ipv6/conf/lo/accept_redirects EOF