← Back to team overview

vmbuilder team mailing list archive

python-vm-builder 0.12.2-0ubuntu4 - still busted

 

Hi Soren,

Looks like I still can't get the --tmpfs-, -o or --firstboot=boot.sh
args working with python-vm-bulder-0.12.2-ubuntu4 on my AMD64 x86_64
system.

Here's the error I get when I try to make an image:

# vmbuilder kvm ubuntu --suite=karmic --flavour=virtual --arch=amd64
  --mirror=http://192.168.1.3:9999/ubuntu --libvirt=qemu:///system
  --ip=192.168.1.53 --part=vmbuilder.partition --templates=mytemplates
  --user=john --name=john --pass=john --addpkg=vim-nox
  --addpkg=unattended-upgrades --addpkg=acpid --raw=/dev/virtmachs/vm3
  --mem=256 --hostname=vm3 --bridge=br0
2010-03-25 20:57:26,803 INFO    : Calling hook: preflight_check
2010-03-25 20:57:26,811 INFO    : Calling hook: set_defaults
2010-03-25 20:57:26,812 INFO    : Calling hook: bootstrap
2010-03-25 20:58:49,935 INFO    : Calling hook: configure_os
2010-03-25 20:59:06,388 INFO    : update-rc.d: warning:
unattended-upgrades start runlevel arguments (none) do not match LSB
Default-Start values (0 6)
2010-03-25 20:59:06,389 INFO    : update-rc.d: warning:
unattended-upgrades stop runlevel arguments (0 6) do not match LSB
Default-Stop values (none)
Extracting templates from packages: 100%
2010-03-25 20:59:15,533 INFO    : install-info: warning: maintainer
scripts should not call install-info anymore,
2010-03-25 20:59:15,533 INFO    : install-info: warning: this is
handled now by a dpkg trigger provided by the
2010-03-25 20:59:15,534 INFO    : install-info: warning: install-info
package; package gzip should be updated.
2010-03-25 20:59:18,797 INFO    : 
2010-03-25 20:59:18,797 INFO    : Current default time zone: 'Etc/UTC'
2010-03-25 20:59:18,803 INFO    : Local time is now:      Fri Mar 26
00:59:18 UTC 2010.
2010-03-25 20:59:18,803 INFO    : Universal Time is now:  Fri Mar 26
00:59:18 UTC 2010.
2010-03-25 20:59:18,804 INFO    : Run 'dpkg-reconfigure tzdata' if you
wish to change it.
2010-03-25 20:59:18,804 INFO    : 
2010-03-25 20:59:29,643 INFO    : Calling hook: post_install
Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py",
  line 105, in main
    self.set_disk_layout(hypervisor)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py",
  line 234, in set_disk_layout
    hypervisor.optparser.error("%s parsing --part option: %s" %
    (errno, strerror))
AttributeError: 'KVM' object has no attribute 'optparser'