Permalink
Browse files

Added the description of the on 'done' hook. Changes all references o…

…f VM_ID to VMID in the configuration file. (#166)

git-svn-id: http://svn.opennebula.org/one/trunk@902 3034c82b-c49b-4eb3-8279-a7acafdc01c0
  • Loading branch information...
1 parent 824a475 commit 745ca3a7c4349e96486f9113d9b2d98dd1b3ce15 jmelis committed Oct 28, 2009
Showing with 4 additions and 3 deletions.
  1. +4 −3 share/etc/oned.conf
View
@@ -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" ]
#------------------------------------------------------------------------------

0 comments on commit 745ca3a

Please sign in to comment.