Skip to content

Instantly share code, notes, and snippets.

@ngoc-minh-do
Created February 20, 2025 14:51
Show Gist options
  • Select an option

  • Save ngoc-minh-do/e28f85880f2dbf0583e5fc9e960d11e9 to your computer and use it in GitHub Desktop.

Select an option

Save ngoc-minh-do/e28f85880f2dbf0583e5fc9e960d11e9 to your computer and use it in GitHub Desktop.

Proxmox post install

Correct sources to update and install packages

cat <<EOF >/etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib
deb http://deb.debian.org/debian bookworm-updates main contrib
deb http://security.debian.org/debian-security bookworm-security main contrib
EOF

Disabling pve-enterprise repository

cat <<EOF >/etc/apt/sources.list.d/pve-enterprise.list
# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
EOF

Enabling pve-no-subscription repository

cat <<EOF >/etc/apt/sources.list.d/pve-install-repo.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
EOF

Disable No Valid Subscription dialog

sudo sed -i '/.*data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
sudo sed -i '/.*data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/pve-manager/touch/pvemanager-mobile.js

Ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment