Also check for /dev/xvda (Xen) (#88)

This commit is contained in:
Vincent Bernat 2021-12-31 06:58:42 +01:00 committed by GitHub
parent e067a2db7b
commit be0cbff9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,7 @@ prepareEnv() {
if isEFI; then
esp="$(findESP)"
else
for grubdev in /dev/vda /dev/sda /dev/nvme0n1 ; do [[ -e $grubdev ]] && break; done
for grubdev in /dev/vda /dev/sda /dev/xvda /dev/nvme0n1 ; do [[ -e $grubdev ]] && break; done
fi
# Retrieve root fs block device