From d74c3a2d459dce5d180ab96ceee0cab1c519e230 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 18 Nov 2024 16:57:28 -0500 Subject: [PATCH] Fix incorrect OVA script names --- api-daemon/pvcapid/ova.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/ova.py b/api-daemon/pvcapid/ova.py index 8b2e5e04..dfa42f55 100755 --- a/api-daemon/pvcapid/ova.py +++ b/api-daemon/pvcapid/ova.py @@ -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, )