~ubuntu-virt/vmbuilder/trunk

« back to all changes in this revision

Viewing changes to VMBuilder/plugins/ubuntu/hardy.py

  • Committer: Soren Hansen
  • Date: 2008-06-27 12:47:26 UTC
  • Revision ID: soren.hansen@canonical.com-20080627124726-kj690sepircudc3h
Import python rewrite.. It's not quite at a useful point yet (only cli+kvm+hardy is in a usable state), but it's getting there..

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import suite
 
2
 
 
3
class Hardy(suite.Suite):
 
4
    def device_map(self):
 
5
        return '\n'.join(['(hd%d) %s' % (idx, disk.devname) for (idx, disk) in zip(range(len(self.builder.disks)), self.builder.disks)])
 
6
 
 
7
    def kernel_name(self):
 
8
        return 'linux-image-server'