Changeset 2152 for trunk/packages
- Timestamp:
- Feb 17, 2009, 3:45:38 AM (16 years ago)
- Location:
- trunk/packages/invirt-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/debian/changelog
r2151 r2152 2 2 3 3 * Move invirt-setquotas into this package. 4 5 -- Evan Broder <broder@mit.edu> Tue, 17 Feb 2009 03:42:41 -0500 4 * Don't explicitly initialize the values for each quota when creating a 5 new Owner object. 6 7 -- Evan Broder <broder@mit.edu> Tue, 17 Feb 2009 03:44:20 -0500 6 8 7 9 invirt-database (0.1.5) unstable; urgency=low -
trunk/packages/invirt-database/scripts/invirt-setquotas
r2151 r2152 53 53 x = Owner.query().filter_by(owner_id=owner).first() 54 54 if x == None: 55 x = Owner(owner_id=owner, ram_quota_total=None, ram_quota_single=None, 56 disk_quota_total=None, disk_quota_single=None, 57 vms_quota_total=None, vms_quota_active=None) 55 x = Owner(owner_id=owner) 58 56 59 57 if opts.memtotal != None:
Note: See TracChangeset
for help on using the changeset viewer.