mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-16 20:00:36 +03:00
fix kexec test
This commit is contained in:
parent
536e7463d5
commit
ede67c8d6f
@ -67,11 +67,10 @@ ssh_() {
|
||||
}
|
||||
|
||||
# first check if the remote system is kexec booted
|
||||
if $(ssh_ -- test -e /etc/is-kexec); then
|
||||
if $(ssh_ -- test -e /etc/is_kexec); then
|
||||
is_kexec=y
|
||||
fi
|
||||
|
||||
|
||||
echo ${is_kexec-n}
|
||||
if [ ${is_kexec-n} != "y" ]; then
|
||||
# TODO we probably need an architecture detection here
|
||||
|
Loading…
Reference in New Issue
Block a user