Ignore:
Timestamp:
Oct 3, 2008, 8:09:49 PM (16 years ago)
Author:
broder
Message:

Update /etc/xen/sipb-database to work with newer SQLAlchemy and Xen

File:
1 edited

Legend:

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

    r842 r1016  
    1717        sys.exit(1)
    1818
    19 machine = models.Machine.get_by(name=machine_name)
     19machine = models.Machine.query().filter_by(name=machine_name).one()
    2020check(machine is not None)
    21 machine_type = models.Type.get_by(type_id=machine.type_id)
     21machine_type = models.Type.query().filter_by(type_id=machine.type_id).one()
    2222
    2323memory = machine.memory
     
    7373    ioemu = "ioemu:"
    7474    viftype = "type=ioemu, "
    75     kernel = 'hvmloader'
     75    kernel = '/usr/lib/xen/boot/hvmloader'
    7676    builder = 'hvm'
    7777    vnc = 1
Note: See TracChangeset for help on using the changeset viewer.