Prelimiary results:

[EMAIL PROTECTED] cobbler]# cobbler profile dumpvars --name testcentos-i386 |
grep -A2 template_files
 'template_files': {'/etc/cobbler/test': '/etc/template-test',
                    '/etc/cobbler/test2': '/etc/template_test2'},
 'tftpd_bin': '/usr/sbin/in.tftpd',
[EMAIL PROTECTED] cobbler]# cat /etc/cobbler/test
this is a template for $name
[EMAIL PROTECTED] cobbler]# cat /etc/cobbler/test2
template #2 for $name
[EMAIL PROTECTED] cobbler]# wget -qO -
http://127.0.0.1/cblr/svc/op/template/profile/testcentos-i386/path/_etc_template-test
this is a template for testcentos-i386
[EMAIL PROTECTED] cobbler]# wget -qO -
http://127.0.0.1/cblr/svc/op/template/profile/testcentos-i386/path/_etc_template__test2
template #2 for testcentos-i386

I'm still working on the snippet part, but I think this is a promising
start!  I've pushed what I've done so far to github, so people can grab it
here for testing: git://github.com/jimi1283/cobbler.git (template-files
branch).

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