Skip to content

Commit 0edb724

Browse files
authored
Merge pull request #65 from biersoeckli:feat/add-curl-to-setup-script
feat: add curl installation to setup scripts
2 parents a4aaa26 + 1577341 commit 0edb724

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

setup/setup-worker.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ select_network_interface
6666
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6767
# install nfs-common, open-iscsi and jq
6868
sudo apt-get update
69-
sudo apt-get install open-iscsi nfs-common jq -y
69+
sudo apt-get install open-iscsi curl nfs-common jq -y
7070

7171
echo "Fetching version information..."
7272
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
8080
echo "Installing k3s with --flannel-iface=$selected_iface"
8181
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 -
8282

83+
# For HA Configuration
84+
# curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION="v1.33.8+k3s1" K3S_TOKEN= sh -s - server --server https://<IP-ADDRESS>:6443 --flannel-iface=<IFACE>
85+
8386
echo ""
8487
echo "-----------------------------------------------------------------------------------------------------------"
8588
echo "* Node Setup completed. It might take a few minutes until the node is visible in the QuickStack settings. *"

setup/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ select_network_interface
8989
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9090
echo "Installing nfs-common and jq..."
9191
sudo apt-get update
92-
sudo apt-get install open-iscsi nfs-common jq -y
92+
sudo apt-get install open-iscsi curl nfs-common jq -y
9393

9494
echo "Fetching version information..."
9595
K3S_VERSION=$(curl -s https://get.quickstack.dev/k3s-versions.json | jq -r '.prodInstallVersion')

0 commit comments

Comments
 (0)