I created Universal Image Based on the Windows 7 SAD2 topic in the forum, created custom unattended.xml with some tweaks, basicly regional settings, fake serial number and so on. The image upload and download was working properly and resized the partition accurately to the maximum size of the partition, but recently it stopped doing this (the resizing).
I’m using VirtualBox for creating the Master Windows Installation. My virtual disk is 35GB and my windows install is 33GB, so I have 1.9GB free space. I began suspecting that the insufficient disk is the reason of the incorrect resizing.
P.S.: I was making a multipartition Image of the Universal Image with clonezilla, and sometimes I have the same problem. Partclone in Clonezilla shows: “Device Size: 37.5GB” (partclone ver. 2.70), but in fog it shows: “Device Size: 32.7GB” (partclone ver. 2.69).
So to summarize: My VirtualBox virtual disk size is 35GB, When making the image from VirtualBox and it shows Device Size: 37.5GB the resizing works, but when it shows: “Device Size 32.7GB” it does not work. The interesting thing is that it sometimes does it with clonezilla, which I’m booting via fog server with custom PXE boot menu.