Kyle MacLeod f7759d4309 miniboot: Support persistent_size install value in debian
Support persistent_size boot option used in install
values during 'dcmanager subcloud add' operation.
- Handle persistent_size increase from previous.
- Disallow persistent_size decrease from previous.

Other changes:
- Drop into shell on boot failure (avoid kernel panic).
  This change is pulled in from kickstart.cfg
- Add extra wait for interface to settle after adding
  route. During testing it is found that we need to
  wait longer here before proceeding.

Test Plan
PASS:
- Boot with existing partitions
- Boot with non-existing partitions
- Boot with default persistent_size setting
- Boot with persistent_size larger than previous
    - Partition size is extended
    - Filesystem is resized
- Boot with persistent_size smaller than previous
    - Warning message is printed
    - persistent_size setting is ignored
    - Previous partition and filesystem sizes are used

Story: 2010118
Task: 46144

Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: I9fc9a49a15e36e5dd5d56907f1019cf219882ae5
2022-09-02 12:28:33 -04:00
2022-09-01 12:35:06 +00:00
2019-04-19 19:52:33 +00:00
2018-05-31 07:36:43 -07:00

metal

StarlingX Bare Metal Management

Description
StarlingX Bare Metal and Node Management, Hardware Maintenance
Readme 15 MiB
Languages
C++ 83%
Shell 10.2%
Python 3.3%
C 2.5%
Makefile 1%