We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27106a2 commit e7bf8dfCopy full SHA for e7bf8df
bin/play
@@ -1,8 +1,12 @@
1
#! /usr/bin/env bash
2
3
-command -v k0sctl > /dev/null || (
4
- echo "k0sctl not found, installing..." && \
5
- wget -Oq /usr/local/bin/k0sctl https://github.com/k0sproject/k0sctl/releases/latest/download/k0sctl-darwin-x64 && \
6
- echo "k0sctl downloaded"
7
- )
+BINARY_PATH="$HOME/.local/bin/k0sctl"
+
+command -v k0sctl >/dev/null || (
+ echo "k0sctl not found, installing..." &&
+ wget -O $BINARY_PATH -q https://github.com/k0sproject/k0sctl/releases/latest/download/k0sctl-darwin-x64 &&
8
+ chmod +x $BINARY_PATH
9
+ echo "k0sctl downloaded"
10
+)
11
12
k0sctl apply --disable-telemetry
0 commit comments