Skip to content

Commit

Permalink
Merge pull request hn#1 from webmalex/master
Browse files Browse the repository at this point in the history
fix for VIRTIO disk in KVM
  • Loading branch information
hn authored Jul 16, 2019
2 parents 38ff3c4 + 2c62b91 commit 99203bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian-buster-zfs-root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99203bc

Please sign in to comment.