From d5f9077eb71bf003c07a2aba6d92dde584fba4d4 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Fri, 4 Oct 2024 15:28:05 +0200 Subject: [PATCH] Fix --images paraeter of osism manage images command (#1081) Signed-off-by: Christian Berendt --- osism/commands/manage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osism/commands/manage.py b/osism/commands/manage.py index ddaed466..2c6623e3 100644 --- a/osism/commands/manage.py +++ b/osism/commands/manage.py @@ -228,12 +228,15 @@ def take_action(self, parsed_args): arguments.append("--latest") if hide: arguments.append("--hide") + if images: arguments.append(f"--images '{images}'") + else: + arguments.append("--images /etc/images") joined_arguments = " ".join(arguments) subprocess.call( - f"/usr/local/bin/openstack-image-manager --images=/etc/images {joined_arguments}", + f"/usr/local/bin/openstack-image-manager {joined_arguments}", shell=True, )