Hi,
Im using Proxmox VE, via API communication. I have a script that I use to create virtual machines (it works brilliantly).
The template I will create in advance to make everything work correctly will be with the program installed, but there remains the issue of implementing the API to create and configure the virtual machine. My question is:
how can i generate user + password and have them added in /etc/software/user.conf
I assume there is a way, via an API command, that I can run X command to the server and write the required file?
For the moment, the only solution I can and use is that the template itself has a pre-configuration, such as static needs and a password:
for example:
user32143, pass43294
However, this is bad practice. I want each new machine to have different accesses in this file: /etc/software/user.conf
Thanks
Im using Proxmox VE, via API communication. I have a script that I use to create virtual machines (it works brilliantly).
The template I will create in advance to make everything work correctly will be with the program installed, but there remains the issue of implementing the API to create and configure the virtual machine. My question is:
how can i generate user + password and have them added in /etc/software/user.conf
I assume there is a way, via an API command, that I can run X command to the server and write the required file?
For the moment, the only solution I can and use is that the template itself has a pre-configuration, such as static needs and a password:
for example:
user32143, pass43294
However, this is bad practice. I want each new machine to have different accesses in this file: /etc/software/user.conf
Thanks