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, )