# VM Restricted Attribute not working

**URL:** <https://forum.opennebula.io/t/vm-restricted-attribute-not-working/503>\
**Category:** Integration Support\
**Created:** [March 25, 2015, 11:31am UTC](https://forum.opennebula.io/t/vm-restricted-attribute-not-working/503 "2015-03-25T11:31:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasaavedra](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jasaavedra](https://forum.opennebula.io/u/jasaavedra)\
**Post date:** [March 25, 2015, 11:31am UTC](https://forum.opennebula.io/t/vm-restricted-attribute-not-working/503/1 "2015-03-25T11:31:26Z")

</div>

Hi!!

Following the answer of Carlos Martín I open this thread for checking this issue. I paste my original post:

"We have upgraded our 4.8 environment to the 4.12 version. We are very interested in blocking the CPU modifications done by users; we want to create a template and only allow to modify the VM capacity for vCPUs and Memory.

We have added this line to oned.conf:  
VM\_RESTRICTED\_ATTR = “CPU”

But now we can’t modify the VM vCPU nor the Memory… This error appears in Sunstone:  
[VirtualMachineResize] User [41] : Template includes a restricted attribute CPU."

It seems that Sunstone sends always all the parameters (RAM, CPU, vCPU…) regardless if you modify one or not.

Thanks.

---

<div class="post-metadata">

**Author:** ![cmartin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cmartin/32/4278_2.png) [@cmartin](https://forum.opennebula.io/u/cmartin)\
**Post date:** [March 26, 2015, 9:54am UTC](https://forum.opennebula.io/t/vm-restricted-attribute-not-working/503/2 "2015-03-26T09:54:41Z")

</div>

Hi José,

When I asked you to open a ticket at our dev portal, I meant [our redmine](http://dev.opennebula.org/). I already opened a [ticket here](http://dev.opennebula.org/issues/3720). The lists were moved to this forum, but the development tickets are still managed through redmine.

We usually prefer people to open a ticket themselves because it’s useful for us to differentiate requests/bugs reported by users 😄

Regards.

---

<div class="post-metadata">

**Author:** ![jasaavedra](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jasaavedra](https://forum.opennebula.io/u/jasaavedra)\
**Post date:** [March 26, 2015, 10:15am UTC](https://forum.opennebula.io/t/vm-restricted-attribute-not-working/503/3 "2015-03-26T10:15:58Z")

</div>

Sorry for the misunderstanding!!!

And thank you!
