]> git.proxmox.com Git - pve-installer.git/commitdiff
include NVMe devices.
authorWolfgang Link <w.link@proxmox.com>
Fri, 26 Feb 2016 08:03:20 +0000 (09:03 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 26 Feb 2016 08:30:03 +0000 (09:30 +0100)
Gives the possibility to install Proxmox VE on nvme SSD.

proxinstall

index eaa689bb426627b503b9122919ad6100a685ccda..6d2792ac10b0cdab7ad604fdeb5620ca12bb5c8b 100755 (executable)
@@ -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\d+n\d+$|) {
+       return "${dev}p$partnum";
     } else {
        die "unable to get device for partition $partnum on device $dev\n";
     }