diff options
| author | Zuul <zuul@review.opendev.org> | 2021-07-27 12:13:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2021-07-27 12:13:40 +0000 |
| commit | 59256becc93d7953f983e0fbbdef098fefba73ff (patch) | |
| tree | e3fe75386a440b76db371a0b8d3b3afaa09d6b4f /openstackclient | |
| parent | 4f6fe1c0fd0ee5be3cc78961fd334aac0bacd57b (diff) | |
| parent | 280b14abcddf3a308a819771117dd6b72d802642 (diff) | |
| download | python-openstackclient-59256becc93d7953f983e0fbbdef098fefba73ff.tar.gz | |
Merge "compute: Note that '--password' is deployment-specific"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/compute/v2/server.py | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py index 02913e7f..24df46d8 100644 --- a/openstackclient/compute/v2/server.py +++ b/openstackclient/compute/v2/server.py @@ -1012,7 +1012,10 @@ class CreateServer(command.ShowOne): parser.add_argument( '--password', metavar='<password>', - help=_("Set the password to this server"), + help=_( + 'Set the password to this server. ' + 'This option requires cloud support.' + ), ) parser.add_argument( '--security-group', @@ -3142,7 +3145,10 @@ class RebuildServer(command.ShowOne): parser.add_argument( '--password', metavar='<password>', - help=_('Set the password on the rebuilt server'), + help=_( + 'Set the password on the rebuilt server. ' + 'This option requires cloud support.' + ), ) parser.add_argument( '--property', @@ -3435,7 +3441,8 @@ host.""") '--password', metavar='<password>', default=None, help=_( 'Set the password on the evacuated instance. This option is ' - 'mutually exclusive with the --shared-storage option' + 'mutually exclusive with the --shared-storage option. ' + 'This option requires cloud support.' ), ) shared_storage_group.add_argument( @@ -3725,7 +3732,10 @@ class RescueServer(command.Command): parser.add_argument( '--password', metavar='<password>', - help=_("Set the password on the rescued instance"), + help=_( + 'Set the password on the rescued instance. ' + 'This option requires cloud support.' + ), ) return parser @@ -3992,7 +4002,10 @@ class SetServer(command.Command): password_group = parser.add_mutually_exclusive_group() password_group.add_argument( '--password', - help=_('Set the server password'), + help=_( + 'Set the server password. ' + 'This option requires cloud support.' + ), ) password_group.add_argument( '--no-password', |
