Commit 57222759 authored by Vitaly Lipatov's avatar Vitaly Lipatov

evz: add set support

parent 3859b587
......@@ -157,6 +157,15 @@ case $CMD in
vzctl $CMD $i
done
;;
set) # HELPCMD: set param. Use with --option param
OPTIONS="$1 $2"
shift 2
LIST=$(get_list "$@")
for i in $LIST ; do
info "Do $CMD on $i ..."
vzctl $CMD $i $OPTIONS --save
done
;;
stop) # HELPCMD: stop container(s)
LIST=$(get_list "$@")
for i in "$@" ; do
......
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