← Back to team overview

vmbuilder team mailing list archive

Re: Lucid vm-builder command line changes?

 

On Tue, Mar 09, 2010 at 03:55:09PM -0000, l8gravely wrote:
> Has the command line API (args, etc) completely changed in Lucid's
> version of the vmbuilder tool?

No. A few have changed, though.

> I'm running Lucid Alpha on an x86_64 system and during the alpha 1 to
> alpha 2 or 3 updates, the following broke badly:
>
> vmbuilder kvm ubuntu --suite=${suite} --flavour=virtual --arch=amd64
> --mirror=${mirror} -o --libvirt=qemu:///system --tmpfs=-
> --ip="${subnet}.${ip}" --gateway="${subnet}.254"
> --part=vmbuilder.partition --templates=mytemplates --user=${username}
> --name=${username} --pass=${username} --addpkg=vim-nox --addpkg
> =unattended-upgrades --addpkg=acpid --raw=/dev/virtmachs/${hostname}
> --firstboot=boot.sh --mem=${mem} --hostname=${hostname}
> --bridge=${bridge}

-o is probably broken.
--tmpfs is broken.
--raw with --part is probably broken.
--firstboot is broken.

I'll file bugs.

> sail:~> vmbuilder kvm ubuntu --suite=karmic --flavour=virtual
> --arch=amd64 --mirror=http://192.168.1.3:9999/ubuntu
> --libvirt=qemu:///system --ip=192.168.1.54 --part=vmbuilder.partition
> --templates=mytemplates --user=john --name=john --pass=john --addpkg
> =vim-nox --addpkg=unattended-upgrades --addpkg=acpid
> --raw=/dev/virtmachs/vm4 --mem=256 --hostname=vm4 --bridge=br0
[...]
> (['/usr/sbin/debootstrap', '--arch=amd64', 'karmic', '/tmp/tmpSCGmm5',
> 'http://192.168.1.3:9999/ubuntu']) returned 1. stdout: E: debootstrap
> can only run as root
> , stderr:

VMBuilder has not in recent history been able to run as non-root. It did
for a few weeks in January 2008 (if memory server), but I doubt very
many people noticed this.

> Does anyone have a document listing the changes or upgrade process to
> be used between Karmic and Lucid versions of vmbuilder?  I've been
> looking around, but not having any success on this.

I hope, by the time of release, nothing will have changed incompatibly
since Karmic.

-- 
Soren Hansen
Ubuntu Developer
http://www.ubuntu.com/

Attachment: signature.asc
Description: Digital signature


Follow ups

References