Rhel 7 boot iso fails to install from local repo

Latest response

Hi there!

We want to save bandwidth using a local rhel7 repo.

After installing a server and subscribing, I created a local repo of rhel-7-server-rpms using reposync following the guide at https://access.redhat.com/site/solutions/23016 like this:

mkdir -p /var/www/html/repo
reposync -l --repoid=rhel-7-server-rpms --download_path=/var/www/html/repo
cd /var/www/html/repo
createrepo -v /var/www/html/repo

I got httpd up and I can access everything using http requests from another computer.

I start a VM with a boot iso, configure the repo, but got an empty "Software Selection"

The logs says the group file is missing. So I cannot continue with installation.

Then I copied the comps.xml from the rhel7 DVD, regenerated repo with:

createrepo -v -g comps-Server.x86_64.xml /var/www/html/repo

And then I finally got the expected result, at "Software Selection" I got to choose the "Base Environment" and "Add-ons for selected environment"

Is this the correct procedure? Or is this an Anaconda error?

Thanks!

Responses