Re: RHEL6 nfs repo not working

"Parthasarathy, Balaji (BCS, Palo Alto, USA)" <[email protected]> Fri, 19 Apr 2013 14:17:02 +0000
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
For nfs repos, you should say nfs:<machine>:<path>. <machine> should not have // in it.

Balaji

On Apr 19, 2013, at 3:45 AM, "Romu" <[email protected]<mailto:[email protected]>> wrote:

Hi,

I wanted to enable all repos in RHEL6 install media so I specified the misc repos in kickstart:

repo --name=HighAvailability --baseurl=nfs://192.168.1.150:/qa/build/OL6/U4/x86_64/os/HighAvailability
repo --name=LoadBalancer --baseurl=nfs://192.168.1.150:/qa/build/OL6/U4/x86_64/os/LoadBalancer
repo --name=ResilientStorage --baseurl=nfs://192.168.1.150:/qa/build/OL6/U4/x86_64/os/ResilientStorage
repo --name=ScalableFileSystem --baseurl=nfs://192.168.1.150:/qa/build/OL6/U4/x86_64/os/ScalableFileSyste

The install source is specified in kickstart by

nfs --server=192.168.1.150 --dir=/qa/build/OL6/U4/x86_64/os

When anaconda starts, it can sucessfully read repodata from the repos, but when install starts anaconda fails to access any package in the repo.

The install source is also accessible via http, if I use the following in kickstart, then everything works fine, all packages in the misc repos can be installed.

url --url=http://192.168.1.150/build/OL6/U4/x86_64/os/
repo --name=HighAvailability --baseurl=http://192.168.1.150/build/OL6/U4/x86_64/os/HighAvailability
repo --name=LoadBalancer --baseurl=http://192.168.1.150/build/OL6/U4/x86_64/os/LoadBalancer
repo --name=ResilientStorage --baseurl=http://192.168.1.150/build/OL6/U4/x86_64/os/ResilientStorage
repo --name=ScalableFileSystem --baseurl=http://192.168.1.150/build/OL6/U4/x86_64/os/ScalableFileSystem


Any idea why the nfs repos don't work?


Thanks
Romu
_______________________________________________
Kickstart-list mailing list
[email protected]<mailto:[email protected]>
https://www.redhat.com/mailman/listinfo/kickstart-list