
21 Aug
2018
21 Aug
'18
6:47 p.m.
Hi all, I want to write a hook in which name or id of the vm can be acquired and the hook should be executed before the vm shutdown. I could acquire name or id of the vm in a before_vm_start hook using "hooking.read_domxml()". However, it did not work in a before_vm_destroy hook. So what should I do? Can Anyone give me some advice? Thanks a lot!