Based on the prepare and release scripts: https://gitlab.com/risingprismtv/single-gpu-passthrough
- CPU: AMD Ryzen 7 3700X
- GPU: AMD Radeon RX 5700 XT
- System: Manjaro Linux, Kernel 5.12.1
from sys import argv | |
from base64 import b64decode | |
from urllib.parse import urlparse | |
def to_acl(line: str) -> str: | |
rule = line.lstrip('|.').replace('*', '/').rstrip('/') | |
# Append protocol if not included | |
if not rule.startswith("http://") and not rule.startswith("https://"): |
Based on the prepare and release scripts: https://gitlab.com/risingprismtv/single-gpu-passthrough