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)

-- 
vmbuilder for vmserver fails with vmxtemplate undefined
https://bugs.launchpad.net/bugs/341596
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to