Skip to content
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: Allow usage of local mirrors in migrate2rocky.sh #125

Open
jdeamicis opened this issue Nov 19, 2021 · 2 comments
Open

Feature-request: Allow usage of local mirrors in migrate2rocky.sh #125

jdeamicis opened this issue Nov 19, 2021 · 2 comments

Comments

@jdeamicis
Copy link

With the release of RockyLinux 8.5, using migrate2rocky.sh on a CentOS 8.4 installation will automatically migrate it to a Rocky 8.5.

If one has access to local mirrors for different Rocky minor releases, one could edit the repos before the package_swaps phase in order to control the resulting minor release for the migration (by picking the right mirror for the desired minor release).

@jdeamicis
Copy link
Author

It's actually easier than expected: one must just use the local mirrors in repo_urls for both rockybaseos and rockyappstream, instead of the default ones.

I wonder if it makes sense to make it a command line option for the users.

@m41kc0d3
Copy link

please see #92
and my fork https://github.com/m41kc0d3/rocky-tools/tree/set-mirror-url

we used it internally for many migrations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants