Proxmox config files for/and Windows VM with working NVidia Graphics card passthrough.
After modifications to /etc/default/grub and /etc/modprobe.d/passthrough.conf, run:
update-initramfs -u -k all
-> Options
-> Filesystem
zfs (RAID1)
-> Disk Setup
-> Harddisk 0
/dev/ds[REDACTED] ([REDACTED]GiB, [REDACTED] [REDACTED]-7)
-> Harddisk 1
/dev/ds[REDACTED] ([REDACTED]GiB, [REDACTED] [REDACTED]-0)
-> Harddisk 2
-- do not use --
-> Harddisk 3
-- do not use --
-> Harddisk 4
-- do not use --
-> Country
[REDACTED]
-> Time zone
[REDACTED]
-> Keyboard Layout
[REDACTED]
-> Password
[REDACTED]
-> Confirm
[REDACTED]
-> Email
[REDACTED]
-> Mangement Interface:
[REDACTED]8
-> Hostname (FQDN):
proxmox[REDACTED]
-> IP Address (CIDR)
[REDACTED]49 / [REDACTED]
-> Gateway:
[REDACTED]
-> DNS Server:
[REDACTED]
mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.disabled
echo 'deb http://download.proxmox.com/debian/pve buster pve-no-subscription' > /etc/apt/sources.list.d/pve-no-subscription.list
echo 'deb http://download.proxmox.com/debian/ceph-octopus buster main' > /etc/apt/sources.list.d/ceph.list
-> Datacenter
-> Options
-> Email from address
[REDACTED]@[REDACTED]
# Based on https://www.naturalborncoder.com/linux/2023/05/19/setting-up-email-notifications-in-proxmox-using-gmail/
apt update
apt install libsasl2-modules mailutils
# Setup Account
echo "smtp.gmail.com [REDACTED]@[REDACTED]:[REDACTED]" > /etc/postfix/sasl_passwd # "Replace" with mail:password
chmod 600 /etc/postfix/sasl_passwd
postmap hash:/etc/postfix/sasl_passwd
# Setup Headers Rewrite
echo '/^From:.*/ REPLACE From: [REDACTED] <[REDACTED]@[REDACTED]>' > /etc/postfix/smtp_header_checks # "Replace" with hostname <mail>
postmap hash:/etc/postfix/smtp_header_checks
sed 's|relayhost =|#relayhost =\nrelayhost = smtp.gmail.com:587\nsmtp_use_tls = yes\nsmtp_sasl_auth_enable = yes\nsmtp_sasl_security_options =\nsmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd\nsmtp_tls_CAfile = /etc/ssl/certs\nEntrust_Root_Certification_Authority.pem\nsmtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_tls_session_cache\nsmtp_tls_session_cache_timeout = 3600s\nsmtp_header_checks = pcre:/etc/postfix/smtp_header_checks\n#|' -i /etc/postfix/main.cf
# Reload configuration
postfix reload
# Test
echo "Test email from Proxmox: $(hostname)" | /usr/bin/proxmox-mail-forward
-> Datacenter
-> Options
-> MAC address prefix
[ANY OF: x2:xx:xx: x6:xx:xx: xA:xx:xx: xE:xx:xx: ]
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service