I'm having an issue with one particular $SNIPPET() not being expanded in one
particular kickstart file with Cobbler 2.0.3.1 on CentOS 5.4.
[root@dallcobbler2 repo_mirror]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[root@dallcobbler2 repo_mirror]# rpm -qa cobbler\*
cobbler-web-2.0.3.1-1.el5
cobbler-2.0.3.1-1.el5
I have a kickstart file for EL4 and EL5. The snippet expands and works
correctly in the EL5 kickstart, but when I 'view kickstart' from the system menu
for an EL4 system, I get a literal $SNIPPET() in my kickstart.
I looked back at old list posts and saw a post about changes to the Cheetah
behavior concerning snippets, and while I admittedly didn't understand it fully,
it doesn't really seem to apply here since it is able to be expanded in one
kickstart but not another.
There's really very little difference between my EL4 and EL5 kickstarts, mostly
just the %packages and %post. Originally the EL5 didn't have this snippet in it
(the snippet installs yum on RHEL4), so I copied the line from the EL4 and
pasted exactly as-is into the EL5 kickstart.
Any ideas on what's going on here?
--
/* Wes Hardin */
UNIX System Administrator, IT Engineering Support
Maxim Integrated Products: Innovation Delivered