Debian

To enable automatic disk expansion for Debian, you must install the growroot package.

  1. Run the apt-get install cloud-initramfs-growroot command.
  2. Run the following command to check whether the installation is successful:

    dpkg -l | grep cloud-initramfs-growroot

    The installation is successful if information similar to the following is displayed:

    root@bms:/home/bzqd# dpkg -l | grep cloud-initramfs-growroot
    ii cloud-initrramfs-growroot      0.18.debian5     all     automatically resize the root partition on first boot