Skip to content

Instantly share code, notes, and snippets.

@TheHarold
Last active February 9, 2024 20:33
Show Gist options
  • Save TheHarold/f3086ae7ea619ce6dbeb0713787db9da to your computer and use it in GitHub Desktop.
Save TheHarold/f3086ae7ea619ce6dbeb0713787db9da to your computer and use it in GitHub Desktop.
useful_proxmox.md

The below are the commands you can run on a new proxmox setup

sed -i 's/^/#/' /etc/apt/sources.list.d/pve-enterprise.list
sed -i 's/.data.status.toLowerCase() !== '\''active'\''/.data.status.toLowerCase() == '\''active'\''/g' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment