Remove duplicate ExecStartPre

This commit is contained in:
Ciprian Hacman 2019-12-15 20:41:21 +02:00
parent bbb6740f3f
commit a6696f8060
1 changed files with 0 additions and 1 deletions

View File

@ -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