diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2019-12-18 16:22:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-18 16:22:02 -0500 |
commit | 8116493950e7c47af0ce66fc1bb5d799ce5e477a (patch) | |
tree | 7ab8d13664dbe9190e9ddd535bcd97d17c0442d9 /cloudinit/config/cc_ssh_import_id.py | |
parent | d6fed57d82ac1dfa40dcdf166b0986f1c4321163 (diff) | |
download | vyos-cloud-init-8116493950e7c47af0ce66fc1bb5d799ce5e477a.tar.gz vyos-cloud-init-8116493950e7c47af0ce66fc1bb5d799ce5e477a.zip |
cloud-init: fix capitalisation of SSH (#126)
* cc_ssh: fix capitalisation of SSH
* doc: fix capitalisation of SSH
* cc_keys_to_console: fix capitalisation of SSH
* ssh_util: fix capitalisation of SSH
* DataSourceIBMCloud: fix capitalisation of SSH
* DataSourceAzure: fix capitalisation of SSH
* cs_utils: fix capitalisation of SSH
* distros/__init__: fix capitalisation of SSH
* cc_set_passwords: fix capitalisation of SSH
* cc_ssh_import_id: fix capitalisation of SSH
* cc_users_groups: fix capitalisation of SSH
* cc_ssh_authkey_fingerprints: fix capitalisation of SSH
Diffstat (limited to 'cloudinit/config/cc_ssh_import_id.py')
-rwxr-xr-x | cloudinit/config/cc_ssh_import_id.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cloudinit/config/cc_ssh_import_id.py b/cloudinit/config/cc_ssh_import_id.py index 6b46dafe..63f87298 100755 --- a/cloudinit/config/cc_ssh_import_id.py +++ b/cloudinit/config/cc_ssh_import_id.py @@ -9,9 +9,9 @@ """ SSH Import Id ------------- -**Summary:** import ssh id +**Summary:** import SSH id -This module imports ssh keys from either a public keyserver, usually launchpad +This module imports SSH keys from either a public keyserver, usually launchpad or github using ``ssh-import-id``. Keys are referenced by the username they are associated with on the keyserver. The keyserver can be specified by prepending either ``lp:`` for launchpad or ``gh:`` for github to the username. @@ -98,12 +98,12 @@ def import_ssh_ids(ids, user, log): raise exc cmd = ["sudo", "-Hu", user, "ssh-import-id"] + ids - log.debug("Importing ssh ids for user %s.", user) + log.debug("Importing SSH ids for user %s.", user) try: util.subp(cmd, capture=False) except util.ProcessExecutionError as exc: - util.logexc(log, "Failed to run command to import %s ssh ids", user) + util.logexc(log, "Failed to run command to import %s SSH ids", user) raise exc # vi: ts=4 expandtab |