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

set -eu

mirror_root="$1"

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