Fixed bug on the cloning scripts where the SPARSE parameter from the Datastore was ignored.
Added function get_ds_attribute to tm_common.sh to get a given attribute from a Datastore
Using falloc preallocation mode on the qemu-img commands since it is faster than using full preallocation
Note the cloning script when using the TM_MAD = ssh does not use qemu-img command. Instead it uses the tar command, hence it ignores the QCOW2_OPTIONS parameter
Description
Fixed bug on the cloning scripts where the SPARSE parameter from the Datastore was ignored.
Branches to which this PR applies