Add functionality for NVMe (#2101)

This commit is contained in:
Daniel Hansson 2021-09-09 10:13:40 +02:00 committed by GitHub
parent da008b45f1
commit 62fbe65d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,10 @@ elif partprobe /dev/sdb &>/dev/null;
then
SYSNAME="machines"
DEVTYPE=sdb
elif partprobe /dev/nvme0n1 &>/dev/null;
then
SYSNAME="NVMe"
DEVTYPE=nvme0n1
else
msg_box "It seems like you didn't add a second disk.
To be able to put the DATA on a second drive formatted as ZFS you need to add a second disk to this server.

View File

@ -70,6 +70,10 @@ elif partprobe /dev/sdb &>/dev/null;
then
SYSNAME="machines"
DEVTYPE=sdb
elif partprobe /dev/nvme0n1 &>/dev/null;
then
SYSNAME="NVMe"
DEVTYPE=nvme0n1
else
msg_box "It seems like you didn't add a second disk.
To be able to put the DATA on a second drive formatted as ZFS you need to add a second disk to this server.