Commit 65cb4c2e authored by Vitaly Lipatov's avatar Vitaly Lipatov

use docmd in exec

parent cd7adf3c
......@@ -160,8 +160,7 @@ case $CMD in
###################################
for i in $LIST ; do
showcmd docker exec -ti $SETLANG "$i" "$@"
a= docker exec -ti $SETLANG "$i" "$@"
docmd docker exec -ti $SETLANG "$i" "$@"
done
;;
enter) # HELPCMD: enter in a container with ID
......
......@@ -171,7 +171,7 @@ case $CMD in
#vzctl exec $i "$INCMD" | sed -e "s|^|$(printf "%3d: " $i)|g"
#vzctl exec $i "$INCMD"
# TODO: internal IP, red if internal hostname differs
showcmd vzlist $LIST -o ctid,ip,hostname,diskspace
docmd vzlist $LIST -o ctid,ip,hostname,name,diskspace
#done
;;
load) # HELPCMD: print load average for container(s) by list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment