On 26 February 2014 16:26, Emmanuel Kasper <[email protected]> wrote:

> > As bootstrap-vz is used for other images and helps to reproduce image
> > creation for multiple providers, I would personally prefer to use
> > bootstrap-vz for official images.
>
> I had a look last summer at different ways to provide Virtualbox with
> some folks from the neurodebian team
> (see
>
> http://lists.alioth.debian.org/pipermail/neurodebian-devel/2013-August/000373.html
> for the merits of virt-install and veewee) and at that time I don't
> think bootstrap-vz existed.
>
> There is also a difference of approach, I prefer to use debian-installer
> and its preseed file instead of debootstrap, which allows among other
> things to build the image as non-root and enables to use a preseed file.
>
> I've just tried boostrap-vz, but I didn't manage to make it run yet
>
> sudo ./bootstrap-vz --debug manifests/virtualbox-vagrant.manifest.json
> brings me
>
>   File "/home/manu/Projects/debian/bootstrap-vz/base/manifest.py", line
> 62, in schema_validator
>     self.validation_error(e.message, e.path)
>   File "/home/manu/Projects/debian/bootstrap-vz/base/manifest.py", line
> 66, in validation_error
>     raise ManifestError(message, self.path, json_path)
> common.exceptions.ManifestError: u'hostname' is a required property
>
> I'll have a look at it in details.
>
> Emmanuel
>
>
>
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive: https://lists.debian.org/[email protected]
>
>
Hi Emmanuel

> I've just tried boostrap-vz, but I didn't manage to make it run yet
Woops, my mistake! I added a manifest requirement without adding that
setting to the default manifest

> There is also a difference of approach, I prefer to use debian-installer
> and its preseed file instead of debootstrap, which allows among other
> things to build the image as non-root and enables to use a preseed file.

Well the preseed file is pretty much what manifests are in bootstrap-vz,
except you have less freedom but also less chance of errors. You can always
just use the image_commands plugin to run custom stuff. Why is building as
non-root important?

Anders

Reply via email to