diff --git a/hetzner.cfg b/hetzner.cfg index 5671b6f..60b7795 100644 --- a/hetzner.cfg +++ b/hetzner.cfg @@ -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