Ignore:
Timestamp:
May 31, 2008, 1:18:40 AM (16 years ago)
Author:
broder
Message:

Disable image cloning when ice3 is booted - this should work as a locking
mechanism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/main.py

    r536 r540  
    204204    xmlist = g.xmlist
    205205    checkpoint.checkpoint('Got uptimes')
     206    can_clone = (controls.getList([Machine.get_by(name='ice3')])) == {}
    206207    for m in machines:
    207208        if m not in xmlist:
     
    233234             defaults=defaults,
    234235             machines=machines,
    235              has_vnc=has_vnc)
     236             has_vnc=has_vnc,
     237             can_clone=can_clone)
    236238    return d
    237239
Note: See TracChangeset for help on using the changeset viewer.