[Openstack] Shrink Image's Flavor Requirements
suttles at gmail.com
Sun Mar 26 01:39:09 UTC 2017
You might be able to change it via openstack command, probably something like 'openstack show image <Id>' / 'openstack image set ?? <id>'
You can definitely download the image to a file and then upload a new image, specifying --min-disk. Something like 'openstack image save --file <file> <id>' and then just 'openstack image create --file <file> --min-disk <disk size in gb> <image name>'
> On Mar 25, 2017, at 5:31 PM, Georgios Dimitrakakis <giorgis at acmac.uoc.gr> wrote:
> Let's assume that I have a VM's image that has been taken when the VM was launched with a flavor of 50GB for the root disk.
> Now when I try to spawn a new VM out of that image I cannot do it with a flavor that has disk less than 50GB even if the VM itself inside uses only 5GB.
> Is there a way to shrink the image's flavor requirements?
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
More information about the Openstack