[Bug 918543] [NEW] vbox build fails with NameMapper.NotFound: cannot find 'mac'
j^
j at mailb.org
Thu Jan 19 05:36:11 UTC 2012
Public bug reported:
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.main()
File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 227, in main
hypervisor.finalise(destdir)
File "/usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py", line 79, in finalise
self.call_hooks('deploy', destdir)
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/virtualbox/vm.py", line 48, in deploy
vm_deploy_script = VMBuilder.util.render_template('virtualbox', self.context, 'vm_deploy_script', { 'os_type' : self.context.distro.__class__.__name__, 'vm_name' : hostname, 'vm_disks' : self.imgs, 'memory' : self.context.get_setting('mem'), 'cpus' : self.context.get_setting('cpus') })
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 147, in render_template
output = t.respond()
File "_etc_vmbuilder_virtualbox_vm_deploy_script_tmpl.py", line 166, in respond
NameMapper.NotFound: cannot find 'mac'
attached patch fixes this by passing mac and ip to the template and
updates the rest of the deploy function to work
** Affects: vm-builder (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/918543
Title:
vbox build fails with NameMapper.NotFound: cannot find 'mac'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/918543/+subscriptions
More information about the Ubuntu-server-bugs
mailing list