New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: SuSE SLES 12 repos #6
Comments
Under the hood, repo_sync (part of yum utils) is being used to mirror repositories. Can you sync the repo successfully if set |
Unfortunatelly not.
The reason for that is, that the repomd.xml should be downloaded without the trailing The above URL Correct URL should be:
|
With upstream_sync, upstream_sync generates the proper yum.conf for use by reposync. You can see the commands |
Ok, i will try this.... |
--> Same issue here... Wrong URL |
That makes sense. Reading the yum page, it does not appear there is an option add a suffix to all urls. Yum support HTTP Basic Auth and HTTPS Client Authentication. Unfortunately I don't have a good solution. |
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/?<token>
You could generate your own token, if you paste a valid "Registration Code" from SuSE Customer Center
https://scc.suse.com/subscriptions
in this command line:
curl -H "Authorization: Token token=YourRegistrationCode" https://scc.suse.com/connect/subscriptions/products | tr "," "\n" | grep -i "url" | grep -i "SLE-SERVER"
Output example:
Just to avoid misunderstandings:
For EACH file to download, you have to add the
?<token>
to the URL.So, it would be very nice, if you could add a config option "auth_token", where the token could be stored for each repo (every repo has its own token).
If this option is set, and if repo is a SuSE SLES repo, each file/download URL should expanded with
?$auth_token
stringThanks and regards.
The text was updated successfully, but these errors were encountered: