[one-users] Hook for VM becoming UNKNOWN state

Shi Jin jinzishuai at yahoo.com
Fri Sep 3 11:13:53 PDT 2010

Hi, there,

I would like to have a hook to run a script when the user shuts down the VM from inside the OS. When that happens, the VMState=ACTIVE and LCM_STATE=UNKNOWN. Is it possible to add this to the hook system of OpenNebula? Otherwise, which code should I look for to add some custom code after it gets into UNKNOWN?

Thanks a lot.

Shi Jin, PhD


More information about the Users mailing list