vm-builder
Robie Basak
robie.basak at ubuntu.com
Sat Dec 14 17:27:56 UTC 2013
On Fri, Dec 13, 2013 at 04:22:31PM -0700, cdmiller wrote:
> Thanks for all the great info. We'll be taking a look at cloud-utils,
> uvtool etc.. Currently we run ubuntu-vm-builder via a wrapper which sets
> up initial IP, installs and configures puppet, places an initial puppet
> run in a firstboot script, and generates a libvirt config. If we can
> get close to that with any of the above we'll be happy. After all we
> still have to manually fix the libvirt xml after moving the disk images
> into ceph.
For your use case, I suggest that you fetch official Ubuntu cloud images
using simplestreams, use cloud-init userdata to arrange your puppet
bootstrap, cloud-localds to bundle the userdata into a nocloud
datasource, put the two images into ceph, and script the libvirt xml
generation. You should be able to script the individual pieces quite
easily, and you wouldn't be dependent on any single all-encompassing
tool supporting your specific use case. Each individual piece should be
fairly easy to implement using the separate, individual tools.
Robie
More information about the ubuntu-server
mailing list