X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/33fec8ab74bb5349c8d8dd6e1c3f13498e262781..08d8cfbd95b86fbdbd05f228b1541daa12f03332:/code/main.py diff --git a/code/main.py b/code/main.py index 24fe062..409433d 100755 --- a/code/main.py +++ b/code/main.py @@ -105,8 +105,9 @@ class Defaults: cdrom = '' autoinstall = '' name = '' + type = 'linux-hvm' + def __init__(self, max_memory=None, max_disk=None, **kws): - self.type = Type.get('linux-hvm') if max_memory is not None: self.memory = min(self.memory, max_memory) if max_disk is not None: