Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud-init: no ssh keys created for additional users #15

Closed
mudler opened this issue Feb 11, 2022 · 2 comments · Fixed by #22
Closed

cloud-init: no ssh keys created for additional users #15

mudler opened this issue Feb 11, 2022 · 2 comments · Fixed by #22
Labels
area/cloud-init area/elemental kind/bug Something isn't working status/blocked Issue depend on another one

Comments

@mudler
Copy link
Contributor

mudler commented Feb 11, 2022

This seems to create the 'vagrant' user, but not the ssh keys (note, root had the keys correctly added):

#cloud-config

# Add additional users or set the password/ssh keys for root
users:
- name: "root"
  passwd: "ros"
  ssh_authorized_keys:
  - https://raw.githubusercontent.com/hashicorp/vagrant/main/keys/vagrant.pub
- name: "vagrant"
  passwd: "vagrant"
  shell: "/bin/bash"
  homedir: "/run/vagrant"
  ssh_authorized_keys:
  - https://raw.githubusercontent.com/hashicorp/vagrant/main/keys/vagrant.pub

Screenshot from 2022-02-11 10-04-16

Originally posted by @mudler in #13 (comment)

@mudler mudler changed the title cloud-init: no ssh keys created cloud-init: no ssh keys created for additional users Feb 11, 2022
@mudler mudler added area/elemental kind/bug Something isn't working and removed area/elemental labels Feb 11, 2022
@mudler
Copy link
Contributor Author

mudler commented Feb 11, 2022

Opened: #99

mudler added a commit to rancher/elemental-cli that referenced this issue Feb 11, 2022
See: rancher/elemental#15

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
mudler added a commit that referenced this issue Feb 11, 2022
Temp workaround for #15
@mudler
Copy link
Contributor Author

mudler commented Feb 11, 2022

Needs a cOS bump, blocked by #16

@mudler mudler added the status/blocked Issue depend on another one label Feb 11, 2022
mudler added a commit to rancher/elemental-cli that referenced this issue Feb 11, 2022
See: rancher/elemental#15

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
mudler added a commit that referenced this issue Feb 11, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 11, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 11, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 11, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 11, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 14, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 14, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 14, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 14, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 14, 2022
Temp workaround for #15
mudler added a commit that referenced this issue Feb 14, 2022
Temp workaround for #15

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
@mudler mudler mentioned this issue Feb 15, 2022
10 tasks
@mudler mudler linked a pull request Feb 22, 2022 that will close this issue
mudler pushed a commit that referenced this issue Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cloud-init area/elemental kind/bug Something isn't working status/blocked Issue depend on another one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant