Bug fix on HEAT template HTTP_PROXY
[demo.git] / boot / nbi_serv.sh
index a9390b8..9c4eea0 100644 (file)
@@ -11,7 +11,7 @@
 HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
 HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
 
-if [ $HTTP_PROXY != " " ]
+if [ $HTTP_PROXY != "no_proxy" ]
 then
     export http_proxy=$HTTP_PROXY
     export https_proxy=$HTTPS_PROXY