I am using CloneDeploy 1.2.0 installed on a Ubuntu 16.04 base. After installing, I successfully PXE booted a client (Lenovo ThinkPad laptop) from the network and using the OnDemand menu, I tried to upload the image of the client to the server (On Demand > Upload > New Image). However, when it reached the point where it tried to shrink the filesystem, it threw a syntax error. The client HDD has a fresh install of Ubuntu GNOME 16.10 and nothing else on it. The error it threw was:
expr: syntax error expr: syntax error Warning, EXT File System Did Not Shrink Properly. /bin/cd_pull: line 354: * 1000 * 1000 : syntax error: operand expected (error token is "* 1000 * 1000")
I have tried pre-creating the image from the web interface and forcing it as Block mode with linux environment, but the same issue occurs.