summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-12-11 13:55:09 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-12-16 20:37:11 -0600
commitcfa2aeb73110e257fe6adde74c1f1240d35e2a32 (patch)
tree6ff852d7ca5343a6caf4dab204d63b670c638170 /src/op_mode
parent300f902f823be2d031f1ed3b7574332ed51b88b5 (diff)
downloadvyos-1x-cfa2aeb73110e257fe6adde74c1f1240d35e2a32.tar.gz
vyos-1x-cfa2aeb73110e257fe6adde74c1f1240d35e2a32.zip
image-tools: T5806: deactive raid arrays
(cherry picked from commit e3cd779d0bd8dd8be6231c7b2028326a03e6a06c)
Diffstat (limited to 'src/op_mode')
-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 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)