[ask] cloud-init os centos 7 resize disk automatically during reboot

n0bie

Member
Dec 28, 2021
69
2
13
37
helo
is there any way to perform auto resize the partition / to the maximum after upgrade the storage and reboot the VM ?
i can see cloud-init only support for adjust ip address, user and password.. how about resize the disk automatically to the maximum?

yes we can perform manually, but it is not a good way if we do clone from template and perform resize disk manually.
need advice.
thanks