1
0
mirror of https://github.com/pimox/pimox7.git synced 2025-07-09 22:03:42 +00:00

replace the default no sub message

I don't think it is possible to get a subscription for the RPi,
so it is neat to have a reminder that this is not an official proxmox build
This commit is contained in:
Joachim Träuble
2021-11-16 19:17:21 +01:00
committed by GitHub
parent 0892dd5fc3
commit d62e278da9

View File

@ -172,6 +172,13 @@ iface vmbr0 inet static
bridge-stp off
bridge-fd 0 \n" > /etc/network/interfaces.new
#### CONFIGURE PIMOX7 BANNER #############################################################################################################
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.auto.backup
SEARCH="return Ext.String.format('"
#### PLACE HOLDER BANNER BEGINN --> #### LINE 1 #### #### LINEBREAK #### -- #### LINE 2 #####
REPLACE="return Ext.String.format(' This is a unofficial development build of PVE7 - PIMOX7 - https://github.com/pimox/pimox7 Build to run a PVE7 on the RPi4. ! ! ! NO GUARANTEE NOT OFFICCIAL SUPPORTED ! ! ! ');"
sed -i "s|$SEARCH.*|$REPLACE|" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
### FINAL MESSAGE ########################################################################################################################
printf "
=========================================================================================