Fix incorrect OVA script names

This commit is contained in:
Joshua Boniface 2024-11-18 16:57:28 -05:00
parent f4e946c262
commit d74c3a2d45
1 changed files with 5 additions and 1 deletions

View File

@ -179,6 +179,10 @@ def upload_ova(zkhandler, pool, name, ova_size):
}
retcode = 400
return output, retcode
else:
ova_script = "default_ova"
else:
ova_script = "ova"
ova_archive = None
@ -414,7 +418,7 @@ def upload_ova(zkhandler, pool, name, ova_size):
None,
None,
userdata=None,
script="default_ova",
script=ova_script,
ova=name,
arguments=None,
)