mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add docs explaining key name in environment
This commit is contained in:
parent
a98d31775f
commit
3f3610f670
1 changed files with 7 additions and 3 deletions
10
tools/vm.py
10
tools/vm.py
|
@ -78,7 +78,7 @@ vm.add_argument("--region", help="The AWS region.", default=AWS_REGION)
|
|||
"choices": list(AMIS),
|
||||
},
|
||||
"key_name": {
|
||||
"help": "The SSH key name.",
|
||||
"help": "The SSH key name. Will default to TOOLS_KEY_NAME in environment",
|
||||
},
|
||||
"instance_type": {
|
||||
"help": "The instance type to use.",
|
||||
|
@ -566,7 +566,9 @@ def download_artifacts(ctx: Context, name: str):
|
|||
@vm.command(
|
||||
name="sync-cache",
|
||||
arguments={
|
||||
"key_name": {"help": "The SSH key name."},
|
||||
"key_name": {
|
||||
"help": "The SSH key name. Will default to TOOLS_KEY_NAME in environment"
|
||||
},
|
||||
"delete": {
|
||||
"help": "Delete the entries in the cache that don't align with ec2",
|
||||
"action": "store_true",
|
||||
|
@ -626,7 +628,9 @@ def sync_cache(
|
|||
@vm.command(
|
||||
name="list",
|
||||
arguments={
|
||||
"key_name": {"help": "The SSH key name."},
|
||||
"key_name": {
|
||||
"help": "The SSH key name. Will default to TOOLS_KEY_NAME in environment"
|
||||
},
|
||||
"states": {
|
||||
"help": "The instance state to filter by.",
|
||||
"flags": ["-s", "-state"],
|
||||
|
|
Loading…
Add table
Reference in a new issue