osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octavia : diskimage-create.sh ignores -s flag ?


On Thu, Feb 14, 2019, at 2:30 PM, M. Ranganathan wrote:
> Hello,
> 
> I have been struggling to create a diskimage from an existing qcow2 image.
> 
> I find that diskimage-builder does the following:
> 
> 1. apparently ignores DIB_LOCAL_IMAGE environment setting and
> 2. ignores the -s flag. No matter what -s I supply, it creates a 2gb image.
> 
> My flags are as follows:
> 
> 
> bash diskimage-create.sh -s 10

Can you clarify where the diskimage-create.sh script comes from? Diskimage-builder's command to build an image is disk-image-create and it takes a --image-size flag (-s isn't a valid argument).

> 
> 
> Not sure what I am doing wrong. Any help appreciated.
> 
> Thanks
> 
> -- 
> M. Ranganathan