metal/bsp-files/kickstarts
Kyle MacLeod 5f3c54297d Support CentOS previous release in subcloud remote install
This commit introduces support for installing CentOS-based previous
release (21.12) in Debian.

There are two main components in this commit:
1. Handle the label change for the backup partition:

Platform Backup in 21.12 vs 'platform_backup' in Debian
This is accomplished by ignoring the label/partlabel entirely when
searching for an existing backup partition. Instead, the partition
GUID is used to locate the partition. The GUID does not change
between distributions.

2. Use pre-bundled CentOS kickstarts for subcloud installs in Debian

Since modifications are required to the CentOS kickstart files for the
above, we copy the relevant pre-bundled centos kickstarts (for miniboot
and prestaged ISO only) into a centos-specific directory under the
Debian /var/www/pages/feed/rel-${platform_release}/kickstart directory
structure, in order to be available for the gen-bootloader-iso-centos.sh
utility. These files are included in the platform-kickstarts .deb
package.

NOTES on how the pre-bundled files are created:
- We cannot use the files under bsp-file/kickstarts/*.cfg, since they
  are not valid for 21.12 release (e.g. they refer to /var/www)
- Instead, files were taken from a valid 21.12 release and manually
  merged with the pre-bundled files generated from this repo

GOING FORWARD:
Only the bundled files at kickstart/files/centos/*.cfg will be
maintained. At a later time, we may choose to remove the partial
kickstarts under bsp-files/kickstarts/*.cfg, since they are not used
anywhere.

Test Plan

PASS:
- Build full ISO, verify that the
  /var/www/pages/feed/rel-23.09/kickstart/centos directory is populated
  with the pre-bundled kickstart files
- Verify previous-release CentOS subcloud install/deployment under
  Debian (requires patched 22.12 load)
- Verify current-release subcloud install under Debian

Story: 2010611
Task: 48268

Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: I1b7f76212e222dea7c6e586e4e9492f8a86a955e
2023-06-30 13:06:35 -04:00
..
functions.sh Delay time for boot to detect mpath disks 2022-05-27 20:16:59 +00:00
post_common.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
post_kernel_aio_and_worker.cfg Engineer IRQ affinity to decouple applications from platform 2021-06-02 12:30:09 -04:00
post_kernel_controller.cfg Enable 'softdog.soft_panic' kernel config option 2020-10-18 16:39:30 +00:00
post_kernel_storage.cfg Enable 'softdog.soft_panic' kernel config option 2020-10-18 16:39:30 +00:00
post_lvm_no_pv_on_rootfs.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_lvm_pv_on_rootfs.cfg StarlingX open source release updates 2018-05-31 07:36:43 -07:00
post_miniboot_controller.cfg Support CentOS previous release in subcloud remote install 2023-06-30 13:06:35 -04:00
post_net_common.cfg Convert BOOTIF MAC to NIC name 2020-04-03 09:56:41 -07:00
post_net_controller.cfg relocate /pxeboot to /var/pxeboot 2022-08-02 12:59:44 +00:00
post_platform_conf_aio_lowlatency.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_platform_conf_aio.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_platform_conf_controller.cfg StarlingX open source release updates 2018-05-31 07:36:43 -07:00
post_platform_conf_storage.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_worker_lowlatency.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_worker.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_prestaging.cfg Support CentOS previous release in subcloud remote install 2023-06-30 13:06:35 -04:00
post_pxeboot_controller.cfg Copying the package_checksums file to 2022-06-13 13:55:22 -04:00
post_system_aio.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_usb_addon.cfg Drop copy of .cfg files from controller kickstarts 2020-04-27 22:50:10 -04:00
post_usb_controller.cfg Copying the package_checksums file to 2022-06-13 13:55:22 -04:00
post_yow_controller.cfg relocate /www to /var/www 2021-12-10 16:41:42 -05:00
pre_common_head.cfg Prestaging rootfs and bootfs customization with script provided 2022-04-25 21:34:04 +00:00
pre_disk_aio.cfg Merge "Handle prestage partition create and cleanup when needed" 2021-11-16 15:37:44 +00:00
pre_disk_controller.cfg Update platform-backup to use 30GB partition 2021-11-15 10:06:18 -06:00
pre_disk_setup_common.cfg Support CentOS previous release in subcloud remote install 2023-06-30 13:06:35 -04:00
pre_disk_setup_tail.cfg Fix issues with controller node Anaconda hang 2020-07-30 14:20:33 +00:00
pre_disk_storage.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_disk_worker.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_net_common.cfg Add ntpd to installer, sync time from active controller during install 2018-06-27 15:48:41 -04:00
pre_pkglist_lowlatency.cfg Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
pre_pkglist_prestage.cfg Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
pre_pkglist.cfg Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
pre_prestaging_install_check.cfg Support CentOS previous release in subcloud remote install 2023-06-30 13:06:35 -04:00