~m-grant-prg/vm-container-utils/trunk

« back to all changes in this revision

Viewing changes to src/prg/bash/lqvm/lqvms-snap.sh.in

  • Committer: Mark Grant
  • Date: 2020-12-14 15:27:01 UTC
  • mfrom: (1.1.17)
  • Revision ID: m.grant.prg@gmail.com-20201214152701-pfpw6in70tpa7uia
Merge new upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
# Date          Author  Version Description                             #
59
59
#                                                                       #
60
60
# 21/08/2020    MG      1.0.1   Created.                                #
 
61
# 14/12/2020    MG      1.0.2   Change snap -v to snap -n.              #
61
62
#                                                                       #
62
63
#########################################################################
63
64
 
67
68
##################
68
69
readonly outputprefix="$(basename $0):"
69
70
 
70
 
readonly version=1.0.1                          # Script version
 
71
readonly version=1.0.2                          # Script version
71
72
readonly packageversion=@pkgversion@            # Package version
72
73
 
73
74
readonly etclocation=@sysconfdir@               # Path to config directory
278
279
for machine in $machines; do
279
280
        name=$(echo "$machine" | awk '
280
281
                { print $2 }')
281
 
        cmd="$cmd_template -v $name"
 
282
        cmd="$cmd_template -n $name"
282
283
        eval "$cmd"
283
284
        std_cmd_err_handler $?
284
285
done