summaryrefslogtreecommitdiff
path: root/scripts/install/install-get-partition
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-06 09:10:10 +0700
committerGitHub <noreply@github.com>2018-11-06 09:10:10 +0700
commit12fddd72207087e3a8f420e79a50c43c13749b74 (patch)
tree24283ddc6b0ea30753609c4161e9fa078634fca2 /scripts/install/install-get-partition
parent018860f21eb4151df5e0b719ad9b66331786ac4e (diff)
parent645875f060705d8e12235d5d444c9fc8d4a615fa (diff)
downloadvyatta-cfg-system-12fddd72207087e3a8f420e79a50c43c13749b74.tar.gz
vyatta-cfg-system-12fddd72207087e3a8f420e79a50c43c13749b74.zip
Merge pull request #82 from bswinnerton/support-nvme-in-installations
T967: Support NVMe drives in installer
Diffstat (limited to 'scripts/install/install-get-partition')
-rwxr-xr-xscripts/install/install-get-partition2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index d6bb5524..e44fcec1 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -699,7 +699,7 @@ create_partitions() {
fi
# set the partition number on the device.
- if [ -n "$( echo $ldrive | grep -E "cciss|ida" )" ]; then
+ if [ -n "$( echo $ldrive | grep -E "cciss|ida|nvme" )" ]; then
# if this is a cciss
ROOT_PARTITION=$ldrive"p1"
else