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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!