Change-Id: I04d4fa6fbf68bfe3f320f18a4168be9dd73da6cf
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
public_api_gw=$(cat labconfig.json | jq --raw-output ".opnfv.spaces[] | select(.type==\"public\")".gateway)
admin_gw=$(cat labconfig.json | jq --raw-output ".opnfv.spaces[] | select(.type==\"admin\")".gateway)
-if ([ $admin_gw ] && [ $admin_gw != "null" ])
+if ([ $admin_gw ] && [ $admin_gw != "null" ]); then
# set default gateway to public api gateway
for cnt in $cnt_list; do
echo "changing default gw on $cnt"