fix: Gets all install scripts working.
This commit is contained in:
parent
580095b322
commit
bad8c05da8
6 changed files with 8 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo apt update
|
||||
sudo apt install -y curl
|
||||
sudo apt install -y curl avahi-daemon
|
||||
|
||||
ufw allow 6443/tcp
|
||||
ufw allow from 10.42.0.0/16 to any
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo apt update
|
||||
sudo apt install -y curl
|
||||
sudo apt install -y curl avahi-daemon
|
||||
|
||||
ufw allow 6443/tcp
|
||||
ufw allow from 10.42.0.0/16 to any
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
sudo apt update
|
||||
sudo apt install -y curl
|
||||
sudo apt install -y curl avahi-daemon
|
||||
|
||||
ufw allow 6443/tcp
|
||||
ufw allow from 10.42.0.0/16 to any
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
K3S_TOKEN="shared.secret.here"
|
||||
|
||||
# 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_PASSWORD="\$y\$j9T\$zoVys9dfUO/jrysh2Dtim1\$ZQbbt9Qw5qXw0NNCQ7ckdOaVM.QY70sxU82/cQz.siB"
|
||||
|
|
|
@ -31,9 +31,8 @@ if [ "$EXTERN_IP" == "" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
./merge.py "$SERVER_INSTALL_PATH" "http://$EXTERN_IP:$HTTP_PORT/api/installer_update_webhook"
|
||||
|
||||
echo "[x] initializing..."
|
||||
./merge.py "$SERVER_INSTALL_PATH" "http://$EXTERN_IP:$HTTP_PORT/api/installer_update_webhook"
|
||||
mkdir $TMPDIR
|
||||
|
||||
echo "#cloud-config" > $TMPDIR/user-data
|
||||
|
|
|
@ -11,5 +11,6 @@
|
|||
|
||||
shellHook = ''
|
||||
./shell
|
||||
exit $?
|
||||
'';
|
||||
}
|
||||
|
|
Reference in a new issue