Exceeded the maximum number of disks (20)

Hello,

I´m using opennebula 4.4.1 and want to instantiate a vm with more than 20 disks but I receive the following error message:
[TemplateInstantiate]
Error allocating a new virtual machine.
Exceeded the maximum number of disks (20)

Any idea where/if I can change the maximum number of disks ?

Best regards
Hans Bienert

It is hardcoded:

You may just change that value

Hi Ruben,

thank you for your tip.
I changed the code and created a new binary of oned.
I have activated the binary this mornig and it works fine.

thanx again.

Best regards
Hans Bienert