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

eth2 -> config.xen.network.iface

Location:
trunk/packages/invirt-xen-config
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-xen-config/debian/changelog

    r2039 r2055  
    22
    33  * Move sysvms/* into xvm-prodconfig from invirt-xen-config
    4 
    5  -- Greg Price <price@mit.edu>  Fri, 30 Jan 2009 21:15:25 -0500
     4  * eth2 -> config.xen.network.iface
     5
     6 -- Greg Price <price@mit.edu>  Sat, 31 Jan 2009 04:43:54 -0500
    67
    78invirt-xen-config (0.0.20) unstable; urgency=low
  • 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
  • trunk/packages/invirt-xen-config/vif-invirtroute

    r1426 r2055  
    6666        for addr in ${ip} ; do
    6767            ${cmdprefix} ip route ${ipcmd} ${addr} dev ${dev} src ${main_ip}
    68             arpspoof -i eth2 -t 18.181.0.1 ${addr}&
     68            arpspoof -i $(invirt-getconf xen.network.iface) -t 18.181.0.1 ${addr}&
    6969            sleep 5
    7070            kill %arpspoof
Note: See TracChangeset for help on using the changeset viewer.