summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Swinnerton <bswinnerton@gmail.com>2018-11-05 20:57:56 -0500
committerBrooks Swinnerton <bswinnerton@gmail.com>2018-11-05 20:57:56 -0500
commitfe1aea4a643225f573f90f00625116ead86fc89b (patch)
treeff98ecc459193ed38cf2b0ae30d904e51fe5541f
parent018860f21eb4151df5e0b719ad9b66331786ac4e (diff)
downloadvyatta-cfg-system-fe1aea4a643225f573f90f00625116ead86fc89b.tar.gz
vyatta-cfg-system-fe1aea4a643225f573f90f00625116ead86fc89b.zip
T967: Include nvme drives when probing
-rwxr-xr-xscripts/install/install-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions
index d241e040..afda4d91 100755
--- a/scripts/install/install-functions
+++ b/scripts/install/install-functions
@@ -151,7 +151,7 @@ get_drive_size () {
# Probe hardrives not shown in /proc/partitions by default
probe_drives () {
# Find drives that may not be in /proc/partitions since not mounted
- drive=$(ls /sys/block | grep '[hsv]d.')
+ drive=$(ls /sys/block | grep '[hsv]d.|nvme.')
# now exclude all drives that are read-only
for drive in $drive; do