Merge pull request #10069 from anmaxvl/hpc-default-workingdir
fix default working directory `hostProcess`
This commit is contained in:
commit
92900bf730
@ -858,6 +858,8 @@ func (c *criService) buildWindowsSpec(
|
||||
specOpts = append(specOpts, oci.WithProcessCwd(config.GetWorkingDir()))
|
||||
} else if imageConfig.WorkingDir != "" {
|
||||
specOpts = append(specOpts, oci.WithProcessCwd(imageConfig.WorkingDir))
|
||||
} else if cntrHpc {
|
||||
specOpts = append(specOpts, oci.WithProcessCwd(`C:\hpc`))
|
||||
}
|
||||
|
||||
if config.GetTty() {
|
||||
|
Loading…
Reference in New Issue
Block a user