BassT23 / Proxmox

Update your Proxmox VE
Other
143 stars 8 forks source link

Feature request: don't wait 45sec on startup VM #127

Open Gauvino opened 2 months ago

Gauvino commented 2 months ago

If it's possible, a new way of checking if the VM is up or not than rather waiting 45sec, because maybe some VM need more time and, some less to start up and the script just loses time to update.

pythongod commented 1 month ago

The problem are probably loops / infinite wait time if a VM does not boot. It should be possible to check the state of a VM with "qm list" and then check if its stopped or started every 1-5s.

BassT23 commented 1 month ago

And here is my problem. Status say only "stopped" or "running", but running does not mean "totally booted up". So I must figure out, how Proxmox could tell me "VM booted up completely", ...

BassT23 commented 1 month ago

I add the start delay time in config, so the user can change this setting easely. For QEMU it seems that this is the only option. For SSH connection, hopefully I can make more ;)