From: Andy Bavier Date: Tue, 18 Jun 2013 18:24:04 +0000 (-0400) Subject: Add xid to template match X-Git-Tag: nodemanager-5.2-4~14^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=4cea67f19270ef239d1fa352c5d8757c5fe5f09b;hp=d88a6b97acdd56a303918cac7ed16ffad269d648;p=nodemanager.git Add xid to template match --- diff --git a/sliver_lxc.py b/sliver_lxc.py index 432f426..c409b32 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -220,7 +220,7 @@ unset pathmunge try: with open(template_filename) as f: template = Template(f.read()) - xml = template.substitute(name=name, interfaces=interfaces, arch=arch) + xml = template.substitute(name=name, xid=xid, interfaces=interfaces, arch=arch) except IOError: logger.log('Failed to parse or use XML template file %s'%template_filename) return