Scott Moser c67578bbd9 improve updating of .ssh/authorized_keys
These changes update the .ssh/authorized_keys rather than simply appending
This is preferable as ssh daemon picks the first key that is present.

This fixes 2 issues where something had edited a .ssh/authorized_keys
prior to cloud-init getting at it.
 a.) LP: #434076 a user prior to re-bundling
 b.) LP: #833499 the hypervisor

If you want to enable ssh access for root user, the proper way to do it is
with 'disable_root: False' in cloud-config.
2011-08-29 20:26:17 -04:00
2011-08-15 16:39:21 -05:00
2011-03-21 22:09:31 -04:00
Description
RETIRED, Cross-platform instance initialization
4 MiB