Go Back   ISPsystem.com Forums > VMmanager > General discussion

Notices

Reply
 
Thread Tools
Old 01-29-2015, 11:19 AM   #1
Junior Member
 
Join Date: Jun 2013
Posts: 3
Leo_S is on a distinguished road
Post User rights on a node

I want to create a separate node and allow a user to fully manage his virtual environment within this node, so that he could create, edit and delete virtual machines. Can I do that for one particular node?
Leo_S is offline   Reply With Quote
Old 01-29-2015, 12:28 PM   #2
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

Hi,

It is possible to allow user to create a virtual machine and it is possible to limit number of virtual machine can be created by user. But, unfortunately, there is no way to make a restriction with node.
If user can create vps, he is able to choose what node is used for this.

But it is possible to make a plugin for hiding nodes. Please read more about plugins in our documentation.
fly is offline   Reply With Quote
Old 01-30-2015, 04:06 AM   #3
Junior Member
 
Join Date: Jun 2013
Posts: 3
Leo_S is on a distinguished road
Default

Hi,

Can your team create such a plugin? Because I'm not sure that we can do that
Leo_S is offline   Reply With Quote
Old 02-02-2015, 03:26 PM   #4
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

# cat /usr/local/mgr5/etc/xml/vmmgr_mod_hidenodes.xml
<?xml version="1.0" encoding="UTF8"?>
<mgrdata>
<handler name="node" type="xml">
<event name="vm.edit" after="yes"/>
</handler>
</mgrdata>


# cat /usr/local/mgr5/addon/node
#!/bin/bash

cat | sed 's/<slist name="hostnode">.*<\/val><\/slist>/<slist name="hostnode"><val key="2">node2<\/val><\/slist>/'

where node2 - name of node you want to allow to user.
fly is offline   Reply With Quote
Reply

Tags
vmmanager

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:34 PM.