rdbreak / rhcsa8env

This is a RHCSA8 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-7ju3rz7b-_G3Njp3PDwdBG_81SwPeLA
MIT License
295 stars 177 forks source link

Access repo help #39

Closed bartbus7 closed 3 years ago

bartbus7 commented 3 years ago

Exactly what command is needed to access this link? dnf install nor yum install don't work. "There is a Repo/AppStream available to use from http://repo.eight.example.com/BaseOS and http://repo.eight.example.com/AppStream"

rdbreak commented 3 years ago

These links are used to access the repo server once the environment is up and running. Can you provide your repo file(s) content?

bartbus7 commented 3 years ago

When I look in the repo server under /etc/yum.repos.d/ there is main.repo, epel.repo, and epel-testing.repo. I was finally able to scp copy these repos over to server1 and 2, but it fails yum repolist: failed to sync cache for repo 'AppStream' / 'BaseOS'. I was able to do yum repolist for the epel.repo. I also couldn't access the http links.

bartbus7 commented 3 years ago

I have removed and rebuilt the 2 servers, 1 and 2, and repo 30 times and still get failed to sync cache for repo 'AppStream' / 'BaseOS'. This has never worked.

rdbreak commented 3 years ago

I'm not having trouble on my end but it must be something. Please paste the contents of the main repo file here

bartbus7 commented 3 years ago

Here's the main repo contents, which is exactly the same on both server 1 and 2. image mainrepo

bartbus7 commented 3 years ago

How should main.repo be put on server1 and 2? I've been logging into repo server and scp copying it over to server1 and 2. Maybe I should be doing it some other way.

bartbus7 commented 3 years ago

Issue resolved. Just used scp from repo server to copy the repos to the 2 vms.