CLOUDSTACK-5150 - set the template size from source

Signed-off-by: Daan Hoogland <daan@onecht.net>