Hi,
I'm trying to finish a script to deploy and configure a VM from a template.
Right now it works pretty well, it clones the template, increase the disk size to whatever value I passed as an argument and grows the LVM partitions and then mounts the / to customize the configuration files in /etc.
I'm only missing parameters for the number of cores and the quantity of ram, I took a look at the API and I don't see any methods for that.
Is the only way to put the whole config again ? I'm using pvesh for this if that matters.
Thanks
I'm trying to finish a script to deploy and configure a VM from a template.
Right now it works pretty well, it clones the template, increase the disk size to whatever value I passed as an argument and grows the LVM partitions and then mounts the / to customize the configuration files in /etc.
I'm only missing parameters for the number of cores and the quantity of ram, I took a look at the API and I don't see any methods for that.
Is the only way to put the whole config again ? I'm using pvesh for this if that matters.
Thanks