1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-09 20:21:34 -05:00

Better disks selection.

This commit is contained in:
Tommaso Chiti 2021-02-07 10:16:53 +01:00
parent 2dca5f98b1
commit de35ad76d3

View File

@ -8,8 +8,9 @@ set -e
# Selecting the target for the installation.
PS3="Select the disk where Arch Linux is going to be installed: "
select ENTRY in $(lsblk -dpnoNAME);
select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme");
do
echo "Available disks":
DISK=$ENTRY
echo "Installing Arch Linux on $DISK."
break