[Openstack-operators] boot from image and to clone a volume to attach it as second disk

Jean-Daniel Bonnetot jean-daniel.bonnetot at corp.ovh.com
Wed May 11 13:30:03 UTC 2016


Hi,

cinder create --source-volid source_vol --display-name my_vol 10
nova boot ... --image an_image --block-device source=volume,id=the_my_vol_id,dest=volume,shutdown=preserve myInstanceWithVolume

Result: vda=root disk based on an_image, vdb=vol cloned from source_vol

That's what I want, but I would like to do it with only one command/call.
Do you have an idea?
--
Jean-Daniel Bonnetot
http://www.ovh.com
@pilgrimstack







More information about the OpenStack-operators mailing list