Created
January 22, 2016 11:12
-
-
Save qrpike/cfd5245d4459a2d6efd8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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
Thanks for your sharing,it works for me.