3 scriptdirname=`dirname $0`
4 scriptdirparent=`cd $scriptdirname/..;pwd`
5 scriptdir=$scriptdirparent/scripts
6 configdir=$scriptdirparent/config
7 . $scriptdirparent/scripts/common-vm
11 # Start script for this engine must exist
12 if [ ! -x $scriptdirparent/${VMENGINE}/start ]
14 echo "Don't know how to run ${VMENGINE} engine"
15 echo "$scriptdirparent/${VMENGINE}/start not found"
18 $scriptdirparent/${VMENGINE}/start
21 # Loop until engine is up and ssh is running
22 ssh -o 'StrictHostKeyChecking=no' "root@$HOST" uname -a
24 for loop in 1 2 3 4 5 6 7 8 9
27 if [ $ret -ne 0 ];then
30 ssh -o 'StrictHostKeyChecking=no' "root@$HOST" uname -a