Changeset 1090
- Timestamp:
- Oct 9, 2008, 2:12:36 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/client/etc/xen/sipb-database
r1079 r1090 19 19 machine = models.Machine.query().filter_by(name=machine_name).one() 20 20 check(machine is not None) 21 machine_type = models.Type.query().filter_by(type_id=machine.type_id).one() 21 machine_type = machine.type 22 cdrom = None 23 if 'cdrom_image' in locals(): 24 cdrom = models.CDROM.query().filter_by(name=cdrom_image).one() 25 check(cdrom is not None) 22 26 23 27 memory = machine.memory … … 64 68 root = '/dev/hdb1' 65 69 codepath = None 66 elif 'cdrom_image' in locals(): 67 check(re.match('^[A-Za-z0-9][A-Za-z0-9_.-]*$', cdrom_image)) 68 disk.append('phy:/srv/images/' + cdrom_image + '.iso,hdc:cdrom,r') 70 elif cdrom is not None: 71 disk.append('phy:/etc/xenvg/image_' + cdrom.cdrom_id + ',hdc:cdrom,r') 69 72 boot = 'd' 70 73 codepath = 'hvm' -
trunk/packages/sipb-xen-database/debian/changelog
r1079 r1090 1 sipb-xen-database (10.30) unstable; urgency=low 2 3 * Look for CD images in /dev/xenvg/image_* and validate image name from 4 the database 5 6 -- Evan Broder <broder@mit.edu> Thu, 09 Oct 2008 02:08:49 -0400 7 1 8 sipb-xen-database (10.29) unstable; urgency=low 2 9
Note: See TracChangeset
for help on using the changeset viewer.