summaryrefslogtreecommitdiff
path: root/ansible/roles/debian-mirror/files/mirror-debian
blob: adbec5fd5ccff86e703fb2465c3af96c43e93b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -eu

mirror_root="$1"

debmirror \
    --no-check-gpg \
    --host=ftp.fi.debian.org \
    --method=http \
    --rsync-extra=trace \
    --arch=amd64 \
    --dist=stretch-backports \
    --dist=stretch-updates \
    --dist=oldstable \
    --dist=jessie-updates \
    --dist=stable \
    --dist=buster-backports \
    --dist=buster-updates \
    --dist=testing \
    --dist=bullseye-backports \
    --dist=bullseye-updates \
    --dist=unstable \
    --dist=experimental \
    "$mirror_root"