Merge pull request #10069 from anmaxvl/hpc-default-workingdir

fix default working directory `hostProcess`
This commit is contained in:
Maksym Pavlenko 2024-04-12 18:12:42 +00:00 committed by GitHub
commit 92900bf730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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() {