Skip to content

Instantly share code, notes, and snippets.

@jedieaston
Forked from ibuildthecloud/yaml
Created March 16, 2018 01:17
Show Gist options
  • Save jedieaston/4c9a11373ccea919ab4146580e9061af to your computer and use it in GitHub Desktop.
Save jedieaston/4c9a11373ccea919ab4146580e9061af 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment