Add http-proxy configuration for pip in cloudify_ims testcase.
Correct some errors.
Change-Id: I980fc78f48c5be5d6166388f8b72f40cb613162c
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
EOF
}
+add_proxy_pip () {
+ cat << EOF >> "$1"
+[global]
+proxy="${http_proxy}"
+EOF
+}
+
tmpdir=$(mktemp -d)
for image in $images; do
if [ ! -f "$image" ]; then
add_proxy_juju_systemd "${tmpdir}/etc/juju-proxy-systemd.conf"
mkdir -p ${tmpdir}/root/.m2
mkdir -p ${tmpdir}/root/.subversion
- add_proxy_maven "${tmpdir}/root/.m2/settings.xml}"
- add_proxy_svn "${tmpdir}/root/.subversion/servers}"
+ add_proxy_maven "${tmpdir}/root/.m2/settings.xml"
+ add_proxy_svn "${tmpdir}/root/.subversion/servers"
+ add_proxy_pip "${tmpdir}/etc/pip.conf"
fi
guestunmount "${tmpdir}"
done