Moved creation of nat_service.sh to an if block
Issue-ID: INT-63
Change-Id: I44a86012dd08359859c24c41a7c6693b9b3429a2
Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
sleep 1
done
EOF
+
chmod +x /opt/set_nat.sh
-fi # endif BUILD_STATE != "build"
-#Create script to run bind_nic.sh and set_nat.sh
+ #Create script to run bind_nic.sh and set_nat.sh
cat > /opt/nat_service.sh << 'EOF'
#! /bin/bash
EOF
chmod +x /opt/nat_service.sh
+fi # endif BUILD_STATE != "build"
+
if [[ $BUILD_STATE != "done" ]]
then