fix kexec test

This commit is contained in:
lassulus 2022-11-12 11:47:10 +01:00
parent 536e7463d5
commit ede67c8d6f

View File

@ -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