blob: 14b27256610297eaf1d867f67de51149eef938b6 [file] [log] [blame]
Gary Wud83efff2018-01-09 16:47:30 -08001#!/bin/bash
2sed -i '/#!\/bin\/bash/a\
3 cat > /etc/apt/apt.conf.d/30proxy<<EOF\
4 Acquire::http { Proxy "http://stack.local.enacct.com:3142"; };\
5 Acquire::https::Proxy "DIRECT";\
6 EOF\
7 apt-get -y update' $1