Commit 64d98063 authored by FANG WANG's avatar FANG WANG

Update waitBuildOnVM.sh

parent dae30029
...@@ -47,7 +47,9 @@ function wait_on_vm_build { ...@@ -47,7 +47,9 @@ function wait_on_vm_build {
echo "ARCHIVES_LOC = $ARCHIVES_LOC" echo "ARCHIVES_LOC = $ARCHIVES_LOC"
echo "BUILD_OPTIONS = $BUILD_OPTIONS" echo "BUILD_OPTIONS = $BUILD_OPTIONS"
IS_VM_ALIVE=`uvt-kvm list | grep -c $VM_NAME` //IS_VM_ALIVE=`uvt-kvm list | grep -c $VM_NAME`
IS_VM_ALIVE=`uvt-kvm ip $VM_NAME | grep -c 192`
VM_LIST=`uvt-kvm list` VM_LIST=`uvt-kvm list`
echo "$VM_LIST" echo "$VM_LIST"
echo "$IS_VM_ALIVE" echo "$IS_VM_ALIVE"
......
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