mirror of https://github.com/kubernetes/kops.git
Merge pull request #3134 from johanneswuerbach/configure-docker-on-coreos
Automatic merge from submit-queue CoreOS: Ensure docker configuration is loaded
This commit is contained in:
commit
75c6de3ec4
|
@ -476,6 +476,10 @@ func (b *DockerBuilder) buildContainerOSConfigurationDropIn(c *fi.ModelBuilderCo
|
|||
Path: "/etc/systemd/system/docker.service.d/10-kops.conf",
|
||||
Contents: fi.NewStringResource(contents),
|
||||
Type: nodetasks.FileType_File,
|
||||
OnChangeExecute: [][]string{
|
||||
{"systemctl", "daemon-reload"},
|
||||
{"systemctl", "restart", "docker.service"},
|
||||
},
|
||||
}
|
||||
c.AddTask(t)
|
||||
|
||||
|
|
Loading…
Reference in New Issue