Code Review
/
kuberef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
bc5a2b4
)
Merge "Remove double quotes around EOF"
author
Rihab Banday
<rihab.banday@ericsson.com>
Sun, 16 Aug 2020 20:41:47 +0000
(20:41 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Sun, 16 Aug 2020 20:41:47 +0000
(20:41 +0000)
functions.sh
patch
|
blob
|
history
diff --git
a/functions.sh
b/functions.sh
index
d3d027e
..
c8493d2
100755
(executable)
--- a/
functions.sh
+++ b/
functions.sh
@@
-23,7
+23,16
@@
clean_up() {
# Create jumphost VM
create_jump() {
./create_vm.sh "$VM_NAME"
- sleep 30
+ jumpbox_ip=$(get_vm_ip)
+ i=0
+ while [ -z $jumpbox_ip ]; do
+ sleep $((++i))
+ jumpbox_ip=$(get_vm_ip)
+ done
+ i=0
+ until nc -w5 -z $jumpbox_ip 22; do
+ sleep $((++i))
+ done
}
# Get jumphost VM IP