Commit b5dde94d authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Don't set K3S_DATA_DIR env var

This was only used to pass the bundled strongswan path through to the flannel ipsec backend, and is no longer needed. Ref: #719 Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent 086d9ca0
......@@ -193,9 +193,6 @@ func stageAndRun(dataDir, cmd string, args []string, calledAsInternal bool) erro
if err := os.Setenv("PATH", pathEnv); err != nil {
return err
}
if err := os.Setenv(version.ProgramUpper+"_DATA_DIR", dir); err != nil {
return err
}
cmd, err = exec.LookPath(cmd)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment