Ignore:
Timestamp:
Nov 20, 2008, 8:44:13 AM (16 years ago)
Author:
broder
Message:

Move the autoinstaller disabling code to a more useful location

(i.e. so that it'll throw the exception before it creates the VM)

Location:
trunk/packages/invirt-web/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/controls.py

    r1709 r1721  
    4444
    4545def lvinstall(machine, autoinstall):
    46     #raise InvalidInput('autoinstall', 'install',
    47     #                   "The autoinstaller has been temporarily disabled")
    4846    disksize = machine.disks[0].size
    4947    memsize = machine.memory
  • trunk/packages/invirt-web/code/validation.py

    r1709 r1721  
    6767            self.cdrom = cdrom
    6868        if autoinstall is not None:
     69            #raise InvalidInput('autoinstall', 'install',
     70            #                   "The autoinstaller has been temporarily disabled")
    6971            self.autoinstall = Autoinstall.query().get(autoinstall)
    7072
Note: See TracChangeset for help on using the changeset viewer.