spiegel_podman/pkg/machine
Christophe Fergeau 3fef531d96 applehv: return socket path from setupAPIForwarding
When starting podman machine with applehv, this warning is printed:
WARN[0025] API socket failed ping test

This is due to a bug in applehv.setupAPIForwarding which is not
returning the path to the socket, which causes `WaitAndPingAPI` to be
called with `""` as the socket path, triggering the warning.

This commit changes setupAPIForwarding to be similar to the
implementation in the other machine implementations.

I don't know how to add a test for this, but this can be handled in
podman-machine end to end tests by making sure that there are no
warnings when running `podman machine start` with applehv.

[NO NEW TESTS NEEDED]

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2024-01-16 17:06:22 +01:00
..
applehv applehv: return socket path from setupAPIForwarding 2024-01-16 17:06:22 +01:00
compression Refactor key machine objects 2023-11-07 08:30:44 -06:00
define Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
e2e Assign separate ports for each appleHV machine 2024-01-11 12:19:04 -05:00
hyperv Merge pull request #20878 from ashley-cui/winapiforwarding 2024-01-08 20:07:23 +00:00
ignition Merge pull request #21161 from cgwalters/machine-autologin-console 2024-01-13 03:45:38 +00:00
ocipull podman machine image from oci updates 2023-11-22 13:21:24 -06:00
os chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
provider Create pkg/machine/ignition package 2024-01-04 08:51:35 -05:00
qemu Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
sockets Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00
vmconfigs Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00
wsl Merge pull request #20878 from ashley-cui/winapiforwarding 2024-01-08 20:07:23 +00:00
cleanup.go Machine: Teardown on init failure 2023-10-12 09:26:06 -04:00
config.go machine: use GlobalDataDir helper 2024-01-05 10:29:36 -05:00
config_test.go machine: use GlobalDataDir helper 2024-01-05 10:29:36 -05:00
connection.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
errors.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
fcos.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fcos_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fedora_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fedora_windows.go WSL refactoring 2023-01-23 10:48:32 -06:00
gvproxy.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
keys.go Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
machine_common.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go Add API forwarding support for HyperV 2024-01-05 11:45:28 -05:00
ports.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
ports_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ports_windows.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
pull.go Create pkg/machine/ignition package 2024-01-04 08:51:35 -05:00
ssh.go fix(ssh): start machine failed to start with exit status 255 2023-06-16 19:39:38 +08:00
update.go Create pkg/machine/ignition package 2024-01-04 08:51:35 -05:00
volumes.go Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00