mirror of
https://github.com/k3s-io/k3s.git
synced 2026-06-09 00:33:35 -04:00
chore: remove sudo in service file
Signed-off-by: John Martin <john.itvn@gmail.com>
This commit is contained in:
parent
21de005bc4
commit
5613d44dd0
1 changed files with 2 additions and 2 deletions
|
|
@ -1105,8 +1105,8 @@ exec 2>&1
|
|||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
# Load kernel modules
|
||||
$SUDO modprobe br_netfilter 2>/dev/null || true
|
||||
$SUDO modprobe overlay 2>/dev/null || true
|
||||
modprobe br_netfilter 2>/dev/null || true
|
||||
modprobe overlay 2>/dev/null || true
|
||||
|
||||
exec ${BIN_DIR}/k3s $(escape_dq "${CMD_K3S_EXEC}")
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Reference in a new issue