Add extra warning for LVM
This commit is contained in:
parent
40a5a15fce
commit
c1a10aefdc
@ -875,9 +875,14 @@ dev_menu()
|
||||
'back' "$back" || return 0
|
||||
|
||||
if [[ -z $WARN && $choice != 'view' ]]; then
|
||||
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 ;;
|
||||
'part') part_menu && [[ "$AUTO_ROOT" ]] && return 0 ;;
|
||||
|
Reference in New Issue
Block a user