How to add disk when instantiating a VM template

(Edouard (Madko)) #1


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,

(Sergio Semedi Barranco) #2

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]


(Edouard (Madko)) #3

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