Add extra warning for LVM
This commit is contained in:
parent
40a5a15fce
commit
c1a10aefdc
@ -875,8 +875,13 @@ dev_menu()
|
||||
'back' "$back" || return 0
|
||||
|
||||
if [[ -z $WARN && $choice != 'view' ]]; then
|
||||
msg "Data Warning" "$_warn"
|
||||
WARN=true
|
||||
if [[ -z $LVMWARN && $choice == 'lvm' ]]; then
|
||||
msg "LVM Warning" "\nIMPORTANT: Choose carefully when setting up LVM, the partitions chosen will be formatted and your DATA WILL BE LOST.\n\nLogical volumes created will need to be formatted before install.\n"
|
||||
LVMWARN=true
|
||||
else
|
||||
msg "Data Warning" "$_warn"
|
||||
WARN=true
|
||||
fi
|
||||
fi
|
||||
case "$choice" in
|
||||
'view') part_show ;;
|
||||
|
Reference in New Issue
Block a user