I had a similar issue when trying to create a mirror on a NFS partition. The solution was to write the repodata to a non-nfs partition and then copy the repodata back into the required location. e.g.
rm -rf <mirror_location>/repodata
createrepo -d --outputdir=/tmp -s sha1 <mirror_location>
mv -f /tmp/repodata <mirror_location>/
Regards,
Gareth
On Fri, Apr 19, 2013 at 4:17 PM, Parthasarathy, Balaji (BCS, Palo Alto, USA) <balaji.parthasarathy@xxxxxx> wrote:
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" <huruomu@xxxxxxxxx<mailto:huruomu@xxxxxxxxx>> 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="" href="http://192.168.1.150/build/OL6/U4/x86_64/os/" target="_blank">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
Kickstart-list@xxxxxxxxxx<mailto:Kickstart-list@xxxxxxxxxx>
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list