Commit 04af8e48 authored by Vitaly Lipatov's avatar Vitaly Lipatov

evz-vboxmanage: add set support

parent 20b6a8c3
...@@ -94,9 +94,11 @@ case $CMD in ...@@ -94,9 +94,11 @@ case $CMD in
OPTIONS="$1 $2" OPTIONS="$1 $2"
shift 2 shift 2
LIST="$(get_list "$@")" LIST="$(get_list "$@")"
# show help if empty
[ -n "$LIST" ] || docmd vboxmanage modifyvm
for i in $LIST ; do for i in $LIST ; do
info "Do $CMD on $i ..." info "Do $CMD on $i ..."
todo vzctl $CMD $i $OPTIONS --save docmd vboxmanage modifyvm $i $OPTIONS
done done
;; ;;
ubc|resources|show) # HELPCMD: print resource using by virtual machine(s) ubc|resources|show) # HELPCMD: print resource using by virtual machine(s)
......
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