Created
July 15, 2019 11:55
-
-
Save iwanbolzern/454fb1e0660eefff0e7dea77062a6743 to your computer and use it in GitHub Desktop.
Sample cloud-config.yml for basic RancherOS configuration
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 | |
hostname: [HOSTNAME e.g. rancher02] | |
rancher: | |
network: | |
interfaces: | |
eth*: | |
dhcp: false | |
eth0: | |
address: [IP e.g. 192.168.1.141/24] | |
gateway: [Gateway 192.168.1.1] | |
dns: | |
nameservers: | |
- [DNS 1] | |
- [DNS 2] | |
ssh_authorized_keys: | |
- ssh-rsa [SSH Key] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment