On Tue, Jan 22, 2019 at 6:59 PM Bob Gustafson <bobgus(a)rcn.com> wrote:
I have local servers I could use for a local repository. Any
recommendations on a script for offloading the downloads to a local
repository?
I'm using the following script to mirror Silverblue repos:
ostree --repo=/mnt/data/faw/repo remote add --if-not-exists --set
gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary f29
https://kojipkgs.fedoraproject.org/atomic/repo/
ostree --repo=/mnt/data/faw/repo pull --mirror --depth=1
f29:fedora/29/x86_64/updates/silverblue
ostree --repo=/mnt/data/faw/repo prune --keep-younger-than="7 days ago"