Minor formatting

This commit is contained in:
Sebastian Haderecker 2019-04-16 09:01:17 +00:00
parent b66d18540a
commit a5f0b912a1

View file

@ -109,24 +109,24 @@ if [ $? -eq 0 ]; then
else else
if grep 'Flavor' otc_tools.log > /dev/null; then if grep 'Flavor' otc_tools.log > /dev/null; then
echo "### Specified ECS Flavor not found" echo "### Specified ECS Flavor not found"
elif grep 'No image found by name' otc_tools.log > /dev/null; then elif grep 'No image found by name' otc_tools.log > /dev/null; then
echo "### Specified Image not found" echo "### Specified Image not found"
elif grep 'No subnet found by name' otc_tools.log > /dev/null; then elif grep 'No subnet found by name' otc_tools.log > /dev/null; then
echo "### Specified Subnet not found" echo "### Specified Subnet not found"
elif grep 'No VPC found by name' otc_tools.log > /dev/null; then elif grep 'No VPC found by name' otc_tools.log > /dev/null; then
echo "### Specified VPC not found" echo "### Specified VPC not found"
elif grep 'No security-group found by name' otc_tools.log > /dev/null; then elif grep 'No security-group found by name' otc_tools.log > /dev/null; then
echo "### Specified Security Group not found" echo "### Specified Security Group not found"
elif grep 'Invalid key_name provided' otc_tools.log > /dev/null; then elif grep 'Invalid key_name provided' otc_tools.log > /dev/null; then
echo "### Specified Key Pair not found" echo "### Specified Key Pair not found"
elif grep 'availability_zone' otc_tools.log > /dev/null; then elif grep 'availability_zone' otc_tools.log > /dev/null; then
echo "### Specified Availability Zone not found" echo "### Specified Availability Zone not found"
elif grep 'quota' otc_tools.log > /dev/null; then elif grep 'quota' otc_tools.log > /dev/null; then
echo "### Quota exceeded. Please check your available quotas online" echo "### Quota exceeded. Please check your available quotas online"
echo "### You can either delete unused resources or apply for a higher quota" echo "### You can either delete unused resources or apply for a higher quota"
fi fi
echo "### ECS creation unsuccessful. Aborting..." echo "### ECS creation unsuccessful. Aborting..."