I have created a local repo for CentOS 6 x86_64. I use a machine at 192.168.1.14 for that and created a directory structure /var/www/html/centos/6.2/updates/x86_64 then there are these directories at the location.
Packages repodata
Both are populated with many files.
In my kickstart file I have a line: #repo --name=Updates --baseurl=http://192.168.1.14/centos/6.2/updates/x86_64/
All seems fine. If the line is comment as above the install is fine, just base 6.2 with no updates.
If I uncomment the line I get some error about dbus package is incorrect.
Is there something I am missing???
My script to keep the local repo up to date is: for VERSION in "6.2" do mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/Packages mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/repodata
PLACE="mirror.team-cymru.org/CentOS" rsync -av rsync://$PLACE/$VERSION/updates/x86_64/Packages/* /var/www/html/centos/$VERSION/updates/x86_64/Packages rsync -av rsync://$PLACE/$VERSION/updates/x86_64/repodata/* /var/www/html/centos/$VERSION/updates/x86_64/repodata done
Thanks,
Jerry