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