hetzner polish

This commit is contained in:
Henrik Bakken
2025-09-03 14:01:57 +02:00
parent 65eba84fe5
commit cd15a97f00
+7 -4
View File
@@ -44,14 +44,17 @@ runcmd:
- sudo sh -c 'echo "br_netfilter" > /etc/modules-load.d/br_netfilter.conf'
# allow sshfs
- sudo sed -i -e 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
# make dirs
- mkdir /home/hjalmarlucius/state
- sudo chown -R hjalmarlucius:hjalmarlucius /home/hjalmarlucius/state
- mkdir -p /home/hjalmarlucius/.local/bin
sudo chown -R hjalmarlucius:hjalmarlucius /home/hjalmarlucius/.local
- reboot
# k8s install instruction
# sshfs -p 7097 mothership.hjarl.com:/home/hjalmarlucius/src/hjarl/state ~/state -o allow_root
# sshfs -p 7097 mothership.hjarl.com:/home/hjalmarlucius/src/hjarl/system ~/state -o allow_root
# cd state
# add peers to /etc/hosts
# sudo python3 k8s.py install_reqs arm64 False
# sudo python3 k8s.py make_controller . helsinki-1 False arm64
# sudo python3 k8s.py make_controlplane . helsinki-1 arm64
# sudo python3 k8s.py make_worker . helsinki-1 arm64
# sudo python3 k8s.py make_controller ./state $(hostname) False arm64
# sudo python3 k8s.py make_controlplane ./state $(hostname) arm64
# sudo python3 k8s.py make_worker ./state $(hostname) arm64