Last active
February 26, 2022 12:13
-
-
Save KEINOS/83e82d243b9b3d9ffbf370010ad658c3 to your computer and use it in GitHub Desktop.
K3OS config.yaml
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: | |
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCq44h2dipTqOlGog5RhqLXJE2ngfvdF2wRHF9aXxPGoh8VxdYAjXtGnuDXy/yhGGyzkSFjBZmseN/uFUkVA0Pa1mFtJUaFsYQo/AMrITQNai5DeKJoIga98xubAMpHgf6c9k0DyTo4R1VmLfrDAvcCU874n6j1coJxIpjCUSXA01SSSGoTqxTuZsB3imxraQE0nC1NvFdANAiA4HcmgYyMKfhvUev/letizKnWPVVUdG6uoUrSS4cZrTvfOAS0HQWo6cMKArn6FPnng2NPK9N6BNojpesfhVd4JiedW8jXHG93kjmaRnHkj/kjw2wl6Ud4fyDbA//mPEkHA3AhhktS9BkOf2Dpfa71phbFW4Yg/iwh6u9WpeLMgmSGA5jWg6puqNNdMr/PyNQwi34S6DX3c0eF3WMr8MHGyrSOQviu/YGaxuBFnFcn1w3QBQBxr7+MTf7bA4qeb53l2dFqx3i6YEjrXvPIBqQlk/iAVy1opkbmfRrWoJjgz84p5Om6muxN94xj2bywW03NUaafFJvRZYQ7zvKqzTq7NQqQAo1HLGy/vhZpRhYRqctBpzu3+bJlzFrqaSBmLjuLTDMTvHNPrORQoFPKzfa/SON3fHRmNjRaMpTLJDbaNAEaJXIHwnqpfLgelzrrKTJgH9BsABy2LTO9VX47UiPGatA4QIo/ZQ==" | |
hostname: k3os-server-keinos01 | |
write_files: | |
- content: | | |
nameserver 8.8.8.8 | |
nameserver 8.8.4.4 | |
owner: root:root | |
path: /etc/resolv.conf | |
permissions: '0644' | |
- content: | | |
#!/bin/bash | |
sudo ifconfig eth0 153.126.190.60 netmask 255.255.254.0 | |
sudo route add default gw 153.126.190.1 | |
owner: root:root | |
path: /etc/boot-cmd.sh | |
permissions: '0755' | |
run_cmd: | |
- "/etc/boot-cmd.sh" | |
k3os: | |
data_sources: | |
- cdrom | |
modules: | |
- kvm | |
dns_nameservers: | |
- 8.8.8.8 | |
- 8.8.4.4 | |
ntp_servers: | |
- ntp1.sakura.ad.jp | |
- ntp.nict.jp | |
password: <rancher_password> | |
token: <clustersecret> | |
k3s_args: | |
- server | |
- "--cluster-init" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment