
During prestage with a prestage iso, the existing filesystem must not be overwritten if an installation with an install_guid exists, when the force_install parameter is not specified. However, when logical volumes are used, the check for a valid installation does not succeed, resulting in the installer overwriting the existing installation. This commit fixes this issue by inspecting the volume for an installation. This commit also ensures that if an invalid storage device is specified for root device, then a failure is reported and the system breaks into a bash shell. Test Plan: PASS: Verify that the installer does not overwrite an existing installation with an install_guid. PASS: Verify that the installer reports an error and breaks into a bash shell if an invalid storage device is specified for root device. Closes-Bug: 2002999 Change-Id: I1d4ef10ce741b98455c65467367448e05f37fd64 Signed-off-by: Shrikumar Sharma <shrikumar.sharma@windriver.com>
metal
StarlingX Bare Metal Management
Description
Languages
C++
83%
Shell
10.2%
Python
3.3%
C
2.5%
Makefile
1%