Gleb Natapov wrote:
I'd suggest printf("No bootable device found. Retrying in 5 seconds...\n"); and lowering the timeout.
On host running hundreds of VMs reboot each 5 seconds may generate a lot of unneeded load.
Not a whole lot more than when the VMs are up and running.
Better make it configurable with option to disable the behaviour.
Sure, if 0 then don't retry.
//Peter