Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dweomer
Last active January 31, 2022 07:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dweomer/8750d56fb21a3fbc8d888609d6e74296 to your computer and use it in GitHub Desktop.
Save dweomer/8750d56fb21a3fbc8d888609d6e74296 to your computer and use it in GitHub Desktop.
k3os/config.yaml
ssh_authorized_keys:
- github:dweomer
write_files:
- enconding: ""
content: |
Here is a line.
Another line is here
owner: root
path: test2.txt
permissions: '0777'
run_cmd:
- "echo 'Hello, RUN' >> test2.txt"
boot_cmd:
- "echo 'Hello, BOOT' >> test2.txt"
k3os:
password: rancher
k3os:
password: rancher
sysctls:
kernel.panic: 30
dns_nameservers:
- 192.168.4.1
- 1.1.1.1
- 8.8.8.8
ntp_servers:
- 192.168.4.1
- pool.ntp.org
k3os:
dns_nameservers:
- 1.1.1.1
password: rancher
k3os:
password: rancher
environment:
http_proxy: http://1.1.1.1:8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment