scripting networking part when creating new containers

tarball

Member
Nov 1, 2011
24
1
23
Hi,

Is there a way to delegate to a script the networking part of a CT addition through the proxmox GUI ?

thanks
 
Is there a way to delegate to a script the networking part of a CT addition through the proxmox GUI ?
What do you mean by "delegate to a script"?
If you mean to create CT using script such as PHP then you can use Proxmox API. There are API parameters to set networking value, i.e: ip address, interface, hostname. For complete API parameters please refer to: http://pve.proxmox.com/pve2-api-doc/
 
What do you mean by "delegate to a script"?
If you mean to create CT using script such as PHP then you can use Proxmox API. There are API parameters to set networking value, i.e: ip address, interface, hostname. For complete API parameters please refer to: http://pve.proxmox.com/pve2-api-doc/

By 'delegation' i mean have the networking-related bits being handled by a script when the GUI brings up the Network-DNS panes. Feed the output of a script (IP address) instead of expecting the user to add the IP.
This allows people without IT knowledge/permissions to setup a CT with the networking part taken care of.
I'm aware of the API; i use it to fully automate CT management.

thanks
 
Last edited: