Change proxmox logo and link

I previously had luck with the following but it no longer works on pve 9, maybe someone else can use this to figure out 9 if I don't

sed -i "s|href: 'https://www.proxmox.com',|href: '/',|g" "/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js"

edit- maybe it does still work, not sure, it may have been a stale cache or something or I didn't systemctl restart pveproxy.service (though I don't know if this is 100% necessary)
 
Last edited:
I previously had luck with the following but it no longer works on pve 9, maybe someone else can use this to figure out 9 if I don't

sed -i "s|href: 'https://www.proxmox.com',|href: '/',|g" "/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js"

edit- maybe it does still work, not sure, it may have been a stale cache or something or I didn't systemctl restart pveproxy.service (though I don't know if this is 100% necessary)
after a few updates, I figured I would update this with a definitive one-liner that does consistently work for me. This updates the url tied to the top left corner logo to the root of the web server, so if you have a FQDN it will use that, or if you have just an IP, it will use that as well.

Bash:
sed -i "s|href: 'https://www.proxmox.com',|href: '/',|g" "/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js" && systemctl restart pveproxy.service
 
Last edited: