Comment 5 for bug 341596

Revision history for this message
Mekk (marcin-kasperski) wrote :

With the fix above builder progresses further and faces the next problem:

  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/vmware/vm.py", line 46, in deploy
    vmdesc = VMBuilder.util.render_template('vmware', self.vm, self.vmxtemplate, { 'disks' : self.disks(), 'vmhwversion' : self.vmhwversion, 'cpu' : self.vm.cpu, 'mem' : self.vm.mem, 'hostname' : self.vm.hostname, 'arch' : self.vm.arch, 'guestos' : (self.vm.arch == 'amd64' and 'ubuntu-64' or 'ubuntu') })
AttributeError: 'VM' object has no attribute 'cpu'

I am just to try replacing

    self.vm.cpu

with

    self.vm.cpus

(as is in KVM version)