blob: 3e8e55123869a257929efa266a434816b630ba13 (
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
|
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(-)
Index: import/pkg/agent/config/config.go
===================================================================
--- import.orig/pkg/agent/config/config.go
+++ import/pkg/agent/config/config.go
@@ -577,7 +577,7 @@ func get(ctx context.Context, envInfo *c
nodeConfig.NoFlannel = nodeConfig.FlannelBackend == config.FlannelBackendNone
if !nodeConfig.NoFlannel {
- 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")
}
|