Last active
March 18, 2022 14:46
-
-
Save jdbohrman/3db315b0a9273f67699d771bc59ccec6 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
ssh_authorized_keys: | |
- github:jdbohrman | |
write_files: | |
- encoding: "" | |
content: |- | |
#!/bin/bash | |
mkdir -p '/var/lib/rancher/k3s/server/manifests/' | |
curl -L https://gist.githubusercontent.com/jdbohrman/714bb13d8b8404f647174d9132f5f320/raw/de0c3825d03aa84c70f95e7a4445802e53dabddb/call-rancher.yaml >> /var/lib/rancher/k3s/server/manifests/call-rancher.yaml | |
owner: root | |
path: /etc/rc.local | |
permissions: '0755' | |
hostname: k3os-master | |
run_cmd: | |
- "sh /etc/rc.local" | |
boot_cmd: | |
- "echo hi from boot time && echo bye from boot time" | |
init_cmd: | |
- "echo hi on init && echo bye on init" | |
k3os: | |
token: super-secure-local-cluster-token | |
dns_nameservers: | |
- 8.8.8.8 | |
- 1.1.1.1 | |
ntp_servers: | |
- 0.us.pool.ntp.org | |
- 1.us.pool.ntp.org | |
k3s_args: | |
- server | |
- "--no-deploy=traefik" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a problem with your call-rancher url is
.sh
not.yaml
.