Migrating from centos 8 to AlmaLinux 8.7 offline
Discussed in https://github.com/AlmaLinux/almalinux-deploy/discussions/157
Originally posted by MarkAntonyGit December 1, 2022 Hi folks,
Can you please suggest which all functions I need to edit in the script so that I can use a local repository for this migration script? Also please suggest which all repos I need to create locally for the migration to happen without internet. Thanks in advance!
I looked into this since I am interested in doing something like this as well with a remote deployment when I visit this summer. I'm no expert, but to me it looks like there are at least 2 things that need to happen:
- change the centos 8 vault urls to something local
- Use a modified version of the almalinux-release rpm (https://git.almalinux.org/rpms/almalinux-release that overrides the repo lists
It looks like actually you can set up ALMA_RELEASE_URL and ALMA_PUBKEY_URL environmental variables to something before running the script, which can be a local mirror. So all you need is a local mirror and an almalinux-release rpm with modified repo files, I think, but I haven't tried it yet!
Thank you for your reply. I have already created a seperate script with local repo. It's working fine now. Thanks again.
On Wed, 19 Apr, 2023, 9:00 am Cosmin Deaconu, @.***> wrote:
It looks like actually you can set up ALMA_RELEASE_URL and ALMA_PUBKEY_URL environmental variables to something before running the script, which can be a local mirror. So all you need is a local mirror and an almalinux-release rpm with modified repo files, I think, but I haven't tried it yet!
— Reply to this email directly, view it on GitHub https://github.com/AlmaLinux/almalinux-deploy/issues/158#issuecomment-1514082209, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYS5VRQCRITCKUTJUVZSALXB5L7FANCNFSM6AAAAAASQRGGEE . You are receiving this because you authored the thread.Message ID: @.***>