snappy does not include ssh-import-id preventing cloud-init user-data from importing ssh-keys
Bug #1619423 reported by
Ryan Harper
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Won't Fix
|
Medium
|
Unassigned | ||
cloud-init |
Fix Released
|
Medium
|
Unassigned |
Bug Description
cloud-init user-data can specify adding users with
users:
- name: linda
ssh-
and after user account creation, cloud-init invokes:
sudo -Hu linda ssh-import-id linda-user
This fails as ssh-import-id isn't part of the Ubuntu-Core image
Related branches
~raharper/cloud-init:fix-lp1619423
On hold
for merging
into
cloud-init:master
- Server Team CI bot: Needs Fixing (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 33 lines (+20/-2)1 file modifiedpackages/debian/control.in (+20/-2)
Changed in snappy: | |
assignee: | nobody → Oliver Grawert (ogra) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in cloud-init: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in snappy: | |
status: | Confirmed → New |
information type: | Public → Public Security |
information type: | Public Security → Public |
information type: | Public → Private Security |
Changed in cloud-init: | |
assignee: | nobody → SamKeXStream (orbithierarchy) |
information type: | Private Security → Public |
Changed in cloud-init: | |
status: | In Progress → Fix Released |
assignee: | SamKeXStream (orbithierarchy) → nobody |
Changed in snappy: | |
assignee: | Oliver Grawert (ogra) → nobody |
status: | New → Won't Fix |
To post a comment you must log in.
My system doesn't contain ssh-import-id either, and I'm on a full Ubuntu 16.04. We need to have a line somewhere in terms of what we import into the core to make functionality work, otherwise we end up with Ubuntu 16.04.
For ssh-import-id, we have functionality in snapd that does exactly that, importing a user from Ubuntu SSO and creating the local user. cloud-init should probably leverage that instead.