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 | |
import logging | |
import os | |
import re | |
import sys | |
from pathlib import Path | |
# Thanks to: https://gist.github.com/guruevi/7d9673c6f44f49b1841eaf49bbd727f9 | |
# This script is used to set the vGPU type for NVIDIA vGPU passthrough in Proxmox VE. | |
# The script is called from the Proxmox VE hook scripts. |