Closed bocekm closed 3 years ago
Hi,
We actually stopped producing Enterprise Linuxes 6 images because it hit EOL, but this last fix would be nice :).
I will fix that shortly and let you notice.
Bests, Alex
Thanks a lot. I don't know how would I workaround it since the box fails to start up before we can run any Ansible playbooks to fix the repos.
Hi,
The new version https://app.vagrantup.com/eurolinux-vagrant/boxes/centos-6 was pushed.
It works :).
Please remember about removing previous box with vagrant box remove eurolinux-vagrant/centos-6
.
Tip:
I was able to get to previous broken vagrant machine when during bootup you press ctrl
+ c
during "waiting for domain to get an IP address..."
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
^C==> default: Waiting for cleanup before exiting...
^C==> default: Exiting immediately, without cleanup!
✘ ~/V/centos-tmp > vagrant ssh
This box was generated by EuroLinux
Any suggestions are welcome at https://github.com/EuroLinux/cloud-images-rfc/
Happy using.
To delete this message use:
echo '' > /etc/motd
[vagrant@localhost ~]$
I'm closing the issue. Thanks for reporting this problem 👍🏼.
Awesome, thank you!
Describe the bug The CentOS 6.10 box uses non-functioning repos. Since CentOS 6 has been retired, the original standard repos has been archived in the Vault (https://vault.centos.org/6.10/).
Cloud Image Vagrant, libvirt, eurolinux-vagrant/centos-6 box version 6.10.19
To Reproduce
vagrant up
Stderr from the command: Error: Cannot find a valid baseurl for repo: base
sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Base.repo sed -i 's/^#baseurl.*$/baseurl=http:\/\/vault.centos.org\/6.10\/os\/x86_64/g' /etc/yum.repos.d/CentOS-Base.repo