FoxieHazmat / xenorchestraSourceBannerFix

This script fixes the XOA warning banner added in v5.34
2 stars 3 forks source link

anychance you have an update to make this work with newer versions? #1

Open pageb018 opened 4 years ago

pageb018 commented 4 years ago

tried the current script, but it seems to fail.

thanks!

megabert commented 4 years ago

It's really simple to do it manually:

pageb018 commented 4 years ago
    Awesome. Thank you! 

    Brian, from mobile.

On Thu, Mar 26, 2020 at 1:42 PM -0400, "megabert" notifications@github.com wrote:

It's really simple to do it manually:

stop the xo-server navigate to the file xen-orchestra/packages/xo-web/src/xo-app/index.js edit the file and find this code-fragement:

if (+process.env.XOA_PLAN === 5) {
  this.displayOpenSourceDisclaimer()
}

delete these 3 lines get back to the top-level of the xen-orchestra checkout(=> be in directory xen-orchestra) run yarn build start your xo-server again the disclaimer should be gone now

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

megabert commented 4 years ago

Here's a script, that works with 5.44.1. It's written to be robust, maybe it'll work for future versions:

https://github.com/megabert/xenorchestraSourceBannerFix