Browse Source

Merge "Don't allow --config-download-only with --baremetal-deployment"

changes/81/794881/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
af32e92ab1
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      tripleoclient/v1/overcloud_deploy.py

+ 7
- 0
tripleoclient/v1/overcloud_deploy.py View File

@ -513,6 +513,13 @@ class DeployOvercloud(command.Command):
"Error: --deployed-server must be used when using "
"--baremetal-deployment")
if (parsed_args.baremetal_deployment
and (parsed_args.config_download_only
or parsed_args.setup_only)):
raise oscexc.CommandError(
"Error: --config-download-only/--setup-only must not be "
"used when using --baremetal-deployment")
if parsed_args.environment_directories:
self._validate_args_environment_directory(
parsed_args.environment_directories)


Loading…
Cancel
Save