We are using Clonezilla to make our computer images. Since we are deploying this image on many different hard drive sizes, we shrink the main partition to be lower than 80GB before we make the golden image.
Sometimes the tech forgets to enlarge the partition after the computer has been imaged by following the steps here.
How would one go about created a post-image script to enlarge partition 2 to fill the maximum space available that would run automatically?