ia64/xen-unstable

changeset 4970:c390ce4856bf

bitkeeper revision 1.1159.258.136 (428af5483Yn2FWcrPnTRD2GVmftlhQ)

Fallback behaviour of the network startup script is now same as it
always was: IP addresses of eth0 are transferred to the bridge device
but not deleted from eth0. This is needed for the 2.0-series tools,
which by default look only at eth0 to determine IP parameters for domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed May 18 07:56:56 2005 +0000 (2005-05-18)
parents f0a55dae066b
children 08efa4acf7bf aa22e2575a10
files tools/examples/network
line diff
     1.1 --- a/tools/examples/network	Tue May 17 18:04:08 2005 +0000
     1.2 +++ b/tools/examples/network	Wed May 18 07:56:56 2005 +0000
     1.3 @@ -185,7 +185,6 @@ op_start () {
     1.4      else
     1.5          transfer_addrs ${netdev} ${bridge}
     1.6          transfer_routes ${netdev} ${bridge}
     1.7 -        del_addrs ${netdev}
     1.8      fi
     1.9  
    1.10      # Attach the real interface to the bridge.
    1.11 @@ -216,9 +215,7 @@ op_stop () {
    1.12          ifconfig veth0 -arp down
    1.13          ifconfig veth0 hw ether 00:00:00:00:00:00
    1.14      else
    1.15 -        transfer_addrs ${bridge} ${netdev}
    1.16          transfer_routes ${bridge} ${netdev}
    1.17 -        del_addrs ${bridge}
    1.18      fi
    1.19  }
    1.20