On Wed, 22 Jun 2011 22:14:07 -0700, petermity <[email protected]> wrote: > Scott Henson <[email protected]> wrote: > > >On Wed, 8 Jun 2011 09:18:00 -0700, <[email protected]> wrote: > >> Hello All, > >> > >> I have a quick question that I couldn't find answered in the list already. > >> In my environment I need to boot multiple different types of distro's > >> tree/image/iso etc. One of my image boots has issues with the ipappend 2 > >> (Which works as expected with everything else) line that is added by the > >> default pxeprofile.template file. After doing a dumpvars, I noticed a > >> pxe_template_dir variable and I would like to know if is possible to set > >> profile to use a different pxeprofile.template something like. > > > >That comes from the settings file. So it won't let you set it. I'd > >recommend putting a giant if statement in the pxeprofile.template file > >that checks for the particular profile. > > Do you mean that you can use Cheetah code in this file? If so, I never > saw that mentioned anywhere - only saw it in relation to Kickstart files > and snippets. Which files can you (and can you not) use it in this way?
All 'templates' of any kind in cobbler are Cheetah templates. What changes is the data cobbler feeds into the templates. Unfortunately, there is no good documentation beyond the source for what gets passed in. -- Scott Henson Red Hat CIS Operator WVU Alum BSAE/BSME
pgpMW8oSP2ol1.pgp
Description: PGP signature
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
