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

Reply via email to