Public bug reported:

Don't delete things under /etc/ssh. If you use write_files to add a SSH
certificate like ssh_host_ecdsa_key-cert.pub, it doesn't work because it
deletes everything.

You have to set ssh_deletekeys to false to prevent it from deleting
things but then you have the other key types under /etc/ssh which you
may not want.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1839473

Title:
  Cloudinit can't set ssh certificate

Status in cloud-init:
  New

Bug description:
  Don't delete things under /etc/ssh. If you use write_files to add a
  SSH certificate like ssh_host_ecdsa_key-cert.pub, it doesn't work
  because it deletes everything.

  You have to set ssh_deletekeys to false to prevent it from deleting
  things but then you have the other key types under /etc/ssh which you
  may not want.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1839473/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to