Fixed efi being the default type
This commit is contained in:
parent
119cdd53ba
commit
a334d50921
|
@ -206,7 +206,7 @@ create_default_disk_layout() {
|
||||||
local efi=true
|
local efi=true
|
||||||
case "$type" in
|
case "$type" in
|
||||||
'bios') efi=false ;;
|
'bios') efi=false ;;
|
||||||
'efi') efi=true ;;
|
'efi'|'') efi=true ;;
|
||||||
*) die_trace 1 "Invalid argument type=$type, must be one of (bios, efi)" ;;
|
*) die_trace 1 "Invalid argument type=$type, must be one of (bios, efi)" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ create_raid0_luks_layout() {
|
||||||
local efi=true
|
local efi=true
|
||||||
case "$type" in
|
case "$type" in
|
||||||
'bios') efi=false ;;
|
'bios') efi=false ;;
|
||||||
'efi') efi=true ;;
|
'efi'|'') efi=true ;;
|
||||||
*) die_trace 1 "Invalid argument type=$type, must be one of (bios, efi)" ;;
|
*) die_trace 1 "Invalid argument type=$type, must be one of (bios, efi)" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue