From 15773412f4972d54eac1d6b9df46968fa905e004 Mon Sep 17 00:00:00 2001 From: biersoeckli Date: Fri, 27 Feb 2026 16:24:34 +0000 Subject: [PATCH] feat: add curl installation to setup scripts --- setup/setup-worker.sh | 5 ++++- setup/setup.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/setup/setup-worker.sh b/setup/setup-worker.sh index 34d2f9d..8615c51 100644 --- a/setup/setup-worker.sh +++ b/setup/setup-worker.sh @@ -66,7 +66,7 @@ select_network_interface # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # install nfs-common, open-iscsi and jq sudo apt-get update -sudo apt-get install open-iscsi nfs-common jq -y +sudo apt-get install open-iscsi curl nfs-common jq -y echo "Fetching version information..." K3S_VERSION=$(curl -s https://get.quickstack.dev/k3s-versions.json | jq -r '.prodInstallVersion') @@ -80,6 +80,9 @@ sudo systemctl disable rpcbind.service rpcbind.socket echo "Installing k3s with --flannel-iface=$selected_iface" curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--flannel-iface=$selected_iface" INSTALL_K3S_VERSION="$K3S_VERSION" K3S_URL=${K3S_URL} K3S_TOKEN=${JOIN_TOKEN} sh - +# For HA Configuration +# curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION="v1.33.8+k3s1" K3S_TOKEN= sh -s - server --server https://:6443 --flannel-iface= + echo "" echo "-----------------------------------------------------------------------------------------------------------" echo "* Node Setup completed. It might take a few minutes until the node is visible in the QuickStack settings. *" diff --git a/setup/setup.sh b/setup/setup.sh index d08e88c..2335972 100644 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -89,7 +89,7 @@ select_network_interface # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! echo "Installing nfs-common and jq..." sudo apt-get update -sudo apt-get install open-iscsi nfs-common jq -y +sudo apt-get install open-iscsi curl nfs-common jq -y echo "Fetching version information..." K3S_VERSION=$(curl -s https://get.quickstack.dev/k3s-versions.json | jq -r '.prodInstallVersion')