projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e449bcf
)
Add a commented out line to disable the autoinstaller
author
Evan Broder
<broder@mit.edu>
Sun, 16 Nov 2008 05:13:08 +0000
(
00:13
-0500)
committer
Evan 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
patch
|
blob
|
history
diff --git
a/code/controls.py
b/code/controls.py
index
bb12a1a
..
4b9c6a4
100644
(file)
--- a/
code/controls.py
+++ b/
code/controls.py
@@
-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)