Ensure OVAs set migration_max_downtime

This commit is contained in:
Joshua Boniface 2024-11-18 17:12:49 -05:00
parent d74c3a2d45
commit 9db46d48e4
1 changed files with 8 additions and 1 deletions

View File

@ -401,7 +401,14 @@ def upload_ova(zkhandler, pool, name, ova_size):
vnc = False vnc = False
serial = True serial = True
retdata, retcode = provisioner.create_template_system( retdata, retcode = provisioner.create_template_system(
name, vcpu_count, vram_mb, serial, vnc, vnc_bind=None, ova=ova_id name,
vcpu_count,
vram_mb,
serial,
vnc,
vnc_bind=None,
ova=ova_id,
migration_max_downtime=300,
) )
if retcode != 200: if retcode != 200:
return retdata, retcode return retdata, retcode