Skip to content

Commit d7778dc

Browse files
committed
fix: MacOS and Darwin platforms #1
1 parent 010aec9 commit d7778dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubectl-enter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fi
66

77
NODE="$1"
88
IMAGE="alpine"
9-
POD="nsenter-$(uuidgen | cut -d- -f1)"
9+
POD="nsenter-$(env LC_CTYPE=C tr -dc a-z0-9 < /dev/urandom | head -c 6)"
1010
NAMESPACE=""
1111

1212
# Check the node

0 commit comments

Comments
 (0)