diff options
-rwxr-xr-x | scripts/install/install-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions index afda4d91..d65a6c6c 100755 --- a/scripts/install/install-functions +++ b/scripts/install/install-functions @@ -176,7 +176,7 @@ select_drive () { # the first grep pattern looks for devices named c0d0, hda, and sda. drives=$(cat /proc/partitions | \ awk '{ if ($4!="name") { print $4 } }' | \ - egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$" | \ + egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]" | \ egrep -v "^$") # take the first drive as the default |