Hi guys
I am in the process of having a module written to automate the creation of OpenVZ containers on my Proxmox cluster when a customer places an order on my website.
Everything is working well, however for certain products we sell we have to map a device.
The command from the command line we use is
vzctl set 101 --devnodes dahdi/pseudo:rw --save
Is there any way of performing the same from the API? I have looked through the API documentaion and cannot seem to see anything.
Any help or pointers would be appreciated. Dont really want to have to make an SSH connection and call the command from the command line if we can help it.
Regards
I am in the process of having a module written to automate the creation of OpenVZ containers on my Proxmox cluster when a customer places an order on my website.
Everything is working well, however for certain products we sell we have to map a device.
The command from the command line we use is
vzctl set 101 --devnodes dahdi/pseudo:rw --save
Is there any way of performing the same from the API? I have looked through the API documentaion and cannot seem to see anything.
Any help or pointers would be appreciated. Dont really want to have to make an SSH connection and call the command from the command line if we can help it.
Regards