initial
This commit is contained in:
1
proxmox/etc/kernel/cmdline
Normal file
1
proxmox/etc/kernel/cmdline
Normal file
@@ -0,0 +1 @@
|
||||
root=ZFS=rpool/ROOT/pve-1 quiet intel_iommu=on boot=zfs
|
||||
4
proxmox/etc/modprobe.d/blacklist.conf
Normal file
4
proxmox/etc/modprobe.d/blacklist.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
blacklist nouveau
|
||||
blacklist nvidia
|
||||
blacklist i2c_nvidia_gpu
|
||||
blacklist snd_hda_intel
|
||||
2
proxmox/etc/modprobe.d/kvm.conf
Normal file
2
proxmox/etc/modprobe.d/kvm.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
options kvm ignore_msrs=1 report_ignored_msrs=0 vfio_iommu_type1 allow_unsafe_interrupts=1
|
||||
|
||||
4
proxmox/etc/modprobe.d/pve-blacklist.conf
Normal file
4
proxmox/etc/modprobe.d/pve-blacklist.conf
Normal 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
|
||||
1
proxmox/etc/modprobe.d/vfio.conf.P600
Normal file
1
proxmox/etc/modprobe.d/vfio.conf.P600
Normal file
@@ -0,0 +1 @@
|
||||
options vfio-pci ids=10de:1cb2,10de:0fb9 disable_vga=1
|
||||
2
proxmox/etc/modprobe.d/vfio.conf.RTX3080
Normal file
2
proxmox/etc/modprobe.d/vfio.conf.RTX3080
Normal file
@@ -0,0 +1,2 @@
|
||||
options vfio-pci ids=10de:2216,10de:1aef disable_vga=1
|
||||
|
||||
13
proxmox/etc/network/interfaces
Normal file
13
proxmox/etc/network/interfaces
Normal 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
51
proxmox/etc/rc.local
Normal 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
|
||||
Reference in New Issue
Block a user