diff options
| author | zsdc <taras@vyos.io> | 2020-03-11 21:20:58 +0200 | 
|---|---|---|
| committer | zsdc <taras@vyos.io> | 2020-03-11 21:22:23 +0200 | 
| commit | c6627bc05a57645e6af8b9a5a67e452d9f37e487 (patch) | |
| tree | b754b3991e5e57a9ae9155819f73fa0cbd4be269 /cloudinit/config/cc_ssh_import_id.py | |
| parent | ca9a4eb26b41c204d1bd3a15586b14a5dde950bb (diff) | |
| parent | 13e82554728b1cb524438163784e5b955c7c5ed0 (diff) | |
| download | vyos-cloud-init-c6627bc05a57645e6af8b9a5a67e452d9f37e487.tar.gz vyos-cloud-init-c6627bc05a57645e6af8b9a5a67e452d9f37e487.zip  | |
Cloud-init: T2117: Updated to 20.1
  - Merge 20.1 version from the Canonical repository
  - Removed unneeded changes in datasources (now only OVF datasource is not equal to upstream's version)
  - Adapted cc_vyos module to new Cloud-init version
  - Changed Jenkinsfile to use build scripts, provided by upstream
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  | 
