[Pkg-escience-soc2009] [SCM] Tool for creating VM images. branch, dwendt_vmbuilder_debian, updated. 73ddb4976d4e2c1f234125beef359a9f08bcf031

David Wendt kmeisthax at Lappy-486.A
Tue Jul 7 22:58:33 UTC 2009


The following commit has been merged in the dwendt_vmbuilder_debian branch:
commit 5d7be09e4d5d65b583b19e04f7200abc0ec2e27a
Author: David Wendt <kmeisthax at Lappy-486.A>
Date:   Tue Jul 7 14:19:10 2009 -0400

    Changed Debian's logging to report the proper selected kernel under Xen
    
    Added (probably wrong) EC2 AKI IDs corresponding to Amazon's linux kernel 2.6.18. AFAIK the documentation did not mention an ARI.

diff --git a/VMBuilder/plugins/debian/distro.py b/VMBuilder/plugins/debian/distro.py
index a2d28cb..3b934f8 100644
--- a/VMBuilder/plugins/debian/distro.py
+++ b/VMBuilder/plugins/debian/distro.py
@@ -126,7 +126,7 @@ class Debian(Distro):
                 self.vm.components = self.vm.components.split(',')
 
         if self.vm.hypervisor.name == 'Xen':
-            logging.info('Xen kernel default: linux-image-%s %s', self.suite.xen_kernel_flavour, self.xen_kernel_version())
+            logging.info('Xen kernel default: linux-image-2.6-%s-%s', self.suite.xen_kernel_flavour, self.vm.arch)
 
         self.vm.virtio_net = self.use_virtio_net()
 
diff --git a/VMBuilder/plugins/debian/etch.py b/VMBuilder/plugins/debian/etch.py
index 3f67b90..03faa60 100644
--- a/VMBuilder/plugins/debian/etch.py
+++ b/VMBuilder/plugins/debian/etch.py
@@ -45,6 +45,8 @@ class Etch(suite.Suite):
     xen_kernel_flavour = 'xen'
     virtio_net = False
 
+    ec2_kernel_info = { 'i386' : 'aki-9b00e5f2', 'amd64' : 'aki-9800e5f1' }
+
     def check_kernel_flavour(self, arch, flavour):
         return flavour in self.valid_flavours[arch]
 

-- 
Tool for creating VM images.



More information about the Pkg-escience-soc2009 mailing list