From d62e278da947164f72cfceb94cae4e5859e746ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Tr=C3=A4uble?= Date: Tue, 16 Nov 2021 19:17:21 +0100 Subject: [PATCH] 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 --- RPiOS64-IA-Install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RPiOS64-IA-Install.sh b/RPiOS64-IA-Install.sh index ca20585..4e99c57 100644 --- a/RPiOS64-IA-Install.sh +++ b/RPiOS64-IA-Install.sh @@ -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 " =========================================================================================