← Back to team overview

openstack team mailing list archive

Re: How does everyone build OpenStack disk images?

 

IDEA:

Add pxe boot support to nova (which seems interesting on its own!), and pxe boot from an installer image, then snapshot it.

OR:

Modify boot from iso image to allow the iso to attach separately (currently it replaces the root drive in KVM) so that you could boot from an iso but still have a snapshot-able disk to install to.

When we discussed this before, we thought you could do it by adding some metadata in glance about whether or not the image should replace the root drive or be attached separately {'attach_separately': True}

(Sorry for hijacking your thread with potential ways to do it in the future instead of current approaches)

Vish


On Apr 25, 2012, at 6:14 PM, Justin Santa Barbara wrote:

> How does everyone build OpenStack disk images?  The official documentation describes a manual process (boot VM with ISO), which is sub-optimal in terms of repeatability / automation / etc.  I'm hoping we can do better!
> 
> I posted how I do it on my blog, here: http://blog.justinsb.com/blog/2012/04/25/creating-an-openstack-image/
> 
> Please let me know the many ways in which I'm doing it wrong :-) 
> 
> I'm thinking we can have a discussion here, and then I can then compile the responses into a wiki page and/or a nice script...
> 
> Justin
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


References