mirror of https://github.com/k3s-io/k3s
Update pkg/agent/config/config.go
Co-Authored-By: juliens <julien.salleyron@gmail.com>pull/141/head
parent
164b89bce4
commit
4475456a83
|
@ -161,7 +161,7 @@ func get(envInfo *cmds.Agent) (*config.Node, error) {
|
|||
ContainerRuntimeEndpoint: envInfo.ContainerRuntimeEndpoint,
|
||||
}
|
||||
nodeConfig.LocalAddress = localAddress(controlConfig)
|
||||
nodeConfig.Images = "/var/lib/rancher/k3s/agent/images"
|
||||
nodeConfig.Images = filepath.Join(envInfo.DataDir, "images")
|
||||
nodeConfig.AgentConfig.NodeIP = nodeIP
|
||||
nodeConfig.AgentConfig.NodeName = nodeName
|
||||
nodeConfig.AgentConfig.ClusterDNS = controlConfig.ClusterDNS
|
||||
|
|
Loading…
Reference in New Issue