diff options
author | John Estabrook <jestabro@vyos.io> | 2023-12-11 11:43:05 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-12-16 20:37:11 -0600 |
commit | 58dcd542f5b06c6d0e335b0476b76cde6920be80 (patch) | |
tree | 1ea7740d8c8c43665862be01b693655bbc5cd775 /python/vyos/system/raid.py | |
parent | e2a7c953be727ca8578511c39212fa4c73222a0c (diff) | |
download | vyos-1x-58dcd542f5b06c6d0e335b0476b76cde6920be80.tar.gz vyos-1x-58dcd542f5b06c6d0e335b0476b76cde6920be80.zip |
image-tools: T5806: remove partition and disk signatures in cleanup
(cherry picked from commit ea30fc962049226e869171f69c6ab1879f9e7085)
Diffstat (limited to 'python/vyos/system/raid.py')
-rw-r--r-- | python/vyos/system/raid.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/system/raid.py b/python/vyos/system/raid.py index 13b99fa69..616d1adf7 100644 --- a/python/vyos/system/raid.py +++ b/python/vyos/system/raid.py @@ -54,9 +54,6 @@ def raid_create(raid_members: list[str], drive: str = disk.partition_parent(part) command: str = f'sgdisk --typecode=3:A19D880F-05FC-4D3B-A006-743F0F84911E {drive}' cmd(command) - for part in raid_members: - command: str = f'mdadm --zero-superblock {part}' - cmd(command) command: str = f'mdadm --create /dev/{raid_name} -R --metadata=1.0 \ --raid-devices={raid_devices_num} --level={raid_level} \ {raid_members_str}' |