Revision 4f4b8ab4 share/etc/oned.conf

View differences:

share/etc/oned.conf
323 323
#   command   : path can be absolute or relative to $ONE_LOCATION/share/hooks
324 324
#               case of self-contained installation or relative to
325 325
#               /usr/share/one/hooks in case of system-wide installation
326
#   arguments : for the hook. You can access to VM template variables with $
327
#               - $ATTR, the value of an attribute e.g. $NAME or $VMID
328
#               - $ATTR[VAR], the value of a vector e.g. $NIC[MAC]
329
#               - $ATTR[VAR, COND], same of previous but COND select between
330
#                 multiple ATTRs e.g. $NIC[MAC, NETWORK="Public"]
326
#   arguments : for the hook. You can access to VM information with $
327
#               - $VMID, the ID of the virtual machine
328
#               - $TEMPLATE, the VM template in xml and base64 encoded
331 329
#   remote    : values,
332 330
#               - YES, The hook is executed in the host where the VM was
333 331
#                 allocated
......
343 341
#   command   : path can be absolute or relative to $ONE_LOCATION/share/hooks
344 342
#               case of self-contained installation or relative to
345 343
#               /usr/share/one/hooks in case of system-wide installation
346
#   arguments : for the hook. You can use the Host ID with $HID to pass it as
347
#               argument for the hook
344
#   arguments : for the hook. You can use the following Host information:
345
#               - $HID, the ID of the host
346
#               - $TEMPLATE, the Host template in xml and base64 encoded
348 347
#   remote    : values,
349 348
#               - YES, The hook is executed in the host
350 349
#               - NO, The hook is executed in the OpenNebula server (default)

Also available in: Unified diff