Intel N100 vGPU Sharing on Proxmox
Find a file
2024-12-06 11:28:52 +05:30
LICENSE Initial commit 2024-12-06 11:27:12 +05:30
README.md Update README.md 2024-12-06 11:28:52 +05:30
setup-vgpu.sh Add setup-vgpu.sh 2024-12-06 11:27:52 +05:30

I've created a comprehensive bash script that automates the setup process for both the Proxmox host and Debian VM configurations. The script includes:

  1. Error handling and logging functions
  2. Root user check
  3. Interactive choice between host and VM setup
  4. All necessary installation steps for both configurations
  5. Proper system configuration for both scenarios

To use the script:

  1. Save it to a file (e.g., setup-vgpu.sh)
  2. Make it executable: chmod +x setup-vgpu.sh
  3. Run it as root: sudo ./setup-vgpu.sh
  4. Choose 'h' for host setup or 'v' for VM setup

The script will guide you through the process and perform all necessary configurations. After completion, you'll need to reboot your system for the changes to take effect.

Note: Make sure to review the script and adjust any specific parameters (like kernel versions) if needed for your particular setup. Also, remember that when setting up VMs, never pass through the PF (Physical Function, device 02:00.0).