This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#Copyright 2022 Kyle Petryszak | |
# Exmple hook script for PVE guests (hookscript config option) | |
# You can set this via pct/qm with | |
# pct set <vmid> -hookscript <volume-id> | |
# qm set <vmid> -hookscript <volume-id> | |
# where <volume-id> has to be an executable file in the snippets folder | |
# of any storage with directories e.g.: | |
# qm set 100 -hookscript local:snippets/hookscript-pci.py |