Comment 4 for bug 341596

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

My very strong bet is that one should add

   self.

before vmxtemplate - so it reads:

       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') })

PS Obviously the problem is only related to VmWare images (as it is present in class VMWare)