I used self-ready templates to create VMs remotely from my personal panel via API.
Also, I have several networks in Nebula, but in the template I can use only one on the interface.
My goal is to randomly assign an IP from different vnets for new VMs from one template. I don’t want to create several templates for each network.
Who has met with such task, and can suggest how to solve this problem?
The idea is to have a base template with the main features of the VMs. Then use this API Call
The last attribute is a string (template) to be merged with your base template. For example add NIC=[NETWORK=“NET A”], to instantiate the base templated attached to NET A network.
Thanks for your reply.
I’ll try and let you know if it’s possible.