----------------mensaje original-----------------
De: "Christian Horn" [email protected]
Para: "cobbler mailing list" [email protected]
Fecha: Fri, 13 Nov 2009 19:25:41 +0100
-------------------------------------------------
 
 
> Hi,
> 
> On Fri, Nov 13, 2009 at 03:04:35PM -0300, Diego M. Vadell wrote:
>> 
>> * cobbler import --name=Fedora11 --mirror=/mnt/
>> * cobbler sync
>> * cobbler system add --name=XXX --mac=XX:XX:XX:XX:XX:XX
>> --profile=Fedora11-x86_64 
>> 
>> Not a problem.
>> 
>> Now I want to add one RPM, ipmitool, which didn't came into the Fedora11
>> DVD. Do I have to make a custom repository and add it to the profile? 
> 
> Something like this should do it:
> 
> # mkdir /var/www/myrepo
> # cp ipmipackage.rpm /var/www/myrepo
> # createrepo /var/www/myrepo
> # cobbler repo add --name=myrepo --mirror=http://myip/myrepo \
> #     --mirror-locally=0
> # cobbler reposync
> # cobbler profile edit --name=Fedora11-x86_64 \
> #     --repos="Fedora11-x86_64 myrepo"
> 
> 
> Christian
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
> 

Christian,

 Thanks! It worked wonderfully. I had to make just two little changes:

* /var/www/myrepo is not in the DocumentRoot of apache, so I edited
/etc/httpd/conf.d/cobbler.conf and added another AliasMatch line.
* Fedora11-x86_64 does not exists as a repo, so the line was cobbler profile
edit --name=Fedora11-x86_64     --repos="Fedora11-x86_64 myrepo" 

Thanks again.
 -- Diego.



_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to