Ignore:
Timestamp:
Jan 31, 2009, 4:47:50 AM (16 years ago)
Author:
price
Message:

eth2 -> config.xen.network.iface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-xen-config/invirt-database

    r1850 r2055  
    8585for n in machine.nics:
    8686    check(re.match('^[0-9a-fA-F:]+$', n.mac_addr) and re.match('^[0-9.]*$', n.ip))
    87     d = '%smac=%s, ip=%s, script=vif-invirtroute netdev=eth2' % (viftype, n.mac_addr, n.ip)
     87    d = ('%smac=%s, ip=%s, script=vif-invirtroute netdev=%s'
     88         % (viftype, n.mac_addr, n.ip, config.xen.network.iface))
    8889    vif.append(d)
    8990
Note: See TracChangeset for help on using the changeset viewer.