spiegel_podman/pkg/machine/vmconfigs
Lewis Roy 7b1055a5fb
feat: Add support for configuring swap in Podman machine
Add `--swap` argument to `podman machine init` command.

Passing an int64 value to this flag will trigger the Podman machine
ignition file to be generated with a zram-generator.conf file containing
the --swap value as the zram-size argument.

This file is read by the zram-generator systemd service on boot
resulting in a zram swap device being created.

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

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-04-29 12:20:24 +10:00
..
arch.go Prune FCOS related code 2024-02-15 21:05:17 -06:00
arch_test.go Prune FCOS related code 2024-02-15 21:05:17 -06:00
config.go feat: Add support for configuring swap in Podman machine 2025-04-29 12:20:24 +10:00
config_common.go Add krun support to podman machine 2024-04-26 08:58:38 -05:00
config_darwin.go Add krun support to podman machine 2024-04-26 08:58:38 -05:00
config_windows.go Fix compilation issues in QEMU machine files (Windows platform) 2024-11-27 17:23:08 +02:00
machine.go feat: Add support for configuring swap in Podman machine 2025-04-29 12:20:24 +10:00
machine_unix.go Implement publishing API UNIX socket on Windows platforms 2024-08-31 17:27:05 +03:00
machine_windows.go Implement publishing API UNIX socket on Windows platforms 2024-08-31 17:27:05 +03:00
sockets.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
sockets_darwin.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
volumes.go Podman 5 machine refactor - applehv 2024-02-07 09:18:45 -06:00
volumes_unix.go [CI:MACHINE]Podman5 QEMU refactor 2024-02-07 09:18:36 -06:00
volumes_windows.go [CI:MACHINE]Podman5 QEMU refactor 2024-02-07 09:18:36 -06:00