diff --git a/mirror.list b/mirror.list new file mode 100644 index 0000000..498930e --- /dev/null +++ b/mirror.list @@ -0,0 +1,29 @@ +############# config ################## +# +# set base_path /var/spool/apt-mirror +# +# set mirror_path $base_path/mirror +# set skel_path $base_path/skel +# set var_path $base_path/var +# set cleanscript $var_path/clean.sh +# set defaultarch +# set postmirror_script $var_path/postmirror.sh +# set run_postmirror 0 +set nthreads 20 +set _tilde 0 +# +############# end config ############## + +deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse +#deb http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse +#deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse + +deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse +#deb-src http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse +#deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse + +clean http://archive.ubuntu.com/ubuntu diff --git a/setup.sh b/setup.sh index 22ea20e..dcb6ebd 100755 --- a/setup.sh +++ b/setup.sh @@ -15,6 +15,5 @@ for i in `egrep -o 'https?://[^ ]+' /etc/apt/mirror.list`; do done sed -i '12s/DocumentRoot \/var\/www\/html/DocumentRoot \/var\/www\/package/' /etc/apache2/sites-enabled/000-default.conf -sed -i '2s/.*/exit 0/' /usr/sbin/policy-rc.d apt-mirror && apache2ctl -D FOREGROUND