r/Proxmox•
scara1963

Proxmox 9 Post Install Script

Guide

This won't run, and even editing script to get it to run, things are way too different for it to fix. Incase anyone wishes to do what little the script does?, here is the meat of it.

!Post Install:!<

!Disable pve-ha-lrm and pve-ha-crm if you have a single server. Those services are only needed in clusters, and they eat up storage rapidly.!<

!To check their status:!<

!systemctl status pve-ha-lrm pve-ha-crm!<

!systemctl status corosync!<

!Disable:!<

!systemctl disable -q --now pve-ha-lrm!<

!systemctl disable -q --now pve-ha-crm!<

!systemctl disable -q --now corosync!<

!Check 'pve-enterprise' repository'!<

!nano /etc/apt/sources.list.d/pve-enterprise.sources!<

!Types: deb!<

!URIs: https://enterprise.proxmox.com/debian/pve!<

!Suites: trixie!<

!Components: pve-enterprise!<

!Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg!<

!Set 'enabled' to TRUE/FALSE!<

!or change 'pve-enterprise' to 'pve-no-subscription'!<

!Check 'pve-no-subscription' repository'!<

!nano /etc/apt/sources.list.d/proxmox.sources!<

!Types: deb!<

!URIs: http://download.proxmox.com/debian/pve!<

!Suites: trixie!<

!Components: pve-no-subscription!<

!Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg!<

!Set 'enabled' to TRUE/FALSE!<

!Check 'Ceph package repository'!<

!nano /etc/apt/sources.list.d/ceph.sources!<

!Types: deb!<

!URIs: http://download.proxmox.com/debian/ceph-squid!<

!Suites: trixie!<

!Components: enterprise!<

!Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg!<

!Set 'enabled' to TRUE/FALSE!<

!or change 'enterprise' to 'no-subscription'!<

!Disable subscription nag!<

!echo "DPkg::Post-Invoke { \"if [ -s /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js ] && ! grep -q -F 'NoMoreNagging' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; then echo 'Removing subscription nag from UI...'; sed -i '/data\.status/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; fi\" };" >/etc/apt/apt.conf.d/no-nag-script!<

Posted Aug 7, 2025, 12:49 AM UTC

3912
Loading comments…