podman/pkg/machine/define
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
..
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 feat: Add support for configuring swap in Podman machine 2025-04-29 12:20:24 +10:00
machine_artifact.go
machine_artifact_test.go
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 fix new usetesting lint issue 2025-02-12 11:32:17 +01:00
vmtype.go Add krun support to podman machine 2024-04-26 08:58:38 -05:00
vmtype_test.go pkg/machine: fix various linter warnings 2025-03-31 12:27:55 -07:00