-
Notifications
You must be signed in to change notification settings - Fork 423
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
Option to fill in variables in mirrorlist #581
Comments
Are you trying to use spacewalk with our mirrorlist instead of locally-hosted mirrors with direct URLs? |
The Spacewalk-server will be the locally hosted mirror for AlmaLinux. Clients will connect to Spacewalk, which in turn fetches the content from the mirrorlist. |
So spacewalk is a proxy/cache of sorts? I've not used spacewalk before so I'm trying to understand what the actual problem is here that you're trying to overcome. If spacewalk is a mirror anyway why not just rsync it like any other mirror? |
Spacewalk is a local repository management tool. It is deprecated now but it is/was the upstream version of Red Hat Satellite 5 but still works OK. Our local servers don't download the RPM's from upstream but from the Spacewalk-server. Spacewalk is pointed to upstream servers with a yum-config but (unfortunately) without all the |
So spacewalk only caches what's needed, ie what's requested by clients, basically? |
Spacewalk downloads the entire repository or only the latest packages of each repository you tell it to sync. It serves as an offline and controllable repository server for clients on internal networks, that can't connect to the internet by firewall/policy/CSO/whatever reason. But it needs to specifically download each repository that is needed by clients, it's not a caching proxy server of some sorts. It's an offline copy of upstream repositories so client's don't need to connect to internet-based repositories to use or download packages. (Saves a lot of bandwidth too...) |
Is there an option to fill in the variables that the mirrorlist returns? We have Spacewalk running and the mirrorlist returns a list of URL's that have the variable
$basearch
in them. Spacewalk can't resolve or change that variable.It would be nice to have the option to generate that URL without those variables so it returns static URL's.
Now
The URL https://mirrors.almalinux.org/mirrorlist/8/baseos returns the following:
Suggestion
Adding a parameter to the URL will fill in those variables, simething like
<url>?basearch=x86_64
The following URL would return the below URL's: https://mirrors.almalinux.org/mirrorlist/8/baseos?basearch=x86_64
The text was updated successfully, but these errors were encountered: