From 661bd540a962da6e82c2d2c6b55dcbdf592718db Mon Sep 17 00:00:00 2001 From: Steven Valdez Date: Wed, 1 May 2013 16:02:42 -0400 Subject: [PATCH] Fixed naming of guest disk --- code/controls.py | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/code/controls.py b/code/controls.py index a5f1693..0661927 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='hda', size=disksize) + guest_device_name='xvda', 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! " diff --git a/debian/changelog b/debian/changelog index 65f32b2..3142af7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,12 @@ invirt-web (0.1.31) unstable; urgency=low -- Peter A. Iannucci Mon, 20 May 2013 09:00:00 -0400 +invirt-web (0.1.31~dvorak427glasgall2dvorak42) precise; urgency=low + + * Fixed the guest disk name to xvda. + + -- Steven Valdez Wed, 01 May 2013 16:02:00 -0400 + invirt-web (0.1.31~dvorak427glasgall2) precise; urgency=low * Don't pass machine_id as both a URL parameter and POST body parameter; -- 1.7.9.5