778d007150
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 |
||
---|---|---|
.. | ||
1.16.0-updates-bad91fc0b36c1755.yaml | ||
1.17.0-ef744f36d277dba4.yaml | ||
1.18.0-4433d3076627f10d.yaml | ||
1.18.1-ceeb514708dcb731.yaml | ||
add-modprobe-element-8e3b0287ebb11920.yaml | ||
block-device-handling-279cddba8a859718.yaml | ||
block-device-lvm-c3b8a214952b4db5.yaml | ||
block-device-mkfs-mount-fstab-42d7efe28fc2df04.yaml | ||
block-device-partitioning-237249e7ed2bad26.yaml | ||
bootloader-commandline-d2db7524f1f9ad28.yaml | ||
bootloader-gpt-d1047f81f3a0631b.yaml | ||
centos-retired-f17ae9f6f03e57e3.yaml | ||
dash-p-after-install-58a87549c1c906c3.yaml | ||
dib-distribution-mirror-8c241c0d3d4a539a.yaml | ||
dib-init-system_fix_for_debian_jessie-c6f7261ee84dad27.yaml | ||
dib-run-parts-6f67d038aa5a4156.yaml | ||
dib-run-parts-e18cc3a6c2d66c24.yaml | ||
dibv2-omnibus-b30e0c7ecd76db8d.yaml | ||
doc-auto-element-dependency-cb7488c5bb7301a4.yaml | ||
dracut-network-adaabf90da9f6866.yaml | ||
element-info-entry-point-448bf622be6061a0.yaml | ||
element-override-ccda78c24ab4a4ff.yaml | ||
element-vars-c6bf2e6795002f01.yaml | ||
fedora26-690b9fd9ac3c3d4f.yaml | ||
grub-timeout-1cdd14a2b1467d89.yaml | ||
image-size-padding-24f88d1c4a215221.yaml | ||
incorrect-grub-label-5d2000215c0cc73e.yaml | ||
init-ibft-interfaces-9458d97dfcecc3ae.yaml | ||
logfile-quiet-b18f2de4059eecfd.yaml | ||
move_tidy_logs_to_main-a8c03427fe1a445c.yaml | ||
openssh-server-0f6d065748a2fc18.yaml | ||
opensuse-423-default-3bc73fff69374cd0.yaml | ||
opensuse-minimal-45267f5be1112c22.yaml | ||
package-install-arch-38bb5a6e61794fa5.yaml | ||
package-outside-debootstrap-ac93e9ce991819f1.yaml | ||
post-root-stage-51da051bcdfbc55f.yaml | ||
pre-finalise-stage-574ae7886274bcba.yaml | ||
remove-dib-utils-37f70dfad54900a0.yaml | ||
root-journal-size-618e064d6681699a.yaml | ||
runtime-ssh-host-keys-7a2fc873cc90d33e.yaml | ||
selinux-permissive-pre-install-ce19461ef17ec972.yaml | ||
simple-init-nm-f0896124dee92a03.yaml | ||
skip-packages-env-c97e7b4820f9bfda.yaml | ||
squashfs-output-91c1f0dc37474d3c.yaml | ||
start-using-reno-446b3d52a467a273.yaml | ||
sysprep-f3fd036bc1d2c405.yaml | ||
timestamp-43015aa5434e8ddb.yaml | ||
ubuntu-arbitrary-images-c796f5c6dbd40679.yaml | ||
upgrade-pip-before-c-d2443847f9d58c7a.yaml | ||
yum-cache-removal-148c33012515e56e.yaml |