Adding a Host to node

Hi everyone,
i have a problem, i’m trying to create an environment opennebula with this guide,
I doing step by step and I was stuck on the third point.
I make this directing on the frontend: $ onehost create localhost -i kvm -v kvm -n dummy and i get this message on /var/log/one/oned.log:

Sun Jun 5 19:17:26 2016 : Error monitoring Host localhost (0): ./kvm.rb:31:in ``’: No such file or directory - virsh -c qemu:///system nodeinfo (Errno::ENOENT)
from ./kvm.rb:31:in `'
ERROR MESSAGE --8<------
Error executing kvm.rb
MODELNAME=“Pentium® Dual-Core CPU E5800 @ 3.20GHz”

Help me solve this problem. Thanks!

Hi Konrad,

As instructed, make sure you change “localhost” in the command with actual hostname of your node.