mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
Merge pull request #25945 from ninja-quokka/podman_machine_swap
feat: Add support for configuring swap in Podman machine
This commit is contained in:
@ -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
|
||||
|
@ -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 |
|
||||
|
||||
|
Reference in New Issue
Block a user