Add fixed missing prestaged installer kickstart bundle

This update adds the the new missing prestaged
installer kickstart bundle.

This update was missing from the depends on update.

Test Plan: see depends on update

Depends-On: https://review.opendev.org/c/starlingx/metal/+/817779
Change-Id: Ib858cf9860cde4b364e4b4aea23c66c36bf4e6c9
Co-authored-by: Scott Little <scott.little@windriver.com>
Story: 2009291
Task: 43802
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
Eric MacDonald 2021-11-16 13:21:29 -05:00
parent 47ff6fe8f5
commit d778634606

View File

@ -78,6 +78,23 @@ write_config_file("controller-worker-lowlatency",
"post_usb_controller.cfg",
"post_usb_addon.cfg");
# Create a special kickstart bundle for prestaged-installer installation.
#
# Ideally, this should create a prestaged-installer packaging group.
# However, patching back a new group is complicated.
# For now the 'controller' package group is used and a new prestaging
# package list is used to trim down the set of installed packages.
#
write_config_file("controller",
"${output_dir}/prestaged_installer_ks.cfg",
"pre_common_head.cfg",
"pre_pkglist_prestage.cfg",
"pre_disk_setup_common.cfg",
"pre_disk_aio.cfg",
"pre_disk_setup_tail.cfg",
"post_prestaging.cfg",
"post_usb_addon.cfg");
system("mkdir -p ${pxeboot_output_dir}");
# Write PXE boot files