[pve-devel] [PATCH docs] qm: fix hookscript example

Aaron Lauterer a.lauterer at proxmox.com
Mon Feb 1 11:06:12 CET 2021


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
-- 
2.20.1





More information about the pve-devel mailing list