-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): add default-ssh-keys option (#759)
This PR adds the `default-ssh-keys` option which allows you to define a list of SSH keys to be used as defaults for the `hcloud server create` command.
- Loading branch information
Showing
3 changed files
with
35 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
┌───────────────┬──────────────────────┬──────────┬───────────────┬──────────────────────┬─────────────────┐ | ||
│ OPTION │ DESCRIPTION │ TYPE │ CONFIG KEY │ ENVIRONMENT VARIABLE │ FLAG │ | ||
├───────────────┼──────────────────────┼──────────┼───────────────┼──────────────────────┼─────────────────┤ | ||
│ debug │ Enable debug output │ boolean │ debug │ HCLOUD_DEBUG │ --debug │ | ||
├───────────────┼──────────────────────┼──────────┼───────────────┼──────────────────────┼─────────────────┤ | ||
│ debug-file │ File to write debug │ string │ debug_file │ HCLOUD_DEBUG_FILE │ --debug-file │ | ||
│ │ output to │ │ │ │ │ | ||
├───────────────┼──────────────────────┼──────────┼───────────────┼──────────────────────┼─────────────────┤ | ||
│ endpoint │ Hetzner Cloud API │ string │ endpoint │ HCLOUD_ENDPOINT │ --endpoint │ | ||
│ │ endpoint │ │ │ │ │ | ||
├───────────────┼──────────────────────┼──────────┼───────────────┼──────────────────────┼─────────────────┤ | ||
│ poll-interval │ Interval at which to │ duration │ poll_interval │ HCLOUD_POLL_INTERVAL │ --poll-interval │ | ||
│ │ poll information, │ │ │ │ │ | ||
│ │ for example action │ │ │ │ │ | ||
│ │ progress │ │ │ │ │ | ||
├───────────────┼──────────────────────┼──────────┼───────────────┼──────────────────────┼─────────────────┤ | ||
│ quiet │ If true, only print │ boolean │ quiet │ HCLOUD_QUIET │ --quiet │ | ||
│ │ error messages │ │ │ │ │ | ||
└───────────────┴──────────────────────┴──────────┴───────────────┴──────────────────────┴─────────────────┘ | ||
┌──────────────────┬──────────────────────┬─────────────┬──────────────────┬─────────────────────────┬─────────────────┐ | ||
│ OPTION │ DESCRIPTION │ TYPE │ CONFIG KEY │ ENVIRONMENT VARIABLE │ FLAG │ | ||
├──────────────────┼──────────────────────┼─────────────┼──────────────────┼─────────────────────────┼─────────────────┤ | ||
│ debug │ Enable debug output │ boolean │ debug │ HCLOUD_DEBUG │ --debug │ | ||
├──────────────────┼──────────────────────┼─────────────┼──────────────────┼─────────────────────────┼─────────────────┤ | ||
│ debug-file │ File to write debug │ string │ debug_file │ HCLOUD_DEBUG_FILE │ --debug-file │ | ||
│ │ output to │ │ │ │ │ | ||
├──────────────────┼──────────────────────┼─────────────┼──────────────────┼─────────────────────────┼─────────────────┤ | ||
│ default-ssh-keys │ Default SSH keys for │ string list │ default_ssh_keys │ HCLOUD_DEFAULT_SSH_KEYS │ │ | ||
│ │ new servers │ │ │ │ │ | ||
├──────────────────┼──────────────────────┼─────────────┼──────────────────┼─────────────────────────┼─────────────────┤ | ||
│ endpoint │ Hetzner Cloud API │ string │ endpoint │ HCLOUD_ENDPOINT │ --endpoint │ | ||
│ │ endpoint │ │ │ │ │ | ||
├──────────────────┼──────────────────────┼─────────────┼──────────────────┼─────────────────────────┼─────────────────┤ | ||
│ poll-interval │ Interval at which to │ duration │ poll_interval │ HCLOUD_POLL_INTERVAL │ --poll-interval │ | ||
│ │ poll information, │ │ │ │ │ | ||
│ │ for example action │ │ │ │ │ | ||
│ │ progress │ │ │ │ │ | ||
├──────────────────┼──────────────────────┼─────────────┼──────────────────┼─────────────────────────┼─────────────────┤ | ||
│ quiet │ If true, only print │ boolean │ quiet │ HCLOUD_QUIET │ --quiet │ | ||
│ │ error messages │ │ │ │ │ | ||
└──────────────────┴──────────────────────┴─────────────┴──────────────────┴─────────────────────────┴─────────────────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters