Changeset 1016 for trunk/packages/sipb-xen-database/client
- Timestamp:
- Oct 3, 2008, 8:09:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/client/etc/xen/sipb-database
r842 r1016 17 17 sys.exit(1) 18 18 19 machine = models.Machine. get_by(name=machine_name)19 machine = models.Machine.query().filter_by(name=machine_name).one() 20 20 check(machine is not None) 21 machine_type = models.Type. get_by(type_id=machine.type_id)21 machine_type = models.Type.query().filter_by(type_id=machine.type_id).one() 22 22 23 23 memory = machine.memory … … 73 73 ioemu = "ioemu:" 74 74 viftype = "type=ioemu, " 75 kernel = ' hvmloader'75 kernel = '/usr/lib/xen/boot/hvmloader' 76 76 builder = 'hvm' 77 77 vnc = 1
Note: See TracChangeset
for help on using the changeset viewer.