From 7956fe0c3b2cfcd493a2c61eac5ce33b3288eddc Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 21 Oct 2021 17:16:20 -0500 Subject: [PATCH] nvme fix#2 --- 0-preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index b879d0d..af3fc83 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -66,7 +66,7 @@ sgdisk -c 2:"ROOT" ${DISK} # make filesystems echo -e "\nCreating Filesystems...\n$HR" -if [[ "${DISK}" == "nvme"* ]]; then +if [[ ${DISK} =~ "nvme" ]]; then mkfs.vfat -F32 -n "UEFISYS" "${DISK}p1" mkfs.btrfs -L "ROOT" "${DISK}p2" mount -t btrfs "${DISK}p2" /mnt