[Spacewalk-list] spacewalk repositories & file stores

Matthew Madey mattmadey at gmail.com
Fri Feb 7 17:58:08 UTC 2020


Take a look at this. I used this script to create public http repos on my
Spacewalk server under /var/www/html/pub. It links directly back to the
packages already in /var/satellite so there's not much disk space required

https://github.com/angrox/spacewalk-api-scripts/tree/master/spacewalk-create-yumrepo

On Fri, Feb 7, 2020 at 7:48 AM Brian Long <briandlong at gmail.com> wrote:

> I'll give you an example from a RHEL 6.9 spacewalk kickstart profile.
> The "url" line provides the distribution tree and that distribution
> has to be used at the end of each repo line to access the Spacewalk
> yum repos directly.
>
> url --url
> http://spacewalk-server.domain.com/ks/dist/org/1/RHEL_6.9_x86_64_ISO
> repo --name=spacewalk27-client-rhel6-x86_64
> --baseurl=
> http://spacewalk-server.domain.com/ks/dist/child/spacewalk27-client-rhel6-x86_64/RHEL_6.9_x86_64_ISO
> repo --name=rhel6-x86_64-extras
> --baseurl=
> http://spacewalk-server.domain.com/ks/dist/child/rhel6-x86_64-extras/RHEL_6.9_x86_64_ISO
> repo --name=epel6-rhel6-x86_64
> --baseurl=
> http://spacewalk-server.domain.com/ks/dist/child/epel6-rhel6-x86_64/RHEL_6.9_x86_64_ISO
> repo --name=rhel6-x86_64-updates
> --baseurl=
> http://spacewalk-server.domain.com/ks/dist/child/rhel6-x86_64-updates/RHEL_6.9_x86_64_ISO
>
> I could easily have a yum.conf.d file specifying
> baseurl=
> http://spacewalk-server.domain.com/ks/dist/child/spacewalk27-client-rhel6-x86_64/RHEL_6.9_x86_64_ISO
> to directly access the Spacewalk 2.7 client RPMs without having
> Spacewalk already installed.
>
> Hope this helps.
>
> /Brian/
>
> On Thu, Feb 6, 2020 at 2:24 PM Laurence Rosen <lrosen at interactions.com>
> wrote:
> >
> > Not even sure how to search (google) for this subject.
> >
> > I want to setup a locally available yum repo via http I can use to
> initially install the spacewalk client without internet access.
> > I currently have mirrored some repos via mrepo and serve those dir out
> to new client systems for easy client prms installation.
> >
> > The problem with this is it is duplicating the internal spacewalk repos
> I've setup wasting mus storage.
> >
> > Is there a way to utilize the all the cached data in spacewalk and serve
> out as yum repos rather than having another copy of all the rpms in
> /var/ww/mrepo?
> >
> > I am probably missing something stupid simple.  Also please direct me to
> any further documentation that describes how the spacewalk repo system
> works in detail.  I am constantly feeling
> >
> > --
> >
> > Larry R
> >
> >
> >
> *******************************************************************************
> >
> > This e-mail and any of its attachments may contain Interactions LLC
> proprietary information, which is privileged, confidential, or subject to
> copyright belonging to the Interactions LLC. This e-mail is intended solely
> for the use of the individual or entity to which it is addressed. If you
> are not the intended recipient of this e-mail, you are hereby notified that
> any dissemination, distribution, copying, or action taken in relation to
> the contents of and attachments to this e-mail is strictly prohibited and
> may be unlawful. If you have received this e-mail in error, please notify
> the sender immediately and permanently delete the original and any copy of
> this e-mail and any printout. Thank You.
> >
> >
> *******************************************************************************
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20200207/80f6c2bf/attachment.htm>


More information about the Spacewalk-list mailing list