/var/lib/cobbler/kickstarts and /var/lib/cobbler/snippets
The kickstart file you can view from the web interface (or by command line "cobbler
system getks --name="...") is dynamically generated.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe
is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
----- Robert Jacobson <robert.c.jacobson(a)nasa.gov> wrote:
I just got started with cobbler. I set it up a RHEL6.2 desktop VM,
added the EPEL repo, and installed cobbler and cobbler-web:
cobbler-2.0.11-2.el6.noarch
cobbler-web-2011-2.el6.noarch
I imported the RHEL6.2 install media into cobbler, then added a new
system based on that profile. I PXE-booted another VM using the server
and it seems to be working perfectly.
So.. where the heck is the kickstart file on the filesystem? Using the
web interface, I can "view" it, but I'll be darned if I can find the
thing on the server anywhere. AFAICT there's no way to edit the thing
through the web UI, right?
I also tried creating a new kickstart file (again, in the web UI), by
copying and pasting the kickstart file that was automatically
generated. However, when I try that, I get a server error (lots of
debug output not shown here) in /cobbler_web/ksfile/save.
Cheetah.Parse.ParseError: Error in the Python code which Cheetah
generated for this template: [...]
(full error attached)
BTW, I tried creating just a simple kickstart file with a comment --
that works fine. I only get the error when I copy/paste the
auto-generated kickstart.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert JacobsonRobert.C.Jacobson(a)nasa.gov
Lead System Admin Solar Dynamics Observatory (SDO)
Bldg 14, E222 (301) 286-1591