mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-04 17:47:00 +03:00
added the image hook to the opennebula configuration file
This commit is contained in:
parent
4e70f46b58
commit
94f88f7e0b
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user