[Bug 341596] Re: vmbuilder for vmserver fails with vmxtemplate undefined
Mekk
Marcin.Kasperski at softax.pl
Mon May 4 16:57:51 UTC 2009
Faced the same problem on 9.10:
$ sudo vmbuilder \
vmserver \
ubuntu \
--suite hardy \
--dest image \
--components 'main,universe' \
--arch 'i386' \
--rootsize '4096' \
--swapsize '512' \
# user and network options, which I prefer to skip
--addpkg openssh-server \
--addpkg nginx
Effect:
(... long trace of running builder ...)
2009-05-04 18:39:08,752 INFO Copying to disk images
2009-05-04 18:39:35,009 INFO Installing bootloader
2009-05-04 18:39:39,481 INFO Unmounting target filesystem
2009-05-04 18:39:42,657 INFO Converting /home/marcin/tmp/vmbuilderKLpQhq/disk0.img to vmdk, format /home/marcin/image/disk0.vmdk
2009-05-04 18:40:30,012 INFO Cleaning up
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 29, in <module>
VMBuilder.run()
File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 66, in run
frontend.run()
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 67, in run
vm.create()
File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 463, in create
self.deploy()
File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 184, in deploy
getattr(self.hypervisor, 'deploy')()
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/vmware/vm.py", line 46, in deploy
vmdesc = VMBuilder.util.render_template('vmware', self.vm, 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') })
NameError: global name 'vmxtemplate' is not defined
--
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
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list