Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bro0k
Forked from qrpike/rancheros-cloud-config.yml
Created August 30, 2018 08:42
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 bro0k/25cc7d308b05398c51aac29e2ea931eb to your computer and use it in GitHub Desktop.
Save bro0k/25cc7d308b05398c51aac29e2ea931eb to your computer and use it in GitHub Desktop.
#cloud-config
ssh_authorized_keys:
- ssh-rsa xyz
write_files:
- path: /var/lib/rancher/conf/cloud-config.yml
permissions: "0644"
owner: root
content: |
#cloud-config
ssh_authorized_keys:
- ssh-rsa xyz
rancher:
state:
dev: LABEL=RANCHER_STATE
services_include:
ubuntu-console: true
network:
dns:
override: true
nameservers:
- 192.168.30.11
- 192.168.30.12
interfaces:
eth0:
dhcp: true
eth1:
dhcp: false
rancher:
state:
dev: LABEL=RANCHER_STATE
services_include:
ubuntu-console: true
network:
dns:
override: true
nameservers:
- 192.168.30.11
- 192.168.30.12
interfaces:
eth0:
dhcp: true
eth1:
dhcp: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment