Add xid to template match
authorAndy Bavier <acb@cs.princeton.edu>
Tue, 18 Jun 2013 18:24:04 +0000 (14:24 -0400)
committerAndy Bavier <acb@cs.princeton.edu>
Tue, 18 Jun 2013 18:24:04 +0000 (14:24 -0400)
sliver_lxc.py

index 432f426..c409b32 100644 (file)
@@ -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