?I did this as well, but was unable to have Rhel 6 and 7 on same server so I 
built a local yum repo for rhel 6 and pointed spacewalk to that with the same 
approach and just pointed to url://https://fqdn of server/rhel6/rhel6_repo


________________________________
From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> on 
behalf of Bill Howe <howe.b...@gmail.com>
Sent: Thursday, November 1, 2018 1:06 PM
To: spacewalk-list@redhat.com
Subject: [EXTERNAL] Re: [Spacewalk-list] How to create local repo on Spacewalk

>From what I understand, you are trying to create a custom local repo and make 
>it available in Spacewalk.
To do that:

  *   Follow the normal createrepo procedures
  *   Populate your repo with the packages, sign them with a GPG key (rpmsign)
  *   In the Spacewalk portal, go to: Channels > Manage Software Channels > 
Manage Software Reposotories
     *   Click "Create Repository" and define it similar to the following:
        *   Label: <whatever you want>
        *   URL: file:///var/repos/custom/el7/x86_64
        *   Type: yum
  *   Create a new channel and link it to your newly created repo.
  *   All clients will need the GPG key imported into rpm (rpm --import 
GPGKEYFILE)

Bill Howe
howe.b...@gmail.com<mailto:howe.b...@gmail.com><http://www.linkedin.com/in/whowe>


On Thu, Sep 27, 2018 at 10:27 AM Jérôme Meyer 
<jerome.me...@lcsystems.ch<mailto:jerome.me...@lcsystems.ch>> wrote:
Thanks for your reply.
I don't have a local repo or how can I find it?

Regards,
Jérôme

From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
[mailto:spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com>]
 On Behalf Of Harshal Lakare
Sent: Donnerstag, 27. September 2018 16:17
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: [Spacewalk-list] How to create local repo on Spacewalk

You can simple run script to add your local repo in kickstart file.


Regards,

Harshal Lakare
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to