mirror of https://github.com/kubernetes/kops.git
Remove duplicate ExecStartPre
This commit is contained in:
parent
bbb6740f3f
commit
a6696f8060
|
@ -302,7 +302,6 @@ func (b *ContainerdBuilder) buildSystemdService(containerdVersionMajor int64, co
|
||||||
manifest.Set("Service", "EnvironmentFile", "/etc/sysconfig/containerd")
|
manifest.Set("Service", "EnvironmentFile", "/etc/sysconfig/containerd")
|
||||||
manifest.Set("Service", "EnvironmentFile", "/etc/environment")
|
manifest.Set("Service", "EnvironmentFile", "/etc/environment")
|
||||||
manifest.Set("Service", "ExecStartPre", "-/sbin/modprobe overlay")
|
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\"")
|
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
|
// kill only the containerd process, not all processes in the cgroup
|
||||||
|
|
Loading…
Reference in New Issue