Public bug reported:

Trying to build a hardy guest on a lucid host with the command:
  ubuntu-vm-builder kvm hardy \
    --destdir /opt/hound-hardy \
    --arch i386 \
    --hostname hound-hardy \
    --cpus 4 \
    --mem 8192 \
    --user bfallik \
    --pass bfallik \
    --components main,restricted,universe,multiverse \
    --addpkg vim openssh-server \
    --libvirt qemu:///system
I get the following python exception:
  Traceback (most recent call last):
    File "/usr/bin/ubuntu-vm-builder", line 24, in <module> uvb.main()
    File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 116, 
in main hypervisor.install_os()
    File "/usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py", line 68, 
in install_os self.call_hooks('install_bootloader', self.chroot_dir, self.disks)
    File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in 
call_hooks call_hooks(self, *args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 158, in 
call_hooks getattr(plugin, func, log_no_such_method)(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", 
line 222, in install_bootloader self.suite.install_menu_lst(disks)
    File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", 
line 211, in install_menu_lst self.mangle_grub_menu_lst(disks)
    File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/edgy.py", 
line 33, in mangle_grub_menu_lst run_cmd('sed', '-ie', 's/^# kopt=root=\([^ 
]*\)\(.*\)/# kopt=root=UUID=%s\\2/g' % bootdev.fs.uuid, '%s/boot/grub/menu.lst' 
% self.destdir)
AttributeError: 'Hardy' object has no attribute 'destdir'

$ lsb_release -rd
Description:    Ubuntu lucid (development branch)
Release:        10.04

$ dpkg -l ubuntu-vm-builder
ii  ubuntu-vm-builder               0.12.3-0ubuntu1

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
AttributeError: 'Hardy' object has no attribute 'destdir'
https://bugs.launchpad.net/bugs/563065
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to