Commit 35658749 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rooter.sh: add vzlist support

parent ff5e0279
......@@ -17,6 +17,7 @@ case "$1" in
echo "Welcome to Etersoft rooter!"
echo "Available commands:"
echo " get pubkey USER"
echo " vzlist HOST"
#echo " allow USER HOST [VEID]"
#echo " list hosts"
#echo " list host veid"
......@@ -34,6 +35,10 @@ case "$1" in
;;
esac
;;
"vzlist")
shift
sudo /home/rooter/bin/get_vzlist.sh "$1"
;;
*)
echo "Etersoft rooter (c) 2015"
echo "Unknown command $*"
......
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