From 2c62b9131b74bccf0e8c7e2a7aec054c8eb9a031 Mon Sep 17 00:00:00 2001 From: webmalex Date: Tue, 16 Jul 2019 15:02:15 +0200 Subject: [PATCH] fix for VIRTIO disk in KVM --- debian-buster-zfs-root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian-buster-zfs-root.sh b/debian-buster-zfs-root.sh index 39bb1d8..61f0755 100755 --- a/debian-buster-zfs-root.sh +++ b/debian-buster-zfs-root.sh @@ -44,7 +44,7 @@ while read -r IDLINK; do BYID["$(basename "$(readlink "$IDLINK")")"]="$IDLINK" done < <(find /dev/disk/by-id/ -type l) -for DISK in $(lsblk -I8 -dn -o name); do +for DISK in $(lsblk -I8,254,259 -dn -o name); do if [ -z "${BYID[$DISK]}" ]; then SELECT+=("$DISK" "(no /dev/disk/by-id persistent device name available)" off) else