Skip to content

Commit

Permalink
M #-: Add missing state to Hooks ON parameter
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e529f1)
  • Loading branch information
rsmontero committed Jul 5, 2024
1 parent 82e391f commit 51977b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ The state hooks are only available for **Hosts** and **Virtual Machines** and th
+-----------------------+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| LCM_STATE | YES | The LCM state that triggers the hook (Only for VM hooks) |
+-----------------------+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ON | YES | For ``RESOURCE=VM``, shortcut to define common ``STATE``/``LCM_STATE`` pairs. Supported values are: RUNNING, SHUTDOWN, STOP, DONE, UNKNOWN, CUSTOM |
| ON | YES | For ``RESOURCE=VM``, shortcut to define common ``STATE``/``LCM_STATE`` pairs. Supported values are: PROLOG, RUNNING, SHUTDOWN, STOP, DONE, UNKNOWN, CUSTOM |
+-----------------------+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

.. warning:: Note that ``ON`` is mandatory for VM hooks, use ``ON=CUSTOM`` with ``STATE`` and ``LCM_STATE`` to define hooks on specific state transitions.
Expand Down

0 comments on commit 51977b6

Please sign in to comment.