feat(cli/configssh): add support for wait yes/no/auto (#7893)

Refs #7768
This commit is contained in:
Mathias Fredriksson
2023-06-08 14:06:50 +00:00
committed by GitHub
parent 94aa9be33a
commit a1c32954d9
4 changed files with 104 additions and 22 deletions
+14 -3
View File
@@ -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
| | |