aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/labs/gwu/apt-proxy.sh
blob: 14b27256610297eaf1d867f67de51149eef938b6 (plain)
1
2
3
4
5
6
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