Commit de45ae4a authored by Luhan Wang's avatar Luhan Wang

ad

parent faadc1f4
...@@ -5,6 +5,7 @@ CURRENT_PATH=`pwd` ...@@ -5,6 +5,7 @@ CURRENT_PATH=`pwd`
echo $ALL_VMS echo $ALL_VMS
result=$(echo $ALL_VMS | grep "${VM_NAME}") result=$(echo $ALL_VMS | grep "${VM_NAME}")
if [ "$result" == "" ];then if [ "$result" == "" ];then
echo "target VM doesn't exist.."
exit 1 ## VM doesn't exist exit 1 ## VM doesn't exist
fi fi
VM_IP=`sudo uvt-kvm ip ${VM_NAME}` VM_IP=`sudo uvt-kvm ip ${VM_NAME}`
......
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