mini custom user panel

donatas

New Member
Dec 21, 2009
3
0
1
Hi,

Just started using promox, and i have a need to make a mini user panel for vps users, such as create, stop, restart, start vps, watch loads etc. Tried to look at wiki, here at forums but didin't found any suggestions how to make it best.

I guess i would just need exact command lines to execute on server so the proxmox would know what i'm trying to do. Is there a place where i could find such commands?

Thanks in advance
 
Hi,

Just started using promox, and i have a need to make a mini user panel for vps users, such as create, stop, restart, start vps, watch loads etc. Tried to look at wiki, here at forums but didin't found any suggestions how to make it best.

I guess i would just need exact command lines to execute on server so the proxmox would know what i'm trying to do. Is there a place where i could find such commands?

Thanks in advance

user management is not yet finished so if you want to implement this now you have to take a deep look on the source code. I suggest you wait till the user management is in place.
 
Maybe i was understood wrong :)

i was talking about simple commands like:
vzctl restart xxxx
vzctl stop xxxx

i have a script which can take commands and execute them on server, but i thought maybe theres a smarter and better way for proxmox, for example then creating a vm, by not sending a command vzctl create xxx --template, but maybe there's a command create xxx templateid. something like that.

Because as i looked at the logs, i saw that it's executing scripts every minute, so why add more then we could use the same ? :)


maybe somebody could just paste those commands?
 
Hi donatas,
I would love to have user panel too, if you come up with something useful, please share, at least basic functions such as stop, start and console...
Thanks,
--Vlad
 
Its all done in perl, you have to look under:
/usr/share/perl5/PVE/ConfigServer.pm
I'm guessing, you'd have to write perl wrapper that utilizes PVE::ConfigServer, there are no documented functions for custom code, youd have to hack your way in ...
 
No. It is possible. Create new User Sets in the ISA firewall Police and after you can use this Sets in the BSplitters rules.
 
Sounds like you have to buy ISA and BSPlitter add-on, also it will give full admin rights to user without them entering the root password. The idea of user panel is to isolate node admin tasks from the user and just give him only access to VMs.