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
# https://github.com/rancher/k3os/blob/master/README.md#configuration-reference | |
# https://www.centlinux.com/2019/05/configure-network-on-k3os-machine.html | |
boot_cmd: | |
- "mkdir -p /mnt/e0945f92-350f-424c-a951-2a47a6c9f767 /var/lib/connman/ethernet_a8a159476f3f_cable" | |
ssh_authorized_keys: | |
- "github:travnewmatic" | |
write_files: |
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
#!/bin/bash | |
# wipe old k3s | |
bash /usr/local/bin/k3s-agent-uninstall.sh; bash /usr/local/bin/k3s-uninstall.sh | |
# install k3s https://rancher.com/docs/k3s/latest/en/installation/install-options/ | |
curl -sfL https://get.k3s.io | \ | |
K3S_KUBECONFIG_MODE="644" \ | |
sh -s - \ | |
server \ | |
--cluster-init \ |
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
#!/bin/bash | |
# Adjust homserver, room, and accesstoken to your particular setup | |
# Script is expecting data to be piped in on STDIN | |
# Example: | |
# echo "some text" | sendmatrix | |
msgtype=m.text | |
homeserver=<homeserver> | |
room=<room id> |
OlderNewer