fix: better desc and fixed missing argument gdisk

master
Toerd@archlinux 5 years ago
parent a81a6432fa
commit 14eb23da6a

@ -17,7 +17,7 @@ init() {
read -sp "Repeat: " CHECK read -sp "Repeat: " CHECK
done done
# Show some possible disks # Show some possible disks
[ -z "$DEV" ] && lsblk -nrpo "name,size,model" && read -p "Provide installation medium (e.g. /dev/sda): " DEV [ -z "$DEV" ] && lsblk -nrpo "name,size,model" && read -p "Provide installation medium (e.g. sda, nvme0n1): " DEV
[[ "$DEV" =~ sd[a-z] ]] && SUF="1-3" && MODE="SATA" [[ "$DEV" =~ sd[a-z] ]] && SUF="1-3" && MODE="SATA"
[[ "$DEV" =~ nvme[0-9]n[0-9] ]] && SUF="p1-3" && MODE="NVME" [[ "$DEV" =~ nvme[0-9]n[0-9] ]] && SUF="p1-3" && MODE="NVME"
@ -39,7 +39,7 @@ set -e
init init
# All values set, start bootstrapping # All values set, start bootstrapping
gdisk <<EOF gdisk /dev/$DEV <<EOF
o o
y y
n n

Loading…
Cancel
Save