1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-03 01:17:41 +03:00
one/share/etc
Aletibazo 1f9b15cd95
B OpenNebula/one#6487: Fix SPARSE parameter ignored (#3033)
in TM cloning script 

- 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
- Deleted get_ds_attribute function since it is no longer needed
- SPARSE is inherited from Datastore on oned.conf
- Changed resize statement so it uses same syntax as the clone statement

Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-05-08 10:47:11 +02:00
..
cron.d F #1473: Update SSH config and sockets (#4733) 2020-05-15 18:51:04 +02:00
modprobe.d F #5228: LXC driver set 2021-03-04 21:07:50 +01:00
modules-load.d F #5228: LXC driver set 2021-03-04 21:07:50 +01:00
sysctl.d Feature #4448: rename 2016-05-04 13:05:44 +02:00
defaultrc F #6127: Remove headers from all conf files (#2517) 2023-02-22 16:03:37 +01:00
guacd F #6127: Remove headers from all conf files (#2517) 2023-02-22 16:03:37 +01:00
oned.conf B OpenNebula/one#6487: Fix SPARSE parameter ignored (#3033) 2024-05-08 10:47:11 +02:00