Gary Wu | d83efff | 2018-01-09 16:47:30 -0800 | [diff] [blame^] | 1 | #!/bin/bash |
2 | sed -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 |