Last active
August 13, 2020 19:57
-
-
Save lucasmaurice/b04cac0c46e251b4e7d11583950088c3 to your computer and use it in GitHub Desktop.
Rancher2 Cloud Init
This file contains hidden or 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 | |
# | |
# This is an example file to automatically configure resolv.conf when the | |
# instance boots for the first time. | |
# | |
# Ensure that your yaml is valid and pass this as user-data when starting | |
# the instance. Also be sure that your cloud.cfg file includes this | |
# configuration module in the appropriate section. | |
# | |
manage_resolv_conf: true | |
resolv_conf: | |
nameservers: ['10.40.20.7', '10.40.20.8'] | |
searchdomains: | |
- effenco.com | |
- k8s.effenco.com | |
domain: k8s.effenco.com | |
options: | |
rotate: true | |
timeout: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment