diff --git a/boxctl.sh b/boxctl.sh index c73f30e..f00fa2d 100755 --- a/boxctl.sh +++ b/boxctl.sh @@ -71,7 +71,7 @@ msg() { _level=$1 _msg=$2 if [ $VERBOSITY -ge $_level ] && [ $DRY == 0 ]; then - echo "==> $_msg" + echo "==> ${SERVER} -> $_msg" fi } @@ -159,7 +159,7 @@ _ssh() { V=$(expand_v) if [ -f ./files ]; then - msg 0 "Installing files" + msg 0 "Installing $(wc -l files | awk '{print $1 " " $2}')" for file in $(cat files); do local _src _dest _mode _owner _group read _src _owner _group _mode _dest <