blob: 8205d7353e02af5361d1ffd102bf6a90cbc6ca48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 4faf68d68c97cfd10947e1152f711acc59f39647 Mon Sep 17 00:00:00 2001
From: Erik Jansson <erikja@axis.com>
Date: Wed, 16 Oct 2019 15:07:48 +0200
Subject: [PATCH] Finding host-local in /usr/libexec
Upstream-status: Inappropriate [embedded specific]
Signed-off-by: <erikja@axis.com>
---
pkg/agent/config/config.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/agent/config/config.go b/pkg/agent/config/config.go
index b4296f360a..6af9dab895 100644
--- a/pkg/agent/config/config.go
+++ b/pkg/agent/config/config.go
@@ -308,7 +308,7 @@ func get(envInfo *cmds.Agent) (*config.Node, error) {
return nil, err
}
- hostLocal, err := exec.LookPath("host-local")
+ hostLocal, err := exec.LookPath("/usr/libexec/cni/host-local")
if err != nil {
return nil, errors.Wrapf(err, "failed to find host-local")
}
--
2.11.0
|