Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/machine: fix relative DefaultPolicyJSONPath
When we set a relative path (i.e. ".") it should be resolved next to binary so we need to get the base dir. If we join it directly like it did before you get a path like .../podman/policy.json where podman is the podman executable so it is not a directory and thus could not contain the policy.json file. ref #21964 Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information