# Is possible to enable virtio-RNG or other entropy system?

**URL:** <https://forum.opennebula.io/t/is-possible-to-enable-virtio-rng-or-other-entropy-system/485>\
**Category:** Product Support\
**Created:** [March 23, 2015, 10:55pm UTC](https://forum.opennebula.io/t/is-possible-to-enable-virtio-rng-or-other-entropy-system/485 "2015-03-23T22:55:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![telemaco](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/telemaco/32/4313_2.png) [@telemaco](https://forum.opennebula.io/u/telemaco)\
**Post date:** [March 23, 2015, 10:55pm UTC](https://forum.opennebula.io/t/is-possible-to-enable-virtio-rng-or-other-entropy-system/485/1 "2015-03-23T22:55:14Z")

</div>

I am trying to install to install freeipa in a centos 7 image, this software makes heavy use of entropy, because it’s configure and use kerberos… I’ve been looking a solution on google and i found the [virtio-rng qemu support](http://wiki.qemu-project.org/Features-Done/VirtIORNG). Is there any way to use it or another system to emulate entropy in the guests?

---

<div class="post-metadata">

**Author:** ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)\
**Post date:** [March 24, 2015, 5:22pm UTC](https://forum.opennebula.io/t/is-possible-to-enable-virtio-rng-or-other-entropy-system/485/2 "2015-03-24T17:22:38Z")

</div>

You can add features not supported by OpenNebula using the [RAW parameter](http://docs.opennebula.org/4.12/user/references/template.html#raw-section). For your case to add the virtio rgn example from [libvirt documentation](https://libvirt.org/formatdomain.html#elementsRng) you can use this RAW parameter in the VM template:

```auto
RAW=[
  TYPE="kvm",
  DATA="<devices>
  <rng model='virtio'>
    <rate period="2000" bytes="1234"/>
    <backend model='random'>/dev/random</backend>
  </rng>
</devices>"]

```
