mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Expose rootless state dir under ~/.rancher/k3s/rootless
Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com>
This commit is contained in:
parent
e3b237fc35
commit
14c6c63b30
@ -132,11 +132,6 @@ func createParentOpt(driver portDriver, stateDir string, enableIPv6 bool) (*pare
|
||||
return nil, errors.Wrapf(err, "failed to mkdir %s", stateDir)
|
||||
}
|
||||
|
||||
stateDir, err := os.MkdirTemp("", "rootless")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
driver.SetStateDir(stateDir)
|
||||
|
||||
opt := &parent.Opt{
|
||||
|
Loading…
Reference in New Issue
Block a user