From 94f88f7e0bf982b6ee01bf449769902c6fcd8f37 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Thu, 1 Jul 2010 13:25:24 +0200 Subject: [PATCH] added the image hook to the opennebula configuration file --- share/etc/oned.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/share/etc/oned.conf b/share/etc/oned.conf index 2b31197cb1..ef9998103e 100644 --- a/share/etc/oned.conf +++ b/share/etc/oned.conf @@ -257,6 +257,28 @@ TM_MAD = [ HM_MAD = [ executable = "one_hm" ] + + +#-------------------------------- Image Hook ----------------------------------- +# This hook is used to handle image saving and overwriting when virtual machines +# reach the DONE state after being shutdown. +# +# Uncomment one of the following: +# +# Self-contained (substitute [ONE_LOCATION] with its proper path) +# VM_HOOK = [ +# name = "image", +# on = "SHUTDOWN", +# command = "[ONE_LOCATION]/share/hooks/image.rb", +# arguments = "$VMID" ] +# +# System-wide +# VM_HOOK = [ +# name = "image", +# on = "SHUTDOWN", +# command = "/usr/share/doc/opennebula/hooks/image.rb", +# arguments = "$VMID" ] +#------------------------------------------------------------------------------- #-------------------------------- Hook Examples -------------------------------- #VM_HOOK = [