made some files template based
This commit is contained in:
parent
bc43b9b05a
commit
757b130a01
10 changed files with 2 additions and 1 deletions
|
@ -0,0 +1,11 @@
|
|||
{{- if lookPath "systemctl" -}}
|
||||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||
|
||||
if is_cmd szetup-kubectl4k3s && [ "$(systemctl is-active k3s.service)" = "active" ]; then
|
||||
. <( szetup-kubectl4k3s - )
|
||||
|
||||
[[ -n "${DBG}" ]] && echo "kubectl for k3s setup complete."
|
||||
fi
|
||||
|
||||
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||
{{- end -}}
|
Loading…
Add table
Add a link
Reference in a new issue