[Openstack] Shrink Image's Flavor Requirements
giorgis at acmac.uoc.gr
Sun Mar 26 02:37:47 UTC 2017
Thanks for pointing out the "--min-disk" parameter. I haven't used that
I 'll try it out and post back.
On Sat, 25 Mar 2017 18:39:09 -0700, Chris Suttles wrote:
> You might be able to change it via openstack command, probably
> something like 'openstack show image <Id>' / 'openstack image set ??
> 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:
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
More information about the Openstack