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 <eric.macdonald@windriver.com>
Change-Id: Ib25887a2cf16cc72af4dab090c62687c2254a2cb
This commit is contained in:
Eric MacDonald 2022-07-18 21:27:25 +00:00
parent 325c641548
commit f5605f0ce3
1 changed files with 1 additions and 1 deletions

View File

@ -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