pxeboot centos4 ks /./ problem
by Gordon Child
Hello,
When trying to pxeboot centos4 the kickstart is fetched, but the url has a /. added to the front of it...
Note the following url...
http://192.168.0.3/cblr/svc/op/ks/system/example_system_name
is fetched during the kick start as follows: (notice the /. at the beginning... bad centos4! )
GET /./cblr/svc/op/ks/system/example_system_name HTTP/1.0
Host: 192.168.0.3
X-RHN-Provisioning-MAC-0: eth0 00:0C:29:18:F5:49
This returns "no mode specified" instead of the kickstart file.
Does anyone have an idea on how to solve this issue? I've looked at services.py, but can't seem to find out how it is called.
Thanks,
Gordon Child
13 years, 11 months
[PATCH] add template file support for ISO building
by Stuart Sears
Hi All,
Patch attached, applies cleanly to git clone from today.
Adds a 'menutemplate' argument to the ISO generation functions in
action_buildiso.py
api.py
remote.py
Defaults to the hardcoded text version if absent (clearly this is
trivial to change to a central file in /etc/cobbler if desired.)
Stuart
--
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.
13 years, 11 months
[PATCH] Added "Puppet Parameters" Field to Web UI
by Alex Kesling
Hi all, this is my first time posting a patch to cobbler, so please be gentle....
The workaround which converts the Kickstart Metadata into management parameters to be handed to Puppet (through the External Nodes service call) seems immensely unintuitive, so I've added a "Puppet Parameters" field in the Web UI. This field can be found under the "Management" heading on the edit pages for both Profiles and Systems. It is a textarea (so you don't have to cram everything into one line...) that takes a YAML formatted dictionary. This seemed the most straightforward input format considering this _is_ a puppet configuration option. The old workaround with the Kickstart Metadata field is still functional to support anyone who has already configured their system that way, but I'd suggest considering it deprecated and breaking that functionality some time in the future....
The patch can be found on github in the following commit:
http://github.com/akesling/cobbler/commit/005a4a9ae5df50b98325ce5d309d676...
I hope that this is thought to be a useful.
Thank You,
Alex Kesling
13 years, 11 months