nix-community/nixos-anywhere

Auto reboot after timeout

Opened this issue · 0 comments

DavHau commented

Is your feature request related to a problem? Please describe.
I lost connection to a host for long time, because I could not connect to the kexec installer and did not have physical access. I had to wait for a person to go to the server and reboot it.

Describe the solution you'd like
If the kexec installer does not receive a connection, reboot automatically after x minutes.
As a default I propose 30 minutes.
We could add a flag --timeout X to customize the timeout minutes and --no-timeout to disable the timeout

Describe alternatives you've considered

Put my head in the sand

Additional context