That is exactly it!!!
I don't know how I missed that...

My Results:

Original Disk declatation in Advanced Tab of the template editor:
DISK=[DEV_PREFIX="vd",DRIVER="qcow2",IMAGE="v3b3",IMAGE_UNAME="admin"]

Adding the TOTAL_BYTES_SEC:
DISK=[DEV_PREFIX="vd",DRIVER="qcow2",IMAGE="v3b3",IMAGE_UNAME="admin",TOTAL_BYTES_SEC="1000000"]


Snippet of generated "deployment.0" file:
***************
<disk type='file' device='disk'>
    <source file='/var/lib/one//datastores/100/999/disk.0'/>
    <target dev='vda'/>
    <driver name='qemu' type='qcow2' cache='none'/>
    <iotune>
        <total_bytes_sec>1000000</total_bytes_sec>
    </iotune>
</disk>
***************

It would be nice to have a way to add this info directly in the template
wizard, under the disk's Advanced Options.

Thanks again for your help.

Pedro Pereira

Attachment: 0x9483169C.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to