mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
timeouts multiply
This commit is contained in:
parent
1acb84016d
commit
77743af16d
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ def setup_template_task(template_id, name, user, ssh_key, cores, memory):
|
||||||
print("[{}] Waiting until Proxmox is done provisioning.".format(name))
|
print("[{}] Waiting until Proxmox is done provisioning.".format(name))
|
||||||
job.meta['status'] = 'waiting for Proxmox'
|
job.meta['status'] = 'waiting for Proxmox'
|
||||||
job.save_meta()
|
job.save_meta()
|
||||||
timeout = 200
|
timeout = 20
|
||||||
retry = 0
|
retry = 0
|
||||||
while retry < timeout:
|
while retry < timeout:
|
||||||
if not VM(vmid).is_provisioned():
|
if not VM(vmid).is_provisioned():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue