X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/661bd540a962da6e82c2d2c6b55dcbdf592718db..2be0969e153ace507ec07b27d156b50e54e00f94:/code/controls.py?ds=sidebyside diff --git a/code/controls.py b/code/controls.py index 0661927..a5f1693 100644 --- a/code/controls.py +++ b/code/controls.py @@ -112,7 +112,7 @@ def createVm(username, state, owner, contact, name, description, memory, disksiz machine.type = machine_type session.add(machine) disk = Disk(machine=machine, - guest_device_name='xvda', size=disksize) + guest_device_name='hda', size=disksize) nic = NIC.query.filter_by(machine_id=None).filter_by(reusable=True).first() if not nic: #No IPs left! raise CodeError("No IP addresses left! "