[Pkg-escience-soc2009] [SCM] Tool for creating VM images. branch, master, updated. gsoc-2009-final-6-g27967dd

David Wendt dcrkid at yahoo.com
Sat Jan 29 05:14:52 UTC 2011


The following commit has been merged in the master branch:
commit 27967dd8b74f8b93bc558f3ea0b47d560670e671
Author: David Wendt <dcrkid at yahoo.com>
Date:   Sat Jan 29 00:12:49 2011 -0500

    Changed small typo in package name which causes Python to choke if an EC2 build happens. Derp.

diff --git a/VMBuilder/plugins/ec2/__init__.py b/VMBuilder/plugins/ec2/__init__.py
index 317e62f..d354f9c 100644
--- a/VMBuilder/plugins/ec2/__init__.py
+++ b/VMBuilder/plugins/ec2/__init__.py
@@ -59,7 +59,7 @@ class EC2(Plugin):
 
         #NOW, actually check if we can do EC2. Also check if we can take advantage of Euca's KVM support
         if not isinstance(self.vm.hypervisor, VMBuilder.plugins.xen.Xen):
-            if not (self.vm.ec2_is_eucalyptus and isinstance(self.vm.hypervisor, VMBuilder.plugins.kvm.KVM)):
+            if not (self.vm.ec2_is_eucalyptus and isinstance(self.vm.hypervisor, VMBuilder.plugins.kvm.vm.KVM)):
                 raise VMBuilderUserError("You must use either Xen or KVM on Eucalyptus")
             else:
                 raise VMBuilderUserError("You must use Xen on EC2")

-- 
Tool for creating VM images.



More information about the Pkg-escience-soc2009 mailing list