Bug#383492: add ability to give mac address or generic values for template

2006-08-19 Thread Steve Kemp
On Fri, Aug 18, 2006 at 10:54:54PM +0200, Henning Sprang wrote: > Hmm, that's all I wanted! Perfect! > > Maybe I didn't study the docs enough. (phew, at least the manpage > doesn't mention it) No I don't think it is explicitly documented, I will have to add some notes somewhere. > Hmm, my DH

Bug#383492: add ability to give mac address or generic values for template

2006-08-18 Thread Henning Sprang
On 8/18/06, Steve Kemp <[EMAIL PROTECTED]> wrote: [...] *right now* if you run: foo=bar xen-create-image --args The value of "${foo}" will be set in the environment and can be used in a template file. (Since the xt-create-xen-config inserts all the values of the environment into its

Bug#383492: add ability to give mac address or generic values for template

2006-08-18 Thread Steve Kemp
On Fri, Aug 18, 2006 at 10:02:18PM +0200, Henning Sprang wrote: > >--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 th

Bug#383492: add ability to give mac address or generic values for template

2006-08-18 Thread Henning Sprang
On 8/17/06, Steve Kemp <[EMAIL PROTECTED]> wrote: < [...] > 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

Bug#383492: add ability to give mac address or generic values for template

2006-08-17 Thread Steve Kemp
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

Bug#383492: add ability to give mac address or generic values for template

2006-08-17 Thread Henning Sprang
Package: xen-tools Version: 2.3 I'd like to be able to give a mac address to put into the xm config template. 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:E