X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/82e153ac0aa4f3697db9d799a42fee4fcc198826..f42e0ad8123883e0cb7f9c61817910b4fcd8261b:/code/controls.py diff --git a/code/controls.py b/code/controls.py index 7f5a630..7b4558e 100644 --- a/code/controls.py +++ b/code/controls.py @@ -43,8 +43,6 @@ 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) @@ -90,7 +88,7 @@ def createVm(username, state, owner, contact, name, description, memory, disksiz machine.description = description machine.memory = memory machine.owner = owner - machine.administrator = owner + machine.administrator = None machine.contact = contact machine.uuid = uuidToString(randomUUID()) machine.boot_off_cd = True