From 4a0fad7da9c28e20d2592973e9d6e88b6883b546 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 22 Oct 2019 16:28:17 -0700 Subject: [PATCH] Fixed https: proxy config Signed-off-by: James Ketrenos --- templates/05-intel-proxy.in | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/05-intel-proxy.in b/templates/05-intel-proxy.in index fd363ff..1a2c73c 100644 --- a/templates/05-intel-proxy.in +++ b/templates/05-intel-proxy.in @@ -1,9 +1,11 @@ # Pre-install proxy configuration values # # This uses the linux-ftp.ostc.intel.com as a mirror. -RUN echo "Acquire::http::proxy \"http://proxy-chain.intel.com:911/\";\n" \ - "Acquire::https::proxy \"https://proxy-chain.intel.com:911/\";\n" \ - "Acquire::ftp::proxy \"ftp://proxy-chain.intel.com:911/\";\n" \ - "Acquire::socks::proxy \"socks://proxy-chain.intel.com:1080/\";\n" \ - "Acquire::http::Proxy::linux-ftp.ostc.intel.com DIRECT;\n" \ - "Acquire::http::Proxy::osgc.jf.intel.com DIRECT;\n" > /etc/apt/apt.conf +RUN { \ + echo "Acquire::http::proxy \"http://proxy-chain.intel.com:911/\";\n" ; \ + echo "Acquire::https::proxy \"http://proxy-chain.intel.com:912/\";\n" ; \ + echo "Acquire::ftp::proxy \"ftp://proxy-chain.intel.com:911/\";\n" ; \ + echo "Acquire::socks::proxy \"socks://proxy-chain.intel.com:1080/\";\n" ; \ + echo "Acquire::http::Proxy::linux-ftp.ostc.intel.com DIRECT;\n" ; \ + echo "Acquire::http::Proxy::osgc.jf.intel.com DIRECT;\n" ; \ +} > /etc/apt/apt.conf