diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-09-25 21:56:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-25 21:56:45 +0000 |
commit | 11d2e6675210e02b6dcd246f2282420e1104ee88 (patch) | |
tree | 07cbfe0d0b011cc3d0f8f245348985d14ce5ddb5 | |
parent | dfeb9c0e1a4ffeed81c6ba81b7b82a2e7dd70afb (diff) | |
parent | 5ce04219f2ae1a3da51e53e1d556068832066a51 (diff) |
Merge "Fix identation format"
-rwxr-xr-x | bootstrap/vagrant-onap/lib/functions | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap/vagrant-onap/lib/functions b/bootstrap/vagrant-onap/lib/functions index 49ea0378b..8fff0c2c4 100755 --- a/bootstrap/vagrant-onap/lib/functions +++ b/bootstrap/vagrant-onap/lib/functions @@ -105,14 +105,14 @@ function _configure_docker_settings { fi if [ $https_proxy ]; then echo "export https_proxy=$https_proxy" >> /etc/default/docker - #If you have a socks proxy, then use that to connect to the nexus repo + #If you have a socks proxy, then use that to connect to the nexus repo #via a redsocks container if [ $socks_proxy ]; then - wget https://raw.githubusercontent.com/crops/chameleonsocks/master/chameleonsocks.sh - chmod 755 chameleonsocks.sh - local socks=$(echo $socks_proxy | sed -e "s/^.*\///" | sed -e "s/:.*$//") - local port=$(echo $socks_proxy | sed -e "s/^.*://") - PROXY=$socks PORT=$port ./chameleonsocks.sh --install + wget https://raw.githubusercontent.com/crops/chameleonsocks/master/chameleonsocks.sh + chmod 755 chameleonsocks.sh + socks=$(echo $socks_proxy | sed -e "s/^.*\///" | sed -e "s/:.*$//") + port=$(echo $socks_proxy | sed -e "s/^.*://") + PROXY=$socks PORT=$port ./chameleonsocks.sh --install fi fi |