Skip to content

Instantly share code, notes, and snippets.

@ibuildthecloud
Created December 1, 2015 16:53
Show Gist options
  • Save ibuildthecloud/229dd613bdada2db012e to your computer and use it in GitHub Desktop.
Save ibuildthecloud/229dd613bdada2db012e to your computer and use it in GitHub Desktop.
cloud-config for rancher-agent
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAAA...
rancher:
services:
rancher-agent-install:
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
image: rancher/agent:v0.8.2
command:
- "http://192.168.1.162:8080/v1/scripts/CDB0D8287C24898779A1:1448985600000:mb3QnQbLZuzNbaciwVgACPvL0"
@blackjid
Copy link

blackjid commented Dec 1, 2015

thks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment