blob: af5994dffb99ae046b7921017d217e37ffb3f2b5 (
plain) (
tree)
|
|
#!/bin/bash
# loop until the VM starts responding to pings
while ! $(relx_nodetool "ping">/dev/null)
do
sleep 1
done
# loop until the name provided as argument gets
# registered
while true
do
if [ "$(relx_nodetool eval "whereis($1).")" != "undefined" ]
then
break
fi
done
|