mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-04-30 15:11:06 +00:00
guest-example-hookscript: use double hyphen instead of single hyphen in documented commands
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
71817453dd
commit
b0531128a7
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
# Example hook script for PVE guests (hookscript config option)
|
# Example hook script for PVE guests (hookscript config option)
|
||||||
# You can set this via pct/qm with
|
# You can set this via pct/qm with
|
||||||
# pct set <vmid> -hookscript <volume-id>
|
# pct set <vmid> --hookscript <volume-id>
|
||||||
# qm set <vmid> -hookscript <volume-id>
|
# qm set <vmid> --hookscript <volume-id>
|
||||||
# where <volume-id> has to be an executable file in the snippets folder
|
# where <volume-id> has to be an executable file in the snippets folder
|
||||||
# of any storage with directories e.g.:
|
# of any storage with directories e.g.:
|
||||||
# qm set 100 -hookscript local:snippets/hookscript.pl
|
# qm set 100 --hookscript local:snippets/hookscript.pl
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
Loading…
Reference in New Issue
Block a user