[Spacewalk-list] Bare Metal Provision Through Proxy
Miroslav Suchy
msuchy at redhat.com
Tue Mar 13 19:23:16 UTC 2012
On 13.3.2012 15:38, Wojtak, Greg (Superfly) wrote:
> It does work directly from the spacewalk server.
>
> I probably should have been more clear in my previous email about what I'm
> perceiving the problem to be.
>
> The repo name in the URL is having the 'spacewalk' replaced as well. In
> this case, the repo is called spacewalk-client. I'm guessing that since
> my spacewalk server is simply called 'spacewalk', there's some sort of
> regex going on that replaces all occurrences of 'spacewalk' with my proxy
> name instead of just the domain portion of the URL. So 'spacewalk-client'
> is becoming 'proxy.fqdn.tld-client' within the URL string.
Aha. Indeed, we have in code which do the replacement something like:
s/fqdn-sw-server/fqdn-sw-proxy/
And we do that replacement in whole kickstart file. Word by word.
And if your fqdn of spacewalk server is "install" or "selinux" or the
same name as your base channel name, then yes bad thing can happen.
Please do not do that.
Write something which would replace only intended part of kickstart is
too hard. It is much easier to name your spacewalk at least
spacewalk.localdomain.
Mirek
More information about the Spacewalk-list
mailing list