Skip to content

Instantly share code, notes, and snippets.

@superseb
Last active April 29, 2020 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save superseb/7a8fa7f656c823131bf72b44c54b02f3 to your computer and use it in GitHub Desktop.
Save superseb/7a8fa7f656c823131bf72b44c54b02f3 to your computer and use it in GitHub Desktop.
Debug RancherOS cloud-init
  1. Boot RancherOS with rancher.autologin=tty1
  2. Put cloud-config.yml in /var/lib/rancher/conf/cloud-config.d/
  3. Run the command cloud-init-execute
  4. Check the contents of /home/rancher/.ssh/authorized_keys
  5. Try to login and if it doesn't work, check logging in /var/log/messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment