Update apply.sh

This commit is contained in:
sbennell 2020-01-10 20:18:08 +11:00 committed by GitHub
parent 30df94c456
commit e3366a83e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -16,3 +16,12 @@ function pve_patch() {
pve_patch pve_patch
echo "- Updating logon banner..." echo "- Updating logon banner..."
/usr/bin/pvebanner /usr/bin/pvebanner
echo "- Updating Name..."
x="Proxmox Virtual Environment"
y="Bennell IT Virtual Environment"
w="Proxmox VE"
e="Bennell IT VE "
sed -i -e "s/$x/$y/g" /usr/share/pve-manager/index.html.tpl
sed -i -e "s/$x/$y/g" /usr/share/pve-manager/touch/index.html.tpl
sed -i -e "s/$w/$e/g" /usr/share/pve-manager/js/pvemanagerlib.js