mirror of
https://github.com/elitak/nixos-infect
synced 2024-11-22 19:23:28 +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
|
if isEFI; then
|
||||||
esp="$(findESP)"
|
esp="$(findESP)"
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
# Retrieve root fs block device
|
# Retrieve root fs block device
|
||||||
|
|
Loading…
Reference in a new issue