nvme fix#2

This commit is contained in:
Chris Titus 2021-10-21 17:16:20 -05:00
parent f81c62f99e
commit 7956fe0c3b
1 changed files with 1 additions and 1 deletions

View File

@ -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