correctly set volume labels for nvme

This commit is contained in:
fenris 2021-12-09 09:54:52 +01:00
parent afbacbe3c2
commit 7da033e05b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ mountallsubvol () {
mount -o noatime,compress=zstd,space_cache,commit=120,subvol=@.snapshots /dev/mapper/ROOT /mnt/.snapshots
mount -o subvol=@var /dev/mapper/ROOT /mnt/var
}
if [[ "${DISK}" == "nvme" ]]; then
if [[ "${DISK}" =~ "nvme" ]]; then
if [[ "${FS}" == "btrfs" ]]; then
mkfs.vfat -F32 -n "EFIBOOT" ${DISK}p2
mkfs.btrfs -L ROOT ${DISK}p3 -f