Comment 3 for bug 1869277

Revision history for this message
Dan Watkins (oddbloke) wrote : Re: [Bug 1869277] Re: write-ssh-key-fingerprints writes to console as 'ec2'

On Sun, Mar 29, 2020 at 03:18:59AM -0000, Scott Moser wrote:
> fwiw, changing this may well break things.
>
> Anything that is reading the output of a log in order to get ssh keys
> would be expecting lines to start with ec2. So...while that
> unfortunately isn't 'cloud-init' or 'azure', it *is* what users expect.

This doesn't seem like a major change for users to have to handle. I
agree that we shouldn't introduce it into existing Ubuntu releases, but
from an upstream cloud-init POV, I don't see why we wouldn't fix it for
future releases.

> I'd leave it as it is.
> The keys are written in a more machine friendly way also. See bug 893400

Given that there is a better way available (and has been for long enough
that it should be available ~everywhere), would a more appropriate path
forward be to deprecate and/or remove this output, instead of fixing it
up?