diff --git a/osism/commands/manage.py b/osism/commands/manage.py index 567bbba4..c9427c19 100644 --- a/osism/commands/manage.py +++ b/osism/commands/manage.py @@ -217,6 +217,13 @@ def get_parser(self, prog_name): parser.add_argument( "--cloud", type=str, help="Cloud name in clouds.yaml", default="admin" ) + parser.add_argument( + "--name", + type=str, + help="Name of flavor definitions", + default="scs", + choices=["scs", "osism", "local"], + ) parser.add_argument( "--recommended", default=False, @@ -228,9 +235,10 @@ def get_parser(self, prog_name): def take_action(self, parsed_args): cloud = parsed_args.cloud + name = parsed_args.name recommended = parsed_args.recommended - arguments = [] + arguments = [f"--name '{name}'"] if cloud: arguments.append(f"--cloud '{cloud}'")