metal/kickstart
Kyle MacLeod d807f6b65e Fix prestage ISO install abort if previous subcloud install exists
This commit fixes the detection of www/pages/feed/rel-xx.x/install_uuid
via device '/dev/cgts-vg/var-lv'. There was a bug which was always
mounting the same device, rather than the proper device_list.

The code is also slightly refactored for simplification and clarity.

Test Plan
PASS:
- Generate ISO using gen-prestage-iso.sh without --force-install option
    - Verify installation failure (drop to boot prompt) if previous
      subcloud installation exists
    - Verify successful subcloud installation if no previous
      subcloud installation exists
- Generate ISO using gen-prestage-iso.sh with --force-install option
    - Verify successful installation regardless if previous subcloud
      installation exists or not

Closes-Bug: 2020526
Change-Id: Ib83d72fa07335ffa29d365da7813b226c4ef310b
Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
2023-05-23 10:51:54 -04:00
..
centos relocate /www to /var/www 2021-12-10 16:41:42 -05:00
debian Update platform-kickstarts debian package ver based on git 2023-02-22 20:06:43 +00:00
files Fix prestage ISO install abort if previous subcloud install exists 2023-05-23 10:51:54 -04:00
opensuse relocate /www to /var/www 2021-12-10 16:41:42 -05:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00