diskimage-builder/diskimage_builder/lib
Tobias Henkel 778d007150 Support defining the free space in the image
Currently diskimage-builder supports two ways to specify the image
size. One is defining a fixed image size using DIB_IMAGE_SIZE, the
other one is auto-detection while adding a security margin of 60% as
free space. This means when building larger images (e.g. >100GB) with
unknown size upfront we end up with much wasted space, IO and network
traffic when uploading the images to several cloud providers. This can
be optimized by adding a third way by defining DIB_IMAGE_EXTRA_SIZE to
specify the free space in GB. This makes it possible to easily build
images of varying sizes while still minimizing the overhead by keeping
the free space constant to e.g. 1GB.

Change-Id: I114c739d11d0cfe3b8d8abc6df5ff989edfb67f2
2019-04-29 20:18:43 +10:00
..
common-defaults Support for Cloud Images on ppc64le for rhel7 and centos7 2017-06-29 15:44:26 +10:00
common-functions Make sure $TMP_BUILD_DIR/mnt is owned by root 2019-01-09 20:08:15 -08:00
dib-run-parts Add timestamp output filter 2017-06-16 15:58:50 +10:00
die Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
disk-image-create Support defining the free space in the image 2019-04-29 20:18:43 +10:00
img-defaults Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
img-functions Minor documentation updates 2018-10-12 11:51:56 +11:00
outfilter.py Use surrogateescape with outfilter.py 2018-05-25 11:48:14 +10:00
ramdisk-defaults Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ramdisk-functions Remove use of 'which'. 2017-05-19 12:43:36 -07:00
ramdisk-image-create Move diskimage-image-create to an entry point 2016-11-02 05:12:11 +00:00