fix: Gets all install scripts working.

This commit is contained in:
greysoh 2024-08-02 17:21:29 -04:00
parent 580095b322
commit bad8c05da8
6 changed files with 8 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
sudo apt update sudo apt update
sudo apt install -y curl sudo apt install -y curl avahi-daemon
ufw allow 6443/tcp ufw allow 6443/tcp
ufw allow from 10.42.0.0/16 to any ufw allow from 10.42.0.0/16 to any

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
sudo apt update sudo apt update
sudo apt install -y curl sudo apt install -y curl avahi-daemon
ufw allow 6443/tcp ufw allow 6443/tcp
ufw allow from 10.42.0.0/16 to any ufw allow from 10.42.0.0/16 to any

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
sudo apt update sudo apt update
sudo apt install -y curl sudo apt install -y curl avahi-daemon
ufw allow 6443/tcp ufw allow 6443/tcp
ufw allow from 10.42.0.0/16 to any ufw allow from 10.42.0.0/16 to any

View file

@ -1,5 +1,8 @@
K3S_TOKEN="shared.secret.here" K3S_TOKEN="shared.secret.here"
# NOTE: Password here is not strong! This password is '1234'. # NOTE: Password here is not strong! This password is '1234'.
# When changing the password, remember to escape the dollar signs!
# Example: "Hello\$world"
SETUP_USERNAME="clusteradm" SETUP_USERNAME="clusteradm"
SETUP_PASSWORD="\$y\$j9T\$zoVys9dfUO/jrysh2Dtim1\$ZQbbt9Qw5qXw0NNCQ7ckdOaVM.QY70sxU82/cQz.siB" SETUP_PASSWORD="\$y\$j9T\$zoVys9dfUO/jrysh2Dtim1\$ZQbbt9Qw5qXw0NNCQ7ckdOaVM.QY70sxU82/cQz.siB"

View file

@ -31,9 +31,8 @@ if [ "$EXTERN_IP" == "" ]; then
fi fi
fi fi
./merge.py "$SERVER_INSTALL_PATH" "http://$EXTERN_IP:$HTTP_PORT/api/installer_update_webhook"
echo "[x] initializing..." echo "[x] initializing..."
./merge.py "$SERVER_INSTALL_PATH" "http://$EXTERN_IP:$HTTP_PORT/api/installer_update_webhook"
mkdir $TMPDIR mkdir $TMPDIR
echo "#cloud-config" > $TMPDIR/user-data echo "#cloud-config" > $TMPDIR/user-data

View file

@ -11,5 +11,6 @@
shellHook = '' shellHook = ''
./shell ./shell
exit $?
''; '';
} }