Ignore:
Timestamp:
Nov 14, 2008, 1:20:06 AM (15 years ago)
Author:
broder
Message:

Pass the front-end interface to vif-invirtroute

File:
1 edited

Legend:

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

    r1635 r1636  
    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' % (viftype, n.mac_addr, n.ip)
     87    d = '%smac=%s, ip=%s, script=vif-invirtroute netdev=eth2' % (viftype, n.mac_addr, n.ip)
    8888    vif.append(d)
    8989
Note: See TracChangeset for help on using the changeset viewer.