Hi,
I think that I understand your issue, and that you're actually reporting 2 separate issues.
a.) a space in the comment field a public key breaks the "no root" prefix
This seems like a valid issue, and I understand it, thank you for reporting.
b.) 'ssh_import_id: [vm-user]' is not functioning as you expected
ssh_import_id uses ssh-import-id. The purpose of ssh-import-id is to
import a users keys from launchpad.net. Ie, using 'ssh_import_id: [smoser]'
would result in my ssh keys being pulled from https://launchpad.net/~smoser/+editsshkeys into the configured 'user'
account.
In cloud-init available in 12.10 (quantal) and later, there is a richer
method of describing users and groups including the ability to list
ssh-import-id or ssh-authorized keys per user. See [1] for more
information.
In 12.04, this is just more limited, ssh-import-id only operates on the
configured 'user'.
So, what I'll do is consider this a need to fix 'a'.
If I've misunderstood, something, please let me know.
Hi,
I think that I understand your issue, and that you're actually reporting 2 separate issues.
a.) a space in the comment field a public key breaks the "no root" prefix
This seems like a valid issue, and I understand it, thank you for reporting.
b.) 'ssh_import_id: [vm-user]' is not functioning as you expected /launchpad. net/~smoser/ +editsshkeys into the configured 'user'
ssh_import_id uses ssh-import-id. The purpose of ssh-import-id is to
import a users keys from launchpad.net. Ie, using 'ssh_import_id: [smoser]'
would result in my ssh keys being pulled from
https:/
account.
In cloud-init available in 12.10 (quantal) and later, there is a richer
method of describing users and groups including the ability to list
ssh-import-id or ssh-authorized keys per user. See [1] for more
information.
In 12.04, this is just more limited, ssh-import-id only operates on the
configured 'user'.
So, what I'll do is consider this a need to fix 'a'.
If I've misunderstood, something, please let me know.
And thanks for taking the time to report a bug. bazaar. launchpad. net/~cloud- init-dev/ cloud-init/ trunk/view/ head:/doc/ examples/ cloud-config- user-groups. txt
--
[1] http://