spiegel_podman/pkg/machine
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
..
applehv machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
compression Remove xz unit tests as they are flaky 2024-02-28 15:37:15 +01:00
connection Resurrect auto-port reassignment, but for all providers 2024-03-04 23:55:36 -06:00
define machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
e2e machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
env Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
hyperv machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
ignition Resurrect auto-port reassignment, but for all providers 2024-03-04 23:55:36 -06:00
lock podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ocipull pkg/machine: fix relative DefaultPolicyJSONPath 2024-03-07 12:22:48 +01:00
os Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
ports Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
provider wsl - wip 2024-02-11 12:58:11 -06:00
proxyenv machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
qemu machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
shim machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
sockets Extract waitForGvProxy into shared utility function 2024-02-19 18:00:00 +02:00
stdpull wsl - wip 2024-02-11 12:58:11 -06:00
vmconfigs machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
wsl machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go Merge pull request #21918 from tnk4on/fix-wrong-units-size-return 2024-03-06 13:55:56 +00:00
config_test.go Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
fedora_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fedora_windows.go Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
gvproxy.go pkg/machine: ignore gvproxy pidfile not exists error 2024-02-22 12:39:20 +01:00
gvproxy_unix.go Move ignition functions into Containerfiles 2024-02-28 16:05:50 -06:00
gvproxy_windows.go Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
keys.go Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
machine_common.go Complete WSL implementation, refactor a few areas 2024-02-11 12:58:11 -06:00
machine_unix.go Complete WSL implementation, refactor a few areas 2024-02-11 12:58:11 -06:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
pull.go Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
ssh_unix.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
volumes.go Bump Go module to v5 2024-02-08 09:35:39 -05:00