[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which tool should I use to customize a vm ?



Hello Brian

> If you are starting from scratch there are two ways to go:
> 1.) Start with the Cloud images available here:
> https://cloud.debian.org/images/cloud/
> Spin up a VM in openstack, make your needed modifications, then create an
> image of that VM.

not interesting for me since I need to script all the process.

> 
> 2.) Start fresh with the Debian ISO and use hashicorp packer to preseed a
> VM with the qemu plugin.  This will allow you to script out creation of the
> image, allow for post processing of the vm through SSH and then you can
> pass the output image through qemu-img to convert it to the image format
> you need to upload to Openstack Glance.

You speaks about packer, but the initial cloud images are generated with fai.
Is there a reason to prefer packer instead of fai  for this second customization process.

this is realy a naiv question, do not suppose a bad faith from my part.

thanks

Frederic


Reply to: