diff options
author | Brooks Swinnerton <bswinnerton@gmail.com> | 2018-11-05 20:57:56 -0500 |
---|---|---|
committer | Brooks Swinnerton <bswinnerton@gmail.com> | 2018-11-05 20:57:56 -0500 |
commit | fe1aea4a643225f573f90f00625116ead86fc89b (patch) | |
tree | ff98ecc459193ed38cf2b0ae30d904e51fe5541f | |
parent | 018860f21eb4151df5e0b719ad9b66331786ac4e (diff) | |
download | vyatta-cfg-system-fe1aea4a643225f573f90f00625116ead86fc89b.tar.gz vyatta-cfg-system-fe1aea4a643225f573f90f00625116ead86fc89b.zip |
T967: Include nvme drives when probing
-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 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 |