[Spacewalk-list] Kickstart w/o internet access

David Rock david at graniteweb.com
Fri Oct 1 16:08:57 UTC 2010


* Sascha Bendix <sascha.bendix at 360t.com> [2010-09-28 18:25]:
> Hi,
> 
> in my current setup the clients doesn't have access to the internet. They are supposed to get all the stuff they need from the spacewalk (version 1.1) server.
> 
> There is only one little problem with this: During the kickstart process the update of package lists seems to be triggered by rhnreg_ks and rhn_check during the first %post section which is titled "cobbler snippet". At this point they always wait for the timeout which takes 4 time longer than the rest of the installation does.
> 
> I couldn't find out where this "cobbler snippet" is located in the filesystem (it's not in /var/lib/rhn/kickstarts/snippets). Can anybody give me some hint ?
> 
> I disable the repositories later in some other %post script. As an alternative to change the snippet, is there a way to do the registration in some later %post section?
> 
> Or does anybody has another idea how to deal with this issue?

We are using satellite, but the concept is the same.  None of our
profiles are hitting the internet.  They get everything from the
satellite server.  Something is definitely missing.

What does your actual ks file look like?  If there are references to an
external IP rather than your spacewalk server, those are the pieces that
may need to be fixed.

One option would be to use raw kickstart profiles, instead of the wizard
style ones.  That would allow you to include only the parts you want,
and manually register in a %post script using rhnreg_ks. It would also
allow you to completely skip the whole "cobbler snippet" issue.  The one
you are looking for is probably in /var/lib/cobbler/snippets.

Another option might be to use Activation keys that are tied to a cloned
channel.  Maybe that would override whatever is going on.

-- 
David Rock
david at graniteweb.com




More information about the Spacewalk-list mailing list