Files
podman/pkg/machine
Mario Loriedo d358e91817 Fix running machines with volumes containing spaces
Machines configured to mount local paths containing
spaces failed to start on Hyper-V and silently failed
to mount the folder on macOS/Linux.

On Windows/hyperv, where local paths are mounted
running a 9p client inside the VM, the local host
path needs to be surrounding with quotation marks
before using in a `podman machine ssh ...` command.

A similar behavior happened on Linux/QEMU where the
path was used in a SSH command to mount the folder
using virtiofs. Quoting the path when buidling the
command arguments fixed the problem.

On macOS/libkit,applehv the path was written as is
in a systemd unit name to instruct how to mount it.
Escaping space chars so that they are are parsed
successfully fixed this:
```diff
-- enable path with spaces.mount
++ enable path\x20with\x20spaces.mount
```

Fixes https://github.com/containers/podman/issues/25500

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-05-07 17:22:40 +00:00
..
2025-03-31 12:27:55 -07:00
2024-11-11 14:21:17 +01:00
2024-09-24 15:46:02 -04:00
2025-02-03 16:43:04 -05:00
2024-11-11 14:21:17 +01:00
2024-04-26 12:31:42 -04:00
2025-03-31 12:27:55 -07:00
2024-02-07 08:17:43 -06:00
2025-02-28 09:56:46 -05:00
2024-04-13 15:20:19 +08:00