diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-11-26 16:24:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 16:24:05 +0000 |
commit | 6de77f563a65e79cd409610c22751d01ae17593a (patch) | |
tree | 321edd8fd5bb88d997ee6212ec45678fd75002c9 /scripts/install/install-functions | |
parent | 4072b81833be0476c8244e13f3fc6d27a01c708c (diff) | |
parent | 057e167fa84e0aec59f10301fd065c58c7cebfb1 (diff) | |
download | vyatta-cfg-system-6de77f563a65e79cd409610c22751d01ae17593a.tar.gz vyatta-cfg-system-6de77f563a65e79cd409610c22751d01ae17593a.zip |
Merge pull request #191 from incitem/T4776-equuleus-backport
nvme: T4776: Fixed installation to NVME (equuleus backport of fix by zdc)
Diffstat (limited to 'scripts/install/install-functions')
-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 458d2e63..b3ec42c1 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]$|nvme[0-9]n[0-9]|mmcblk[0-9]" | \ + egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]$|mmcblk[0-9]" | \ egrep -v "^$" | sort) #this needs more testing to decide if better than above |