Entradas etiquetadas como qcow2
Debian provides standard images designed for OpenStack, but sometimes is better to use your own images, with local modifications or with specific packages installed and configured. One way to achieve this is to create a snapshot from a running instance previously launched from a standard image. In this post we’re going to create a new image from a running instance, explaining the modifications needed in one specific use case: Create a Debian Stretch image from a running Debian Jessie instance.
This post is written as a recipe containing a set of commands to shrink the real and virtual size of a qcow2 image. There are different alternatives to achieve a similar result and probably some of them will be better, so if you know one of them, please post it as comment ;).