def _read_temp_ifaces(iface, data):
 try:
  template = JINJA.get_template('debian_eth.jinja')
 except jinja2.exceptions.TemplateNotFound:
  log.error('Could not load template debian_eth.jinja')
  return ''
 ifcfg = template.render({'name': iface, 'data': data})
 return [(item + '\n') for item in ifcfg.split('\n')]

def _read_temp_ifaces ( iface , data ) : try : template = JINJA . get_template ( 'debian_eth.jinja' ) except jinja2 . exceptions . TemplateNotFound : log . error ( 'Could not load template debian_eth.jinja' ) return '' ifcfg = template . render ( { 'name' : iface , 'data' : data } ) return [ ( item + '\n' ) for item in ifcfg . split ( '\n' ) ]
return what would be written to disk for interfaces .