diff options
Diffstat (limited to 'test/ete/labs/gwu/apt-proxy.sh')
-rwxr-xr-x | test/ete/labs/gwu/apt-proxy.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ete/labs/gwu/apt-proxy.sh b/test/ete/labs/gwu/apt-proxy.sh new file mode 100755 index 000000000..14b272566 --- /dev/null +++ b/test/ete/labs/gwu/apt-proxy.sh @@ -0,0 +1,7 @@ +#!/bin/bash +sed -i '/#!\/bin\/bash/a\ + cat > /etc/apt/apt.conf.d/30proxy<<EOF\ + Acquire::http { Proxy "http://stack.local.enacct.com:3142"; };\ + Acquire::https::Proxy "DIRECT";\ + EOF\ + apt-get -y update' $1 |