1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-10 01:22:48 +03:00

fix elastic commands

This commit is contained in:
david hill
2016-04-28 16:31:06 -05:00
parent 36ba215cb8
commit 4e2a6a46f2

5
oam/cloud/IDBInstanceCmds.sh Normal file → Executable file
View File

@@ -196,11 +196,11 @@ getZone() {
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $11}'`
else
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $11}'`
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $10}'`
if [ "$zone" == "" ]; then
describeInstance
fi
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $11}'`
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $10}'`
fi
$prefix/Calpont/bin/setConfig Installation AmazonZone $zone
fi
@@ -494,7 +494,6 @@ getSubnet() {
echo $subnet
else
echo "failed"
fi
return
}