Hi, On Mon, Dec 15, 2014 at 4:18 AM, clm_t...@hotmail.com <clm_t...@hotmail.com> wrote: > > Hi All > > I define a hook, want the host to restart the VM will automatically start > after,but has not been successful. > > VM_HOOK = [ > name = "autostart_hook", > on = "CUSTOM", > state = "POWEROFF", > lcm_state = "LCM_INIT", > command = "/usr/bin/env onevm resume", > arguments = "$ID" ] > > Do you have any good suggestions, thank you. > > The hook definition looks good. Did you restart opennebula after editing oned.conf?
You can look for any errors in the hook execution in the individual VM log, in /var/log/one/<id>.log Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org | @OpenNebula <http://twitter.com/opennebula> <cmar...@opennebula.org>
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org