[pve-devel] [PATCH docs] qm: fix hookscript example
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Feb 1 11:47:21 CET 2021
but this is a style fix only, or? As a single minus always works for options
in CLIHandler based executables (we have no short-opts there).
On 01.02.21 11:06, Aaron Lauterer wrote:
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
> qm.adoc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qm.adoc b/qm.adoc
> index 333b2e6..e0cce2b 100644
> --- a/qm.adoc
> +++ b/qm.adoc
> @@ -1333,7 +1333,7 @@ Hookscripts
>
> You can add a hook script to VMs with the config property `hookscript`.
>
> - qm set 100 -hookscript local:snippets/hookscript.pl
> + qm set 100 --hookscript local:snippets/hookscript.pl
>
> It will be called during various phases of the guests lifetime.
> For an example and documentation see the example script under
>
More information about the pve-devel
mailing list