Merge pull request #25945 from ninja-quokka/podman_machine_swap

feat: Add support for configuring swap in Podman machine
This commit is contained in:
openshift-merge-bot[bot]
2025-05-02 13:21:48 +00:00
committed by GitHub
13 changed files with 81 additions and 17 deletions

View File

@ -104,6 +104,12 @@ if there is no existing remote connection configurations.
API forwarding, if available, follows this setting.
#### **--swap**, **-s**=*number*
Swap (in MiB). Note: 1024MiB = 1GiB.
Renders a `zram-generator.conf` file with zram-size set to the value passed to --swap
#### **--timezone**
Set the timezone for the machine and containers. Valid values are `local` or

View File

@ -50,6 +50,7 @@ Valid placeholders for the Go template are listed below:
| .RemoteUsername | VM Username for rootless Podman |
| .Running | Is machine running |
| .Stream | Stream name |
| .Swap | Allocated swap for machine |
| .UserModeNetworking | Whether machine uses user-mode networking |
| .VMType | VM type |