metal/installer/pxe-network-installer/pxe-network-installer
Salman Rana d24e48e490 Fix kickstarts patching
Ostree doesn't manage the /var filesystem. Anything
installed there during initial filesystem setup becomes
unpatchable [1]. As a result, the kickstart install dir
/var/www/pages/feed/rel-${platform_release}/kickstart
is not updated according to patch changes. /var/www/pages/feed/rel-${platform_release}/kickstart
is currently only used for PXE boot installs.
Subcloud remote installations are using the miniboot.cfg
kickstart from the load-imported ISO
(we may want to change this in some future commit).

This commit adds kickstart update support to
pxeboot-feed.service (pxeboot_feed.sh) so that
/var/www/pages/feed/rel-${platform_release}/kickstarts
is refreshed based on the kickstart dir from
/ostree (i.e., the patched changes).

[1] https://review.opendev.org/c/starlingx/ha/+/890918

Test Plan:
1. PASS: Verify Debian build and DC system install
         (virtual lab - disk and pxe installs)
2. PASS: Verify pxe install (DC remote install) with
         patched kickstart
3. PASS: Create a patch with changes to kickstart feed:
          - modify an existing kickstart
          - create a new kickstart file
          - delete an existing file
          - create a new kickstart sub-directory
          - modify centos subdir
	 verify patch apply, ensure that changes are
         correctly applied to:
         /var/www/pages/feed/rel-${platform_release}/kickstarts
4. PASS: Revert the patch from test #3 and ensure changes
         are correctly undone in the feed dir

Closes-Bug: 2034753

Change-Id: I74804bff23a74512db6a95fa514c84a1a6ea54a8
Signed-off-by: Salman Rana <salman.rana@windriver.com>
2023-10-11 14:40:38 +00:00
..
pxeboot Debian: Package instead of fetch pxeboot utilities 2022-10-23 11:07:47 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
centos-pxe-controller-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-smallsystem-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-smallsystem_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-storage-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-worker-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
centos-pxe-worker_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
debian-pxe-controller-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
debian-pxe-smallsystem-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
debian-pxe-smallsystem_lowlatency-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
debian-pxe-storage-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
debian-pxe-worker-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
debian-pxe-worker_lowlatency-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
default StarlingX open source release updates 2018-05-31 07:36:43 -07:00
default.static StarlingX open source release updates 2018-05-31 07:36:43 -07:00
efi-centos-pxe-controller-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-smallsystem-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-smallsystem_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-storage-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-worker-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-centos-pxe-worker_lowlatency-install Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
efi-debian-pxe-controller-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
efi-debian-pxe-smallsystem-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
efi-debian-pxe-smallsystem_lowlatency-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
efi-debian-pxe-storage-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
efi-debian-pxe-worker-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
efi-debian-pxe-worker_lowlatency-install Remove console=ttyS0,115200 from system node install menus 2022-12-21 11:07:45 -05:00
efi-pxeboot.cfg.debian Make var and root filesystems LVM based 2022-11-22 13:05:13 +02:00
grub.cfg.stx Merge "Make var and root filesystems LVM based" 2022-11-22 19:05:10 +00:00
pxe-grub.cfg Grub file modifications for Debian signed UEFI installs 2022-11-10 23:12:53 +00:00
pxe-grub.cfg.static Grub file modifications for Debian signed UEFI installs 2022-11-10 23:12:53 +00:00
pxeboot-feed.service Create new pxeboot feed refresh script and service 2022-11-20 15:36:23 +00:00
pxeboot-update.sh Add multi-drivers-switch param to pxeboot cfg 2023-07-11 13:47:51 +00:00
pxeboot.cfg.debian Make var and root filesystems LVM based 2022-11-22 13:05:13 +02:00
pxeboot_feed.sh Fix kickstarts patching 2023-10-11 14:40:38 +00:00
pxeboot_setup.sh Debian: add controller-0 pxeboot grub menu setup utility 2022-06-17 15:02:55 +00:00