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:
parent
2dca5f98b1
commit
de35ad76d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user