spiegel_podman/pkg/machine/ocipull
Paul Holzinger 2ba3a2d56d
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 <pholzing@redhat.com>
2024-03-07 12:22:48 +01:00
..
oci.go Allow podman machine to download from oci registry 2024-02-12 15:19:34 -06:00
ociartifact.go machine init: print output to improve UX 2024-03-04 14:46:38 +01:00
ociartifact_test.go Allow podman machine to download from oci registry 2024-02-12 15:19:34 -06:00
ocidir.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
policy.go pkg/machine: fix relative DefaultPolicyJSONPath 2024-03-07 12:22:48 +01:00
policy.json pkg/machine/ocipull: add default policy.json file 2024-02-27 15:29:59 +01:00
policy_unix.go pkg/machine/ocipull: add custom policy.json location 2024-02-27 15:29:58 +01:00
policy_windows.go pkg/machine/ocipull: add custom policy.json location 2024-02-27 15:29:58 +01:00
pull.go pkg/machine/ocipull: add custom policy.json location 2024-02-27 15:29:58 +01:00
source.go Fix small bug in ocipull 2024-02-14 12:37:18 -06:00