Michael DeHaan wrote:
Tom Brown wrote:
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
[EMAIL PROTECTED]:/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.
[EMAIL PROTECTED] noarch]# mkdir /opt/foo
[EMAIL PROTECTED] noarch]# cp *rpm /opt/foo/
[EMAIL PROTECTED] noarch]# cobbler repo add --name=testing-extras
--mirror=/opt/foo
[EMAIL PROTECTED] noarch]# ll /opt/foo/*rpm | wc -l
19
[EMAIL PROTECTED] noarch]#
something is not right there - just fails silently ?
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
What did you think failed?
No copy occurs until you run "cobbler reposync"
ah ok my mistake
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools