upstream_sync
upstream_sync copied to clipboard
script to help mirror upstream repositories
I am getting below error message during curl. # curl --cacert /etc/rhsm/ca/redhat-uep.pem -E /etc/pki/entitlement/6111948051269593973.pem --key /etc/pki/entitlement/6111948051269593973-key.pem https://cdn.redhat.com/content/dist/rhel/server/8/8Server/x86_64/os Access Denied Access Denied You don't have permission to access "http://cdn.redhat.com/content/dist/rhel/server/8/8Server/x86_64/os" on this...
it should work in both python2 and python3 now if using containers you could get configuration from environment variables
reposync have changed in RHEL8 rendering the script broken. ```[root@cv repos]# CONFD_DIR=/usr/local/etc/upstream_sync upstream_sync.py -v --root WARNING:root:unable to detect architecture for OpenHPC-1.0 INFO:root:syncing OpenHPC-1.0 Updating Subscription Management repositories. usage: dnf reposync...
Hello, I'm using upstream_sync.py to mirror the OpenHPC repository, but the script is missing the GPG key files. In example: http://build.openhpc.community/OpenHPC:/1.3/updates/CentOS_7/repodata The key file is located on `repomd.xml.key` file. So...
If you run upstream_sync with `--command` it shows the command but the actual code will check if a comps.xml file exists and if it does it will append `-g /repo/path/comps.xml`...
Hi, I have a feature request for your script. For mirroring SLES repos, you have to give a token with each download URL/file. `https://updates.suse.com/SUSE/Products/SLE-SERVER/12/x86_64/product/?` You could generate your own token,...
We have enough optional options for repo config stanza that these options should be documented.