Is there an easy way to determine what the node id is? I'm working on an Ansible script where a template is created to then create a VM. Since I have multiple nodes, I would like to create the template with a unique vmid, for instance the template on node 1 would be 8001, on node 4 would be 8004, etc. I was hoping for something by running
to retrieve the value. The closest I've found so far is a list from
Thanks
Code:
pvesm
Code:
pvesh get /cluster/status
Thanks