On Fri, 20 Mar 2009, Michael DeHaan wrote: > You misunderstand what mirror-locally does. > It is used to represent a repo that is accessible to yum on remote machines. > A filesystem path is /not/ generally accessible to yum.
Sorry to disapoint, you start from a wrong assumption. yum has support for many years for using a file:// URL as packages source, so if I make sure that the repo is NFS mounted at runtime in the same location on the clients, I do have a filesystem path accesible on both the cobbler server and the clients. I have maintained this setup (mirror on a central NFS server + clients install and update over NFS) since about the early days of CentOS 3. kickstart can take a NFS source and in %post allows me to set up the common mount point (mkdir, add to fstab) then yum allows me to update using repos found below this mount point - much faster than using http/ftp because RPMs are not at all transfered, only checked. For me, adding httpd to the mix or using cobbler for mirroring the repos is not a good solution. Should I file a RFE or is such a setup not interesting ? -- Bogdan Costescu IWR, University of Heidelberg, INF 368, D-69120 Heidelberg, Germany Phone: +49 6221 54 8240, Fax: +49 6221 54 8850 E-mail: [email protected] _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
