====== Proxmox VE - Post-Install Tasks ======
FIXME Work in progress
===== Remove Enterprise Repository =====
rm /etc/apt/sources.list.d/pve-enterprise.list
rm /etc/apt/sources.list.d/ceph.list
===== Add No-Subscription Repository =====
:!: This is NOT recommended for production use
More information: [[https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_enterprise_repo|]]
More information: [[https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo|]]
vi /etc/apt/sources.list.d/pve-no-subscription.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
https://docs.ceph.com/en/latest/releases/
vi /etc/apt/sources.list.d/ceph-no-subscription.list
deb http://download.proxmox.com/debian/ceph-squid bookworm no-subscription
possible via GUI, disable
===== Add non-free Components =====
vi /etc/apt/sources.list
deb http://ftp.ch.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://ftp.ch.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
deb http://security.debian.org bookworm-security main contrib non-free non-free-firmware
===== Install Microcode =====
This step requires that the non-free-firmware component is available.
- install microcode (from non-free debian repo) intel-microcode (Intel CPUs) or amd64-microcode (AMD CPUs)
bookworm/non-free-firmware
apt install amd64-microcode
apt install intel-microcode
apt install $(awk '/^vendor_id/{if($NF == "AuthenticAMD") {$pkg = "amd64"} else if($NF == "GenuineIntel") {$pkg = "intel"}; printf "%s-microcode\n",$pkg; exit}' /proc/cpuinfo)
===== Install Locales =====
dpkg-reconfigure locales
===== Install Packages =====
===== Set Alternatives =====
update-alternatives --config editor
===== Enable PCI Passthrough =====
[[https://pve.proxmox.com/wiki/PCI_Passthrough|PCI Passthrough]]
===== Set MOTD =====
>/etc/motd
===== Enable GPU Passthrough =====
[[https://pve.proxmox.com/wiki/PCI_Passthrough#GPU_passthrough|GPU_passthrough]]
# -------------------------------------------------------
x remove enterprise repo (possible via GUI, disable)
- add non-subscription repo (possible via GUI)
- update-alternatives? In case nano is installed
- enable notifications (add mail server SMTP)
- Cert via ACME?
- install software vim, zabbix-agent2, ...
- customize .bashrc