mirror of
https://github.com/elitak/nixos-infect
synced 2024-11-10 05:54:20 +00:00
Also check for /dev/xvda (Xen) (#88)
This commit is contained in:
parent
e067a2db7b
commit
be0cbff9e0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue