File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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"
173173[ -z " ${VERBOSE:- } " ] || echo " ALLOC is: $ALLOC "
174174
175175if [ " ${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
181181elif [ -z " ${CMD:- } " ]; then
182- CMD=" /bin/bash "
182+ CMD=" /bin/debug "
183183fi
184184[ -z " ${VERBOSE:- } " ] || echo " CMD is: $CMD "
185185
You can’t perform that action at this time.
0 commit comments