[pve-devel] [PATCH 1/2] include NVMe devices.

Wolfgang Link w.link at proxmox.com
Fri Feb 26 09:03:20 CET 2016


Gives the possibility to install Proxmox VE on nvme SSD.
---
 proxinstall | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxinstall b/proxinstall
index eaa689b..3469e64 100755
--- a/proxinstall
+++ b/proxinstall
@@ -540,6 +540,8 @@ sub get_partition_dev {
 	return "${dev}p$partnum";
     } elsif ($dev =~ m|^/dev/[^/]+/hd[a-z]$|) {
 	return "${dev}$partnum";
+    } elsif ($dev =~ m|^/dev/nvme\dn\d$|) {
+	return "${dev}p$partnum";
     } else {
 	die "unable to get device for partition $partnum on device $dev\n";
     }
-- 
2.1.4





More information about the pve-devel mailing list