nixos-anywhere icon indicating copy to clipboard operation
nixos-anywhere copied to clipboard

Timeout: add seperate flags for reboot and ssh timeout

Open hsjobeki opened this issue 1 year ago • 2 comments

cc: @Lassulus since you added the infinite loops; Can you check if this works for you?

hsjobeki avatar Aug 08 '24 14:08 hsjobeki

it seems the script aborts after the first ssh error if the retry_limits are not defined

Lassulus avatar Aug 11 '24 07:08 Lassulus

Logic LGTM, but as written --reboot-retry-limit doesn't seem to have to do anything with the actual reboot (into the installed system, at the very end), but just retries connecting after kexec. While kexec could be considered a form of reboot, I think this naming could confuse users and would suggest something like --kexec-connection-retries or so

phaer avatar Oct 19 '24 11:10 phaer