Hi
Cobbler uses cheetah templating, so google that and you will find the documentation for
cheetah. A nice thing about cheetah is its based on python and you can embed python in
cheetah. With those two hints you should be able to do whatever you want.
--
Alastair Munro
-----Original Message-----
From: Orion Poplawski <orion(a)cora.nwra.com>
To: mtiernan(a)mit.edu, cobbler mailing list <cobbler(a)lists.fedorahosted.org>
Sent: Fri, 04 Mar 2016 0:43
Subject: [cobbler] Re: Regular expressions in snippets & templates
On 03/02/2016 07:31 AM, Michael Tiernan wrote:
I concede to having to wear the dunce cap.
I'm having a really bad senior moment and cannot for the life of me get
a simple regular expression match to work in a snippet/template under
cobbler.
Anyone have any snippet examples or pointers to references for help?
I don't think you've given enough information about what it is you are
trying to do.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301
http://www.cora.nwra.com
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org