diff options
author | Kim Hagen <kim@sentrium.io> | 2021-09-03 08:46:16 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-09-03 08:47:46 -0500 |
commit | 5b0e490d96d8a82de704728fc096800638383658 (patch) | |
tree | bee2d3dd93a09932888580314f2abece2d0c9f44 | |
parent | 02a765bda77bf0208e8f92c1bcfbd0e744ac1d2c (diff) | |
download | vyatta-cfg-system-5b0e490d96d8a82de704728fc096800638383658.tar.gz vyatta-cfg-system-5b0e490d96d8a82de704728fc096800638383658.zip |
T1785: Deleting partitions on disks (Raid1) with default value 'no'
the default was still set to "Yes"
-rwxr-xr-x | scripts/install/install-get-partition | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 5d4f5541..1a96ac81 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -246,7 +246,7 @@ check_for_new_raid () { # Configure RAID-1 echo "This process will erase all data on both drives." echo -n "Are you sure you want to do this? (Yes/No) [No]: " - response=$(get_response "Yes" "Yes No Y N") + response=$(get_response "No" "Yes No Y N") if [ "$response" == "no" ] || [ "$response" == "n" ]; then echo "Ok. Not configuring RAID-1." return |