Skip to content

Commit

Permalink
Prioritize in containerd paths
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz committed Oct 21, 2024
1 parent ee4558a commit 9cf0952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microk8s-resources/wrappers/run-containerd-with-args
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi
# containerd-shims need to look for runc in /snap/microk8s/current/usr/bin/runc
SNAP_CURRENT=`echo "${SNAP}" | sed -e "s,${SNAP_REVISION},current,"`
CURRENT_PATH="$SNAP_CURRENT/usr/sbin:$SNAP_CURRENT/usr/bin:$SNAP_CURRENT/sbin:$SNAP_CURRENT/bin"
export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$CURRENT_PATH:$PATH"
export PATH="$CURRENT_PATH:$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"

if is_strict
then
Expand Down

0 comments on commit 9cf0952

Please sign in to comment.