On Thu, Aug 17, 2006 at 01:30:11AM +0200, Henning Sprang wrote:

> I'd like to be able to give a mac address to put into the xm config 
> template.

  That seems reasonable.

> When I am at it, before I request more options to put things into the
> template, maybe a means to have generic values put in the template
> would be good.
> 
> like --template-vars="mac=00:00:E0:11:11, thingy=hello, myvar=anothervalue"

  But this doesn't.

  Since the template values need to go into different places.  WHich
 means it needs special handling.

  I could imagine: 

    --add-vars "foo=bar\nx  = ['test', 'test2']"

  Which would add that text literally.  But with your example we'd
 need to parse out the different options to know where to place
 them.   (eg.  mac has to go inside the "vif" section.)

  I *will* add the --mac processing.  (Presumably you'd want that
 for every IP address?)

  I'm not sure about the others.  If they are mostly static there
 is probably a case to be made that they should be wired into a 
 custom template file of your own.

Steve
-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to