From a6696f8060d218e925672a251d17a53b04eb862f Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sun, 15 Dec 2019 20:41:21 +0200 Subject: [PATCH] Remove duplicate ExecStartPre --- nodeup/pkg/model/containerd.go | 1 - 1 file changed, 1 deletion(-) diff --git a/nodeup/pkg/model/containerd.go b/nodeup/pkg/model/containerd.go index 4e535a23b5..eb11a11ca5 100644 --- a/nodeup/pkg/model/containerd.go +++ b/nodeup/pkg/model/containerd.go @@ -302,7 +302,6 @@ func (b *ContainerdBuilder) buildSystemdService(containerdVersionMajor int64, co manifest.Set("Service", "EnvironmentFile", "/etc/sysconfig/containerd") manifest.Set("Service", "EnvironmentFile", "/etc/environment") manifest.Set("Service", "ExecStartPre", "-/sbin/modprobe overlay") - manifest.Set("Service", "ExecStartPre", "-/sbin/modprobe overlay") manifest.Set("Service", "ExecStart", "/usr/bin/containerd -c /etc/containerd/config-kops.toml \"$CONTAINERD_OPTS\"") // kill only the containerd process, not all processes in the cgroup