Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardprice/0a1ad431f584b7e4efb8240d135276be to your computer and use it in GitHub Desktop.
Save richardprice/0a1ad431f584b7e4efb8240d135276be 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