How to add disk when instantiating a VM template

Hi,

Is there a way to add other disks when instantiating a VM template? Something similar as the network cards ?
The only way we found is to start the VM on HOLD, then start it and quickly add others disk. My bonus question is why can’t we add disks when the VM is on HOLD ?

Best regards,
Edouard

Yes but you should use CLI instead of sunstone (GUI).

One way to perform this is the next:

$ onetemplate instantiate [template ID] --disk [disk name]

CHeers.

And how to use --disk for volatile disk ? I try something like --disk :size=10240 with no luck.