pkgs/openwrt: ignore sysupgrade exit code in sshScript

This commit is contained in:
Astro 2022-06-23 18:14:27 +02:00
parent ad02ac3975
commit fd6b70d89c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ in rec {
#! ${pkgs.runtimeShell} -e
ssh root@${address} "cat > /tmp/openwrt-image" < ${buildImage hostName}/openwrt-*-${hostName}-*-sysupgrade.bin
ssh root@${address} "sysupgrade -n /tmp/openwrt-image"
ssh root@${address} "sysupgrade -n /tmp/openwrt-image" || true
# ssh hostkey will have changed after boot
ssh-keygen -R ${address}