aboutsummaryrefslogtreecommitdiffstats
path: root/community/k3s/k3s.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/k3s/k3s.post-install')
-rwxr-xr-xcommunity/k3s/k3s.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/k3s/k3s.post-install b/community/k3s/k3s.post-install
new file mode 100755
index 00000000000..7afeb51e428
--- /dev/null
+++ b/community/k3s/k3s.post-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd /
+for link in kubectl crictl ctr; do
+ target=/usr/bin/$link
+ if [ ! -e $target ]; then
+ ln -s /usr/bin/k3s $target
+ fi
+done