[UI] Integrate Custom UI driver in rancher-server

Hi,

We have developed a new Custom UI driver for rancher and we are wondering how we could integrate this directly in rancher-server. To be more clear on this, we would like to run rancher-server and our driver would be already available and active when adding hosts.

There is a folder in rancher-ui repository with a list of machine drivers there, I guess we would need to add our own variant there as well and rebuild rancher-server image but it isn’t clear how to enable it. Any pointers on how this can be done?

Many thanks,
Bruno.

https://github.com/rancher/ui/tree/master/app/components/machine

After some digging on rancher codebase I found out that you can create a custom catalog and insert your machine driver there, just like here: