summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-12-11 13:55:09 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-12-13 15:51:02 -0600
commite3cd779d0bd8dd8be6231c7b2028326a03e6a06c (patch)
treed2d2b1391c1b0f648a836c1bf2b9b36e578f231a /src
parentea30fc962049226e869171f69c6ab1879f9e7085 (diff)
downloadvyos-1x-e3cd779d0bd8dd8be6231c7b2028326a03e6a06c.tar.gz
vyos-1x-e3cd779d0bd8dd8be6231c7b2028326a03e6a06c.zip
image-tools: T5806: deactive raid arrays
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/image_installer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py
index b3e6e518c..8e01a9ea4 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)