[one-users] Custom Variables in oned.conf

Shi Jin jinzishuai at gmail.com
Sun Feb 27 10:13:55 PST 2011


Hi there,

Is it possible to define a custome variabble used in oned.conf file?
For example, if I define CLOUD_BIN to be /opt/cloud/bin
then I should be able to use it for later definitions such as
VM_HOOK = [
    name      = "hook-running",
    on        = "running",
    command   = "$CLOUD_BIN/hook-running",
    arguments = "$VMID",
    remote    = "yes"
    ]

However, this does not work for me in ONE-2.  Could you please explain how
the variables work and how to use our own variables?
Thank you very much.

Shi
-- 
Shi Jin, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110227/194dac85/attachment-0002.htm>


More information about the Users mailing list