Re: cobbler 0.8.x - cobbler repo update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Brown wrote:
Hi

i use cobbler to configure my repo's with cobbler repo add etc and this works fine. Can anyone give me any pointers to the process of adding a new rpm to a repo and syncing it so its available using yum, all through the use of cobbler?

thanks

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

If you want to maintain your own repo with rpms, all you have to do is ...

mkdir /opt/foo
cp <lots of rpms> /opt/foo
cobbler repo add --name=foo-name --mirror=/opt/foo
(this actually uses rsync, so if you have another box in your org, with a directory full of RPMs, you can pass in --mirror=user@server:/opt/foo)

And it will take care of calling createrepo and making sure the repo config files are all created correctly.

I'd recommend doing that rather than trying to add an RPM to an existing mirrored repo, as that will make it clearer what comes from where and you can enable/disable individual repos as needed.

--Michael



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux