Changeset 101 for trunk/packages


Ignore:
Timestamp:
Sep 22, 2007, 1:19:16 PM (17 years ago)
Author:
nelhage
Message:

Fix the vif generation for non-hvms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/sipb-xen-database/client/etc/xen/sipb-database

    r99 r101  
     1# -*- mode: python; -*-
    12import sipb_xen_database.models as models
    23from sipb_xen_database import connect
     
    2021if machine_type.hvm:
    2122    ioemu = "ioemu:"
    22     viftype = "type=ioemu"
     23    viftype = "type=ioemu, "
    2324
    2425    kernel = 'hvmloader'
     
    3839
    3940for n in machine.nics:
    40     d = '%s, mac=%s, ip=%s, bridge=xenbr0, script=vif-sipbroute' % (viftype, n.mac_addr, n.ip)
     41    d = '%smac=%s, ip=%s, bridge=xenbr0, script=vif-sipbroute' % (viftype, n.mac_addr, n.ip)
    4142    vif.append(d)
    4243
Note: See TracChangeset for help on using the changeset viewer.