mirror of https://github.com/k3s-io/k3s
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: Brad Davidson <brad.davidson@rancher.com>pull/10650/head
parent
93fc189778
commit
55211a466f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue