[Spacewalk-list] SLES kickstart/autoyast on Spacewalk 1.9

Mattias Giese giese at b1-systems.de
Fri May 10 09:49:09 UTC 2013


Hi,

i personally did not have any luck changing the httpd config. For a
quick demo i hacked the cobbler_wsgi script:

<snip>
--- services.wsgi-dist	2013-03-07 11:42:02.731701158 +0100
+++ services.wsgi 2013-03-07 11:39:49.054824759 +0100
@@ -26,7 +26,7 @@

 def application(environ, start_response):

-    my_uri = environ['REQUEST_URI']
+    my_uri = environ['REQUEST_URI'].replace('%3a',':')

     form = {}



</snip>

I would never put this into production.

On 05/10/2013 02:13 AM, Reed, Steven wrote:

> After adding the install=http:// option to the "kernel option" it starts the gui installer but stops with
> 
> Yast2
> 
> An error occurred while fetching the profile:
> Cannot load http://spacewalkserver/cblr/svc/op/ks/profile/kssles_11_sp2-x64%3a1%3aSpacewalkDefaultOrganization
> 
> In the /var/log/httpd/error_log it says:
> [error] content not found: /cblr/svc/op/ks/profile/kssles_11_sp2-x64%3a1%3aSpacewalkDefaultOrganization
> 
> It looks like the yast2 installer is changing the : to %3a which is not being recognised by apache.
> 
> If I change the %3a back to the : and put that in a browser it returns the kickstart file.
> 
> Google says the rewrite option [NE] should stop the default url escaping but I can't figure out where to add it in the apache config.

-- 
Mattias Giese
Linux Consultant & Trainer
Mail: giese at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130510/22930e29/attachment.sig>


More information about the Spacewalk-list mailing list