From 04fbefc22a4e7006c44e29be242dc98a66393eb7 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Wed, 28 Oct 2009 20:12:53 +0000 Subject: [PATCH] Added the description of the on 'done' hook. Changes all references of VM_ID to VMID in the configuration file. (#166) git-svn-id: http://svn.opennebula.org/one/trunk@902 3034c82b-c49b-4eb3-8279-a7acafdc01c0 --- share/etc/oned.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/share/etc/oned.conf b/share/etc/oned.conf index 0b2f3a1a56..9fc39c6e41 100644 --- a/share/etc/oned.conf +++ b/share/etc/oned.conf @@ -199,9 +199,10 @@ TM_MAD = [ # - RUNNING, after the VM is successfully booted # - SHUTDOWN, after the VM is shutdown # - STOP, after the VM is stopped (including VM image transfers) +# - DONE, after the VM is deleted or shutdown # command : use absolute path here # arguments : for the hook. You can access to VM template variables with $ -# - $ATTR, the value of an attribute e.g. $NAME or $VM_ID +# - $ATTR, the value of an attribute e.g. $NAME or $VMID # - $ATTR[VAR], the value of a vector e.g. $NIC[MAC] # - $ATTR[VAR, COND], same of previous but COND select between # multiple ATTRs e.g. $NIC[MAC, NETWORK="Public"] @@ -219,7 +220,7 @@ HM_MAD = [ # name = "dhcp", # on = "create", # command = "/bin/echo", -# arguments = "$NAME > /tmp/test.$VM_ID" ] +# arguments = "$NAME > /tmp/test.$VMID" ] #------------------------------------------------------------------------------- #VM_HOOK = [ # name = "ebtables", @@ -232,6 +233,6 @@ HM_MAD = [ # name = "mail", # on = "running", # command = "/usr/local/one/bin/send_mail", -# arguments = "$VM_ID $NAME", +# arguments = "$VMID $NAME", # remote = "no" ] #------------------------------------------------------------------------------