diskimage-builder/diskimage_builder/elements/cloud-init-disable-resizefs/README.rst
Michal Nasiadka 520e12ec29 Disable growpart in cloud-init-disable-resizefs
This disables growpart module in cloud-init, not resizing / partition
to maximum disk free size by default.

Change-Id: I69984a9141fa8abb12dc5d51bd334f9280deca67
2020-10-06 14:03:57 +02:00

368 B

cloud-init-disable-resizefs

The cloud-init resizefs module can be extremely slow and will also unwittingly create a root filesystem that cannot be booted by grub if the underlying partition is too big. This removes both resizefs and growpart from cloud.cfg, putting the onus for resizing on the user post-boot.