seedling: Add /usr/local/system/providers to bus (#569)

This allows bundles to install providers in the persistent path
Signed-off-by: mudler <mudler@c3os.io>
This commit is contained in:
Ettore Di Giacinto 2022-12-20 17:22:09 +01:00 committed by Itxaka
parent 836a039e6b
commit 34c8ad827f

View File

@ -32,7 +32,7 @@ type Bus struct {
func (b *Bus) LoadProviders() {
wd, _ := os.Getwd()
b.Manager.Autoload("agent-provider", "/system/providers", wd).Register()
b.Manager.Autoload("agent-provider", "/system/providers", "/usr/local/system/providers", wd).Register()
}
func (b *Bus) Initialize() {