Modify the mic_cr_createrepo_issue for HQ server using proxy
authoryyh <yyh@123.com>
Tue, 7 Jun 2016 10:08:39 +0000 (18:08 +0800)
committeryyh <yyh@123.com>
Tue, 7 Jun 2016 10:08:39 +0000 (18:08 +0800)
cases/create/mixed_cases/mic_cr_createrepo_issue.case

index a366a168ebcb892e0b24e16b313b6184a87d2b96..4994132e552d92644698360976e9bda0a9058384 100644 (file)
@@ -9,6 +9,11 @@
   </fixtures>
   <steps><![CDATA[
 createrepo --version || True
+export http_proxy="http://10.112.1.184:8080"
+export https_proxy="https://10.112.1.184:8080"
+export ftp_proxy="ftp://10.112.1.184:8080"
+export socks_proxy="socks://10.112.1.184:8080"
+export no_proxy="localhost, 127.0.0.1, 10.113.136.113, ftp.kr.debian.org, 109.123.123.185"
 distro=$(python -c 'import platform;print platform.linux_distribution()[0].lower().rstrip()')
 echo $distro
 if [ "$distro" = "opensuse" ]; then