Page MenuHomeVyOS Platform

Deleting partitions on disks (Raid1) with default value 'no'
Closed, ResolvedPublicBUG

Description

When the clean installation is in progress on 2 disks with RAID-1
After Question "Are you sure you want to do this? " default value "No"
If press enter - that provide Deleteing old partition on both drives anyway.

vyos@vyos:~$ install image 
Welcome to the VyOS install program.  This script
will walk you through the process of installing the
VyOS image to a local hard drive.
Would you like to continue? (Yes/No) [Yes]: 
Probing drives: OK
Looking for pre-existing RAID groups...none found.
You have two disk drives:
	vda 	4294 MB
	vdb 	4294 MB
Would you like to configure RAID-1 mirroring on them? (Yes/No) [Yes]:
This process will erase all data on both drives.
Are you sure you want to do this? (Yes/No)  [No]: 
Deleting old partitions on drive vda
Deleting old partitions on drive vdb
Creating data partition: /dev/vda1
sfdisk: Done
Creating data partition: /dev/vdb1
sfdisk: Done

Details

Difficulty level
Unknown (require assessment)
Version
1.2-rolling-201911021616
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

syncer changed the task status from Open to Needs testing.Nov 16 2019, 10:50 PM
syncer assigned this task to zsdc.
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 6:22 PM
UnicronNL closed this task as Resolved.EditedSep 4 2021, 10:45 AM

Updated default response to "No"