A collection of hookscripts to simplify complex tasks, such using the Intel iGPU in multiple containers. This includes mixins (I hate this word for this) for multiple devices.
These scripts are a work in progress. Issues and pull requests are welcome.
To-do:
- Automatically restart container after initial configuration
- Change the word mixin to something better
Intel iGPU multi-container passthrough hookscript.
This script automatically configures the host and container to allow the Intel iGPU to be attached to multiple Proxmox containers at the same time.
This hookscript works for protected and unprotected containers.
You can configure a container to use this hookscript this via pct with:
pct set <vmid> -hookscript <storage>:snippets/Intel_iGPU_multipass.sh
Example:
pct set 1000 -hookscript local:snippets/Intel_iGPU_multipass.sh
- Learn scrypted to figure out if this works or not
Google Coral PCIe multi-container passthrough hookscript.
This script automatically configures the host and container to allow the PCIe version of a Google Coral TPU to be attached to multiple Proxmox containers at the same time.
This hookscript works for protected and unprotected containers.
You can configure a container to use this hookscript this via pct with:
pct set <vmid> -hookscript <storage>:snippets/Google_Coral_PCIe_multipass.sh
Example:
pct set 1000 -hookscript local:snippets/Google_Coral_PCIe_multipass.sh
iGPU & Coral PCIe TPU mixin for multi-container passthrough hookscript.
This script automatically configures the host and container to allow the Intel iGPU and PCIe version of a Google Coral TPU to be attached to multiple Proxmox containers at the same time.
This hookscript will work for protected and unprotected containers.
You can configure a container to use this hookscript this via pct with:
pct set <vmid> -hookscript <storage>:snippets/mixin_iGPU_Coral_PCIe.sh
Example:
pct set 1000 -hookscript local:snippets/mixin_iGPU_Coral_PCIe.sh