mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "openstack image create: honor protection/visibility flags"
This commit is contained in:
commit
6776cec809
1 changed files with 2 additions and 0 deletions
|
|
@ -490,6 +490,8 @@ class CreateImage(command.ShowOne):
|
|||
parsed_args.name,
|
||||
parsed_args.container_format,
|
||||
parsed_args.disk_format,
|
||||
visibility=kwargs.get('visibility', 'private'),
|
||||
protected=True if parsed_args.protected else False
|
||||
)
|
||||
info = body['os-volume_upload_image']
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue