diff options
Diffstat (limited to 'boot/openo_all_serv.sh')
-rw-r--r-- | boot/openo_all_serv.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/openo_all_serv.sh b/boot/openo_all_serv.sh index 9c523a8c..57de2908 100644 --- a/boot/openo_all_serv.sh +++ b/boot/openo_all_serv.sh @@ -1,4 +1,12 @@ #!/bin/bash +HTTP_PROXY=$(cat /opt/config/http_proxy.txt) +HTTPS_PROXY=$(cat /opt/config/https_proxy.txt) + +if [ $HTTP_PROXY != "no_proxy" ] +then + export http_proxy=$HTTP_PROXY + export https_proxy=$HTTPS_PROXY +fi bash /opt/msb_vm_init.sh &>/dev/null &disown bash /opt/vnfsdk_vm_init.sh &>/dev/null &disown |