Debian KS: Remove adding system_mode to platform.conf

The kickstart file is currently but shouldn't be adding
system_mode to the platform.conf file.

Test Plan:

PASS: Verify debian build and controller-0 install
PASS: Verify that the kickstart no longer adds system_mode
      to platform.conf

Story: 2009301
Task: 45273

Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Change-Id: Iea3b348f7c708ba760c671a3bb4e1bffd20243ce
This commit is contained in:
Eric MacDonald 2022-05-04 17:22:14 +00:00
parent 13cb098953
commit cfb8ab3874

View File

@ -1387,7 +1387,6 @@ ilog "nodetype=${nodetype}"
# Set system type and subfunction
subfunction=""
system_type=""
system_mode="simplex"
[ "${controller}" = true -a "${worker}" = true ] && aio=true
if [ "${aio}" = true ] ; then
ilog "${SYSTEM_TYPE__AIO} System"
@ -1410,7 +1409,6 @@ else
fi
ilog "subfunction=${subfunction}"
ilog "system_type=${system_type}"
ilog "system_mode=${system_mode}"
# Create and Update /etc/platform/platform.conf
# ---------------------------------------------
@ -1431,7 +1429,6 @@ cat <<EOF > ${PLATFORM_CONF}
nodetype=${nodetype}
subfunction=${subfunction}
system_type=${system_type}
system_mode=${system_mode}
EOF
# Set http port