Add a commented out line to disable the autoinstaller
authorEvan Broder <broder@mit.edu>
Sun, 16 Nov 2008 05:13:08 +0000 (00:13 -0500)
committerEvan Broder <broder@mit.edu>
Sun, 16 Nov 2008 05:13:08 +0000 (00:13 -0500)
svn path=/trunk/packages/invirt-web/; revision=1682

code/controls.py

index bb12a1a..4b9c6a4 100644 (file)
@@ -43,6 +43,8 @@ def getswap(disksize, memsize):
     return int(min(disksize / 4, memsize * 1.5))
 
 def lvinstall(machine, autoinstall):
+    #raise InvalidInput('autoinstall', 'install',
+    #                   "The autoinstaller has been temporarily disabled")
     disksize = machine.disks[0].size
     memsize = machine.memory
     swapsize = getswap(disksize, memsize)