Change Disk size in VM from CLI

I’m trying to change the default disk size from the CLI before instantiating a VM

From sunstone it’s pretty easy

But I can’t find how to do it in the API onetemplate(1)

Memory attribute changes RAM not disk size

Fixed, just had to add the “size” parameter in the disk section of the template. But I think this should be doable from the the onetemplate command