Hello,

I went through similar circumstances. I can't give you a step-by-step-guide but 
a hint of things I did to get the client-tools to my 'offline' Clients.

#1 you have to keep the packages separate for each distribution/version just to 
avoid yum messing up.
            So create Distro-folders in your Apache-Web folder /var/www/html/
#2 write a script to download the client tools from the spacewalkproject.  You 
can use e.g. 'wget' to get the folder(s) content. execute this script on your 
spacewalk-server

#3 create an apache vhost-config file /etc/httpd/conf.d/* with matching 
VirtualHosts and <Directory>-tags so that you can access one of the folders via 
URL from the client.

#4 add a http(s) Repo to your Client /yum/repos.d/ and link it to the URL of 
your added folders/VirtualHosts (you don't need to write a whole new file. Copy 
an existing file and manipulate name and URL)


There you go,

Regards,

Fabian Bosch

Referat 34 - Open Source
Tel: 94476, Raum: KRA 1.68

Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Frank, Mark (MA)
Gesendet: Dienstag, 11. August 2015 16:38
An: [email protected]
Betreff: [Spacewalk-list] Installing Spacewalk Client Tools without internet 
access

I am in sort of a catch-22 in regards to our Spacewalk clients.  We setup a 
Spacewalk server in order to deploy OS updates to CentOS clients specifically 
because the clients don't have internet access by default.  However, we can't 
register our clients to the new Spacewalk server because they require the 
Spacewalk Client Tools to be installed first, which in turn requires internet 
access.

This is the step that I'm currently unable to do on my clients:
# rpm -Uvh 
http://yum.spacewalkproject.org/2.3-client/RHEL/6/x86_64/spacewalk-client-repo-2.3-2.el6.noarch.rpm

...which is required in order to do this:
# yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin

My thought was that I'd like to setup an internal repo of 
http://yum.spacewalkproject.org/ or better yet just 
http://yum.spacewalkproject.org/latest-client/RHEL/ (all of our clients are 
CentOS only) on our spacewalk server and then create/modify the repo file on 
the clients to point to the internal repo.  I have Googled my heart out in 
regards to reposync/createrepo, but I haven't been able to sort it out yet.

I'd like some guidance in terms of (1) creating and syncing the repo on my 
spacewalk server and (2) how to create the repo file on the clients to be able 
to do the "yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto 
yum-rhn-plugin" and have it be smart enough to grab the files from the right 
RHEL version and arch.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to