Hi George, You want to add the EPEL repos and then, in the CentOS profile, you'll see a select box where you can select what repos to enable during installation. You select all the repos you want in there (such as EPEL, Puppetlabs, etc). Those repos will not persist after installation, though I believe there is a variable that makes them stick around after install (yum_config_something).
Good luck! Gonzalo On Sun, Feb 12, 2012 at 7:39 PM, George Pitich <[email protected]>wrote: > i've been trying to kickstart centos 6 (pxe) with cobbler for some time > but haven't been successful. namely if installation doesn't require any > external repos (like epel or rpmforge) kickstart works great. however when > installation needs some packages provided in external repos (epel) i don't > know how to specify such a request. > > I thought that: > > cobbler repo add --name=EPEL-x86_64 --mirror= > http://download.fedora.redhat.com/pub/epel/5/x86_64 --mirror-locally=N > > > would fetch dependencies during kickstart (puppet) but that simply didn't > happen (did cobbler reposync), installation process would complain that > puppet package didn't exist. excerpt from the ks file: > > > url --url http://server-ip/distros/CentOS/6.0/os/x86_64/ > > > %packages > @base > @compat-libraries > @core > @puppet > > Os and core packages are served from a local yum repo that resides on the > same box as cobbler: > > also: > > > cobbler add --name=Centos_6.0_x86_64 > --kernel=/distros/CentOS/6.0/os/x86_64/images/pxeboot/vmlinuz > --initrd=/distros/CentOS/6.0/os/x86_64/images/pxeboot/initrd.img > cobbler distro add --name=Centos_6.0_x86_64 > --kernel=/distros/CentOS/6.0/os/x86_64/images/pxeboot/vmlinuz > --initrd=/distros/CentOS/6.0/os/x86_64/images/pxeboot/initrd.img > > cobbler profile add --name=Centos_6.0_x86_64_Bit > --distro=Centos_6.0_x86_64 --kickstart=/distros/kickstarts/centos60.ks > > > I can browse the repo without any issues (repo was created from 2 centos 6 > dvd iso files). At the moment i am mirroring epel through the cobbler > locally. once mirror is done i'll create the profile but not sure if this > is the only thing required? > > > i'm quite new to cobbler and would appreciate any help on this matter. > > thx. > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > -- Gonzalo Servat Systems Administrator, SIRCA Ltd Level 9, 80 Clarence St, Sydney NSW 2000 PO Box H58 Australia Square NSW 1215 Tel: +61 2 9236 9161 Fax: +61 2 9231 5988 www.sirca.org.au
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
