From 6cd254b8186a85b7c85158a399498b538a4aa6f0 Mon Sep 17 00:00:00 2001 From: Dustin B Date: Wed, 1 May 2019 12:29:01 -0400 Subject: [PATCH 1/2] Banner Removal --- xo_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xo_install.sh b/xo_install.sh index 34f086f..9ff1522 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -46,6 +46,9 @@ ln -s /usr/bin/node /usr/local/bin/node /usr/bin/git clone -b $xo_branch $xo_server +# Removing the "Built from Source - no support banner +sed -i '225,235 d' src/xo-app/index.js + # Patch to allow config restore sed -i 's/< 5/> 0/g' /opt/xen-orchestra/packages/xo-web/src/xo-app/settings/config/index.js From f6a19807efcc70ae6fc89e9226b1fbdf5db7dfd4 Mon Sep 17 00:00:00 2001 From: Dustin B Date: Wed, 1 May 2019 12:41:41 -0400 Subject: [PATCH 2/2] Update xo_install.sh --- xo_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xo_install.sh b/xo_install.sh index 9ff1522..90fb255 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -47,7 +47,7 @@ ln -s /usr/bin/node /usr/local/bin/node /usr/bin/git clone -b $xo_branch $xo_server # Removing the "Built from Source - no support banner -sed -i '225,235 d' src/xo-app/index.js +sed -i '225,235 d' /opt/xen-orchestra/packages/xo-web/src/xo-app/index.js # Patch to allow config restore sed -i 's/< 5/> 0/g' /opt/xen-orchestra/packages/xo-web/src/xo-app/settings/config/index.js