Title: Firma de correo
Hi,

I need to add a iptables rule when one VM is running. I had thought to solve this using one virtual machine hook.

The lines added in the oned.log file are:

HOST_HOOK = [
    name      = "redir_vnc",
    on        = "RUNNING",
    command   = "redir_vnc.sh",
    arguments = "$GRAPHICS[TYPE] $HID $GRAPHICS[PORT] x.x.x.x",
    remote    = "no" ]

The shell script is in the directory $ONE_LOCATION/share/hooks. Is this OK? The command can be a shell script? Because the command does not execute and I do not see anything in the logs.

Some idea? I have been reading this information [1], you know some other info than it can help me?

Thanks in advance.
María

[1] http://opennebula.org/documentation:rel2.2:hooks

--
María Ascensión Pérez García
Engineering & Support
Catón Sistemas Alternativos


ma...@caton.es
www.caton.es
Telf: 951 254 008
Fax: +34 958 750 447


Calle Parque de las Ciencias
C.P. 18006 - Granada (Spain)

Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente.

Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. El correo electrónico vía Internet no permite asegurar la confidencialidad de los mensajes que se transmiten ni su integridad o correcta recepción. CATÓN no asume ninguna responsabilidad por estas circunstancias.


This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by a professional privilege or whose disclosure is prohibited by law. If you are not the intended recipient you are hereby notified that any read, dissemination, copy or disclosure of this communication is strictly prohibited by law.

If this message has been received in error, please immediately notify us via e-mail and delete it. Internet e-mail neither guarantees the confidentiality nor the integrity or proper receipt of the messages sent. CATÓN does not assume any liability for those circumstances.

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to