spiegel_podman/pkg/machine/define
Brent Baude 4eeaedfe13 Prevent two podman machines running on darwin
As issue #25112 points out, it was possible to start a machine on one of the darwin providers and then switch providers and start another one with a different name.  This PR firstly prevents that use which is a forbidden use case.

Secondarily, performed some minor cleanup on the error messages being used so that the error would be specific to this condition.

This bug fix is for darwin only.  In the case of Windows, we probably need to answer the question I raised in #24067 first, which is whether we want to stop allowing WSL to run multiple machines.

Fixes #25112

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-01-29 13:24:18 -06:00
..
config.go Move DefaultMachineName to pkg/machine/define 2024-09-24 15:36:14 -04:00
errors.go Prevent two podman machines running on darwin 2025-01-29 13:24:18 -06:00
image_format.go zstd now default compression for podman machine 2024-02-20 14:26:41 -06:00
image_format_test.go zstd now default compression for podman machine 2024-02-20 14:26:41 -06:00
initopts.go Remove the unused machine volume-driver 2024-06-30 20:25:59 +02:00
machine_artifact.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
machine_artifact_test.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
setopts.go machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
state.go Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00
usb.go Build tag out QEMU for Darwin 2024-02-15 15:53:06 -05:00
vmfile.go Don't read full VM File before decompressing 2024-03-07 10:11:11 +01:00
vmfile_test.go bump go to 1.22 2024-09-03 15:14:15 +02:00
vmtype.go Add krun support to podman machine 2024-04-26 08:58:38 -05:00
vmtype_test.go Allow podman machine to download from oci registry 2024-02-12 15:19:34 -06:00