Skip to content

Commit 38eb926

Browse files
committed
imp: change to /bin/debug convention
1 parent 1f3fc75 commit 38eb926

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nomad-exec.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ while getopts 'c:u:n:j:t:a:e:psvh' c; do
2828
echo " -j JOB to select the allocation from"
2929
echo " -t TASK to select the allocation from"
3030
echo " -a ALLOCATION for exec"
31-
echo ' -e CMD for exec. Default: "/bin/bash"'
31+
echo ' -e CMD for exec. Default: "/bin/debug"'
3232
echo " -p prompt for some defaults if not declared as options (NOMAD_NAMESPACE, CMD)"
3333
echo " -s show consul service allocation associated addresses and tags (requires services to be tagged with the NOMAD_ALLOC_ID)"
3434
echo " -v verbose"
@@ -173,13 +173,13 @@ fi
173173
[ -z "${VERBOSE:-}" ] || echo "ALLOC is: $ALLOC"
174174

175175
if [ "${PROMPT:-}" == "true" ] && [ -z "${CMD:-}" ]; then
176-
echo -n "Type in the CMD to exec (enter for default: /bin/bash): "
176+
echo -n "Type in the CMD to exec (enter for default: /bin/debug): "
177177
read -r CMD
178178
if [ -z "${CMD:-}" ]; then
179-
CMD="/bin/bash"
179+
CMD="/bin/debug"
180180
fi
181181
elif [ -z "${CMD:-}" ]; then
182-
CMD="/bin/bash"
182+
CMD="/bin/debug"
183183
fi
184184
[ -z "${VERBOSE:-}" ] || echo "CMD is: $CMD"
185185

0 commit comments

Comments
 (0)