EuroLinux / cloud-images-rfc

This repository contains Requests for Change in EuroLinux made cloud images.
https://app.vagrantup.com/eurolinux-vagrant
9 stars 0 forks source link

[BUG] CentOS Linux 7.9 - wrong baseurls in CentOS-Vault-Base.repo #12

Open hosekadam opened 2 months ago

hosekadam commented 2 months ago

Describe the bug In the latest (7.9.63) version of the CentOS 7 box the updates (same for extras, centosplus) repo points to URL for base repo.

Cloud Image Vagrant, libvirt, eurolinux-vagrant/centos-7 box version 7.9.63

To Reproduce

Expected behavior A clear and concise description of what you expected to happen. Under the updates (same for extras, centosplus) repo should be:

[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://vault.centos.org/7.9.2009/updates/x86_64
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

Additional context I used this sed command to fix this issue for updates:

sed -i '/\[updates\]/,/\[/{s|^baseurl=.*|baseurl=http://vault.centos.org/7.9.2009/updates/x86_64|}' /etc/yum.repos.d/CentOS-Vault-Base.repo

And vice versa for the other repos.

AlexBaranowski commented 2 months ago

Thanks for your bug report. I will probably fix it during the weekend :). Sorry for delay, but it's very old image and I have to vert quite thoroughly through image build repository.

I will keep you informed!

hosekadam commented 2 months ago

@AlexBaranowski If it would help you, this is what I have to do in some different centos 7 vagrant box .cfg file to have the latest packages and have the repos pointing to the vault: https://github.com/oamg/vagrant-uefi-boxes/pull/9/files#diff-e23544ea1a563fbb0e0205721d065bdcc391f4e1fea8655a84c0078d0b08c41c

AlexBaranowski commented 2 months ago

I'm just writing to let you know that we have another problem -> the API for pushing images has changed, I'm working with HashiCorp to fix the problem but it will take some time. Thank you for your patience.