Update apply.sh

This commit is contained in:
sbennell 2020-01-10 19:56:52 +11:00 committed by GitHub
parent 0f3c85e1f3
commit f2b0d8b145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -16,3 +16,13 @@ function pve_patch() {
pve_patch
echo "- Updating logon banner..."
/usr/bin/pvebanner
echo "- Updating Name..."
x="Proxmox Virtual Environment"
y="Bennell IT Virtual Environment"
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
w="Proxmox VE"
e="Bennell IT VE "
sed -i -e "s/$w/$e/g" /usr/share/pve-manager/js/pvemanagerlib.js