...
The "–visibility public" flag is used to indicate that all projects should have access to this image, and the upload would then require admin credentials. In the case of an image upload which should only be accessible to the project uploading it, that flag can be omitted.
...
Manipulate image-init images
Required packages for ubuntu, other OS might have different names. The procedure is tested with raw and qcow2 images.
...