xentaur

diff xendomain.py @ 48:7a1b67a60fce

fix
author igor
date Wed Oct 24 19:28:37 2007 +0300 (2007-10-24)
parents b67ffcdd0043
children 308b524d9a70
line diff
     1.1 --- a/xendomain.py	Wed Oct 24 16:08:42 2007 +0300
     1.2 +++ b/xendomain.py	Wed Oct 24 19:28:37 2007 +0300
     1.3 @@ -89,9 +89,13 @@
     1.4  }
     1.5  network_module=default_network_module[platform]
     1.6  
     1.7 -for i in range(len(vbridges)):
     1.8 -    if platform!= '7200' or i!=0:
     1.9 -        xenomips += ' -p '+str(i)+':'+network_module
    1.10 +if platform== '7200':
    1.11 +    for i in range(len(vbridges)-1):
    1.12 +        xenomips += ' -p '+str(i+1)+':'+network_module
    1.13 +else:
    1.14 +    for i in range(len(vbridges)-1):
    1.15 +        xenomips += ' -p '+str(i+1)+':'+network_module
    1.16 +
    1.17  
    1.18  for i in range(len(vbridges)):
    1.19   xenomips += ' -s '+str(i)+':0:gen_eth:eth'+str(i)