Use current juju proxy config when running sync.
Adds lines to source current juju proxy environment variables. Closes-Bug: #1843486 Change-Id: I2b461ca6112839effcd7efa3bd9d821f92857584
This commit is contained in:
parent
02299812b4
commit
33b9da2bc5
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
if [ -f /etc/juju-proxy.conf ]; then
|
||||
if [ -f /etc/profile.d/juju-proxy.sh ]; then
|
||||
source /etc/profile.d/juju-proxy.sh
|
||||
elif [ -f /etc/juju-proxy.conf ]; then
|
||||
source /etc/juju-proxy.conf
|
||||
elif [ -f /home/ubuntu/.juju-proxy ]; then
|
||||
source /home/ubuntu/.juju-proxy
|
||||
|
|
Loading…
Reference in New Issue