mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli/configssh): add support for wait yes/no/auto (#7893)
Refs #7768
This commit is contained in:
+14
-3
@@ -46,9 +46,10 @@ Specifies the path to an SSH config.
|
||||
|
||||
### --ssh-host-prefix
|
||||
|
||||
| | |
|
||||
| ---- | ------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| | |
|
||||
| ----------- | --------------------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_CONFIGSSH_SSH_HOST_PREFIX</code> |
|
||||
|
||||
Override the default host prefix.
|
||||
|
||||
@@ -70,6 +71,16 @@ Specifies additional SSH options to embed in each host stanza.
|
||||
|
||||
Specifies whether or not to keep options from previous run of config-ssh.
|
||||
|
||||
### --wait
|
||||
|
||||
| | |
|
||||
| ----------- | ---------------------------------- | --- | ------------ |
|
||||
| Type | <code>enum[yes | no | auto]</code> |
|
||||
| Environment | <code>$CODER_CONFIGSSH_WAIT</code> |
|
||||
| Default | <code>auto</code> |
|
||||
|
||||
Specifies whether or not to wait for the startup script to finish executing. Auto means that the agent startup script behavior configured in the workspace template is used.
|
||||
|
||||
### -y, --yes
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user