Ignore:
Timestamp:
Feb 17, 2009, 2:16:12 AM (15 years ago)
Author:
iannucci
Message:

Made some changes requested by Broder.

Location:
trunk/packages/invirt-remote
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/debian/changelog

    r2134 r2135  
     1invirt-remote (0.3.5) unstable; urgency=low
     2
     3  * updated quota support to refer to renamed owner table columns
     4
     5 -- Peter A. Iannucci <iannucci@mit.edu>  Tue, 17 Feb 2009 02:13:44 -0500
     6
    17invirt-remote (0.3.4) unstable; urgency=low
    28
  • trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-create

    r2134 r2135  
    2424    active_machines = [m for m in machines if m.name in xmlist]
    2525    mem_usage = sum([x.memory for x in active_machines])
    26     return min(quota_single, quota_total-mem_usage)
     26    return min(quota_single, quota_total - mem_usage)
    2727
    2828def choose_host():
     
    3838    machine_name = argv[2]
    3939    args = argv[3:]
    40    
     40
     41    invirt.database.connect()
     42
    4143    if operation == 'install':
    4244        options = dict(arg.split('=', 1) for arg in args)
     
    6365
    6466    if operation == "create":
    65         invirt.database.connect()
    6667        machine = invirt.database.Machine.query().filter_by(name=machine_name).first()
    6768
Note: See TracChangeset for help on using the changeset viewer.