diff options
author | John Estabrook <jestabro@vyos.io> | 2023-12-13 18:45:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 18:45:48 -0600 |
commit | 0d6b2d8669f88a12b7edcd88e086939c3b54b904 (patch) | |
tree | 2418944931a418bac54d31625086e08f7ca5d1ae /src | |
parent | 671d012af37729601d3cdfba65beb1daf68229a3 (diff) | |
parent | e3cd779d0bd8dd8be6231c7b2028326a03e6a06c (diff) | |
download | vyos-1x-0d6b2d8669f88a12b7edcd88e086939c3b54b904.tar.gz vyos-1x-0d6b2d8669f88a12b7edcd88e086939c3b54b904.zip |
Merge pull request #2621 from jestabro/clear-raid-on-install
image-tools: T5806: clear previous raid configs on install
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/image_installer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index 9452c5e28..66ce8f2e6 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -179,6 +179,7 @@ def create_partitions(target_disk: str, target_size: int, rootfs_size: int = available_size print(MSG_INFO_INSTALL_PARTITONING) + raid.clear() disk.disk_cleanup(target_disk) disk_details: disk.DiskDetails = disk.parttable_create(target_disk, rootfs_size) |