cobbler / cobbler

Cobbler is a versatile Linux deployment server
https://cobbler.github.io
GNU General Public License v2.0
2.62k stars 654 forks source link

Consistent use of $http_port #129

Closed brandor5 closed 12 years ago

brandor5 commented 12 years ago

We are running apache on port 8080 and have to manually edit a few of the snippets to insert the $http_port variable.

An example is pre_anamon: wget -O /tmp/anamon "http://$server/cobbler/aux/anamon"

We had to change this to

wget -O /tmp/anamon "http://$server:$http_port/cobbler/aux/anamon"

to prevent kickstart from "locking up" during a provision.

Another place we are seeing a similar error is during pxelinux.cfg generation. Although we haven't had a chance to dig into the code and find out where $pxe_menu_items is populated, so we're editing systems by hand after sync.

Thanks!

brandor5 commented 12 years ago

We have moved to version 2.2.2-1 from epel-testing and the pxelinux.cfg generation error has been resolved.

I still had to edit both anamon snippets to use the correct uri.

jimi-c commented 12 years ago

Any chance you could submit those snippet changes as a patch?

brandor5 commented 12 years ago

Sure. On Apr 28, 2012 7:52 AM, "jimi1283" < reply@reply.github.com> wrote:

Any chance you could submit those snippet changes as a patch?


Reply to this email directly or view it on GitHub: https://github.com/cobbler/cobbler/issues/129#issuecomment-5396347

brandor5 commented 12 years ago

Done.

jimi-c commented 12 years ago

Fix merged in. Thanks!

brandor5 commented 12 years ago

Anytime, thank you. :)