mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Better disks selection.
This commit is contained in:
parent
2dca5f98b1
commit
de35ad76d3
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue