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

Unable to install/update rpm with yum, once vm is created. #54

Open
llodiot opened this issue Jul 31, 2023 · 0 comments
Open

Unable to install/update rpm with yum, once vm is created. #54

llodiot opened this issue Jul 31, 2023 · 0 comments

Comments

@llodiot
Copy link

llodiot commented Jul 31, 2023

I created vm, folowing "puppet for devops" class, using "vagrant up puppet --no-provision". Connnected on it as root, I'm not able to perform "yum -y update" with this kind of message : " puppet: CentOS Linux 8 - AppStream 26 B/s | 38 B 00:01
puppet: Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist"
Indeed editing yum repo files (in /etc/yum.repo.d) I saw that url includes variables which are not speciifed. As : "mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra"
Note that creating vm with puppetserver installation (without option --no-provision) also failed for the same reason. Also note that I launch " vagrant plug in install vagrant-hostsupdater" before vm creation but it changes nothing.
Regards.

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

1 participant