Commit 86627c7e authored by nanahira's avatar nanahira

fix

parent 4824b707
Pipeline #2029 passed with stages
in 1 minute and 17 seconds
......@@ -18,7 +18,7 @@ echo 'Waiting for VM to get IP'
for i in $(seq 1 30); do
VM_IP=$(_get_vm_ip)
if [[ -n "$VM_IP" && "$VM_IP" -ne "fail" ]]; then
if [[ -n "$VM_IP" && "$VM_IP" != "fail" ]]; then
echo "VM got IP: $VM_IP"
break
fi
......
......@@ -8,7 +8,7 @@ source ${currentDir}/base # Get variables from base script.
for i in $(seq 1 30); do
VM_IP=$(_get_vm_ip)
if [[ -n "$VM_IP" && "$VM_IP" -ne "fail" ]]; then
if [[ -n "$VM_IP" && "$VM_IP" != "fail" ]]; then
break
fi
......
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