15 lines
341 B
Plaintext
15 lines
341 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# Upstream proxy
|
||
|
echo "cache_peer 192.168.0.121 parent 3128 0 no-query default
|
||
|
acl all src 0.0.0.0/0.0.0.0
|
||
|
http_access allow all
|
||
|
never_direct allow all" >> /etc/squid/squid.conf
|
||
|
|
||
|
service squid restart
|
||
|
|
||
|
|
||
|
# Un peu de customisation
|
||
|
DEBIAN_FRONTEND=noninteractive apt-get install -y vim rsync
|
||
|
rsync -a /vagrant/files/.emacs* /root/
|