Hello, i have a question.

I need to make a script that would expand the / hard drive automaticaly... if that is posible
The thing is I have an vps template ( an snapshot of a system) however I have different plans for storage, 25gb, 50gb,100gb...

I am using the 25 gb image but when I expand the disk to 25 gb, cfdisk reports the extra space as free space.

any ideas?