Skip to content

Instantly share code, notes, and snippets.

@ruo91
Created September 25, 2015 23:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ruo91/43ecacbe835c9cdfd0c8 to your computer and use it in GitHub Desktop.
Save ruo91/43ecacbe835c9cdfd0c8 to your computer and use it in GitHub Desktop.
Rancher OS - example: cloud-config.yaml
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1TjQnNq/HMlI4JCCakK2SQwclw2T+HzuAo3p1+HSj7LsDTJEaMzvaQ3OmeXt6ZHycmv9Cx3sBDhGCu02891C2PKahNTplIi0dC0kFZcfu4J6ZynZLmaGPG81oBpZddEknazawWKq5Xdx20He+qoN86zGbrcXQKKZ30haZmzu/n/315Kazhyy7Iuaf1EvrSEbW97LBNtxAaEtolbPMPFjdjwD4LjARpeP7JNuAe4EQElfBElXdvQJxd4bcchavvNa68Y3IKGZ2kyKGBcZDLOICpGaZBOLYLhuwLn+zO3Hh3xYSGyXQQqUJVx4hRGIolm41F1vQMUS9Zxx/PMleqvWD
rancher:
network:
interfaces:
eth*:
dhcp: true
dns:
nameservers:
- 8.8.8.8
- 8.8.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment