Skip to content

Instantly share code, notes, and snippets.

@thogg4
Forked from ibuildthecloud/yaml
Last active April 3, 2016 22:22
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 thogg4/df4082cadb8c1fed2a27b3cae84041a1 to your computer and use it in GitHub Desktop.
Save thogg4/df4082cadb8c1fed2a27b3cae84041a1 to your computer and use it in GitHub Desktop.
cloud-config for rancher-agent
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAAA...
rancher:
services:
register:
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
image: rancher/agent:v0.11.0
command:
- "http://192.168.1.162:8080/v1/scripts/CDB0D8287C24898779A1:1448985600000:mb3QnQbLZuzNbaciwVgACPvL0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment