openstack server image create <instance_id> --name <snapshot_name> |
|
If the instance was booted from a volume and you want to store the root disk in the image repository, first you need to create volume from snapshot:
openstack volume create --snapshot <snapshot_id> <volume_name> |
openstack image create --volume <volume_id> <image_name> |
openstack server create --image <snapshot_id> --flavor <flavor_id> <new_instance_name> |