setup repo during exam only given baseurl

Latest response

Hi, i recently took a RH exam and one question was to setup a repository on a server that was not subscribed to any subscription.
The server was in a lab environment as it was an exam test, with no internet access.
The only info qiven was the baseurl.
I assumed all i needed to do was setup a file in /etc/yum.repos.d/base.repo
with a few lines like :

[base]
name=base OS
baseurl=
enable=1
gpgcheck=0

Everytime i ran "yum repolist" it failed. Was my base.repo file full of errors ?
thank you.

Responses