This commit is contained in:
wvr
2023-05-14 16:00:27 -05:00
commit b8549f1c9b
15 changed files with 305 additions and 0 deletions

View File

@@ -0,0 +1 @@
root=ZFS=rpool/ROOT/pve-1 quiet intel_iommu=on boot=zfs

View File

@@ -0,0 +1,4 @@
blacklist nouveau
blacklist nvidia
blacklist i2c_nvidia_gpu
blacklist snd_hda_intel

View File

@@ -0,0 +1,2 @@
options kvm ignore_msrs=1 report_ignored_msrs=0 vfio_iommu_type1 allow_unsafe_interrupts=1

View File

@@ -0,0 +1,4 @@
# This file contains a list of modules which are not supported by Proxmox VE
# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb

View File

@@ -0,0 +1 @@
options vfio-pci ids=10de:1cb2,10de:0fb9 disable_vga=1

View File

@@ -0,0 +1,2 @@
options vfio-pci ids=10de:2216,10de:1aef disable_vga=1

View File

@@ -0,0 +1,13 @@
auto lo
iface lo inet loopback
iface enp8s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.100.50/24
gateway 192.168.100.1
bridge-ports enp8s0
bridge-stp off
bridge-fd 0

51
proxmox/etc/rc.local Normal file
View File

@@ -0,0 +1,51 @@
#!/bin/sh
# for con in vtcon0 vtcon1 ; do
# if [ -e /sys/class/vtconsole/$con/bind ] ; then
# echo 0 > /sys/class/vtconsole/$con/bind ||:
# fi
# done
# if [ -e /sys/bus/platform/drivers/efi-framebuffer/unbind ] ; then
# for i in 0 1 2 3 4 5 6 7 8 9 ; do
# echo efi-framebuffer.$i | tee /sys/bus/platform/drivers/efi-framebuffer/unbind ||:
# done
# fi
# ------------------------------------------------
# workaround for when the interface name changes
# ------------------------------------------------
if dmesg | grep -i mlx >/dev/null ; then
interface=$(dmesg | grep mlx | grep 'mlx.*.renamed')
interface=enp${interface##* enp}
interface=${interface%%: *}
else
# copper ethernet
interface=enp8s0
fi
if [ ! "$interface" ] ; then
interface=enp8s0
fi
cat > /etc/network/interfaces <<EOF
auto lo
iface lo inet loopback
iface $interface inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.100.50/24
gateway 192.168.100.1
bridge-ports $interface
bridge-stp off
bridge-fd 0
EOF
ifup -a
# -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# just to make sure this ran
date > /tmp/rclocal_last_run.txt