Available via git hub: git://github.com/jimi1283/cobbler-template-files.git

I've done some testing on this, but I'm not sure if it's 100% so I'd like
for some others to play with it if they'd like.  For those who don't follow
IRC, this patch allows for the templating of random config files via the
--template-files command.  This command has the same syntax as the
ksmeta/kopts (space separated list) and honors the --in-place option. 

Example:
cobbler profile edit --name test
--template-files="/path/to/template=/path/to/output"

Both the source and destination paths can have variables in them (ie.
$name, $arch, etc.), just don't forget to escape them if you're using
double quotes in the command.  If the destination is not an absolute path,
the rendered file will be placed relative to /var/www/cobbler/rendered.

This is currently added on to distros/profiles/systems, though it should
probably be extended to images too.

Let me know if there are any questions/problems.

James C.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to