← Back to team overview

vmbuilder team mailing list archive

Re: IRC channel and Hudson

 

>>>>> "Soren" == Soren Hansen <soren@xxxxxxxxxx> writes:

Soren> On Wed, Jun 16, 2010 at 12:02:58PM -0400, John Stoffel wrote:
>> Now, using version 0.12.4.r453, I get the following when I run my
>> wrapper script which just builds an LVM volume and tweaks some
>> settings in the config files:
>> 
>> > sudo ./vm-maker.sh vm3 53 john
>> Logical volume "vm3" created
>> vmbuilder kvm ubuntu --suite=karmic --flavour=virtual --arch=amd64 \
>> --mirror=http://192.168.1.3:9999/ubuntu -o --libvirt=qemu:///system \
>> --tmpfs=- --ip=192.168.1.53 --gateway=192.16.1.254 --part=vmbuilder.partition \
>> --templates=mytemplates --user=john --name=john --pass=john \
>> --addpkg=vim-nox --addpkg=unattended-upgrades --addpkg=acpid \
>> --raw=/dev/virtmachs/vm3 --firstboot=/var/vm/vm3/boot.sh --mem=256 \
>> --hostname=vm3 --bridge=br0 \
>> Usage: vmbuilder hypervisor distro [options]
>> 
>> vmbuilder: error: no such option: --gateway
>> Error!  VM vm3 not created properly.
>> 
>> which is annoying, because it now wants to use the -gw=x.x.x.x
>> format.  Can we please add back in the --gateway=x.x.x.x format as a
>> synonym?

Soren> I couldn't find any evidence that --gateway ever worked or was meant to
Soren> work? Which version are you upgrading from?

0.11 on Jaunty (9.10) but since vmbuilder hasn't worked on Lucid
(10.04) at all, I don't know when it really broke.

I did all my initial work using this web page as my example:

  http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.10


Now, one thing that ticks me off is that:

    > vmbuilder --help
    Usage: vmbuilder hypervisor distro [options]

    vmbuilder: error: You need to specify at least the hypervisor type and
    the distro


Doesn't just short circuit the args processing to give me the help,
but whines at me to include the hypervisor and disto options before it
will parse any other options.  

I'll file a bug/feature request when I get a chance, but it might take
some time since I'm getting ready for vacation starting saturday.

John



Follow ups

References