pkgs/openwrt: ignore sysupgrade exit code in sshScript
This commit is contained in:
parent
ad02ac3975
commit
fd6b70d89c
|
@ -27,7 +27,7 @@ in rec {
|
||||||
#! ${pkgs.runtimeShell} -e
|
#! ${pkgs.runtimeShell} -e
|
||||||
|
|
||||||
ssh root@${address} "cat > /tmp/openwrt-image" < ${buildImage hostName}/openwrt-*-${hostName}-*-sysupgrade.bin
|
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 hostkey will have changed after boot
|
||||||
ssh-keygen -R ${address}
|
ssh-keygen -R ${address}
|
||||||
|
|
Loading…
Reference in New Issue