metal/installer
Kyale, Eliud 8d530d8362 Fix _update_pxe_config() backwards compatibility
_update_pxe_config() calls pxeboot-update-99.99.sh script
during an upgrade host unlock the script may have an input file with
lowlatency as part of its name.
lowlatency install files have been recently removed.

To maintain backwards compatibility in older releases that call this
script, we shall strip the lowlatency string from the filename
and use the standard pxe installer file.

For example

pxeboot/pxelinux.cfg.files/pxe-smallsystem_lowlatency-install-99.99

becomes

pxeboot/pxelinux.cfg.files/pxe-smallsystem-install-99.99

Test plan:

PASS - AIO-SX: iso install
PASS - AIO-DX: iso install
PASS - AIO-SX: upgrade

Story: 2010676
Task: 50973

Change-Id: I46f09e38f74c41f8e72f70da84680cdd788f376b
Signed-off-by: Kyale, Eliud <Eliud.Kyale@windriver.com>
2024-09-05 19:16:11 -04:00
..
initrd Shorten "addons/wr-cgcs/layers/cgcs" to just "stx" 2018-07-04 11:03:59 -04:00
pxe-network-installer Fix _update_pxe_config() backwards compatibility 2024-09-05 19:16:11 -04:00