Closed StefanScherer closed 7 years ago
Great idea. And I would suggest to use the same or at least a similar syntax style like we can found in other projects too: http://docs.rancher.com/os/cloud-config/#ssh-keys.
@DieterReuter Rancher updated their link http://docs.rancher.com/os/configuration/ssh-keys/... @StefanScherer any idea when this will get done? How can someone contribute with this?
@marcellodesales Thanks for the new link. I really like the idea of cloud-init. Perhaps instead of writing all the code again we could have a look if these parts could be done with cloud-init on a RPi.
Contributing to device-init is possible by forking the repo and adding this to TravisCI or running the build steps https://github.com/hypriot/device-init/blob/45123327e991853446117ebc900387f85bceae01/.travis.yml#L6-L7 locally on your laptop, no RPi needed for that.
@StefanScherer Sounds good! Thank you for the note! I will try to take a stab on it this weekend if anybody else doesn't...!
Yes definitely a good idea @StefanScherer - this is a must-have for cloud-init so would be very useful.
Closing as we switch over to cloud-init/cloud-config's user-data file.
It would be super convenient for the
flash
script that it can add SSH pub keys while flashing that are inserted in the user's ~/.ssh/authorized_keys file.Only a rough idea how that could look like in the device-init.yml file: