Ensure OVAs set migration_max_downtime
This commit is contained in:
parent
d74c3a2d45
commit
9db46d48e4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue