Update patch.sh
This commit is contained in:
parent
d0bd5dc752
commit
08c7b11e7f
9
patch.sh
9
patch.sh
|
|
@ -17,13 +17,16 @@ apt update
|
||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
echo "- Install ifupdown2..."
|
echo "- Install ifupdown2..."
|
||||||
apt install ifupdown2 -y
|
apt install ifupdown2 -y
|
||||||
|
|
||||||
echo "- Updating Name..."
|
echo "- Updating Name..."
|
||||||
x="Proxmox Virtual Environment"
|
x="Proxmox Virtual Environment"
|
||||||
y="Bennell IT 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"
|
w="Proxmox VE"
|
||||||
e="Bennell IT 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
|
sed -i -e "s/$w/$e/g" /usr/share/pve-manager/js/pvemanagerlib.js
|
||||||
|
|
||||||
|
echo "- Updating logon banner..."
|
||||||
|
/usr/bin/pvebanner
|
||||||
echo "- done!"
|
echo "- done!"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue