Update patch.sh

This commit is contained in:
sbennell 2020-01-10 20:15:28 +11:00 committed by GitHub
parent d0bd5dc752
commit 08c7b11e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -17,13 +17,16 @@ apt update
apt upgrade -y
echo "- Install ifupdown2..."
apt install ifupdown2 -y
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/$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
echo "- Updating logon banner..."
/usr/bin/pvebanner
echo "- done!"