mirror of
https://github.com/containers/podman.git
synced 2025-08-02 01:09:21 +08:00
Allow changing of CPUs, Memory, and Disk Size
Allow podman machine set to change CPUs, Memory and Disk size of a QEMU machine after its been created. Disk size can only be increased. If one setting fails to be changed, the other settings will still be applied. Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
@ -8,17 +8,29 @@ podman\-machine\-set - Sets a virtual machine setting
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Sets an updatable virtual machine setting.
|
||||
|
||||
Options mirror values passed to `podman machine init`. Only a limited
|
||||
subset can be changed after machine initialization.
|
||||
Change a machine setting.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
#### **--cpus**=*number*
|
||||
|
||||
Number of CPUs.
|
||||
Only supported for QEMU machines.
|
||||
|
||||
#### **--disk-size**=*number*
|
||||
|
||||
Size of the disk for the guest VM in GB.
|
||||
Can only be increased. Only supported for QEMU machines.
|
||||
|
||||
#### **--help**
|
||||
|
||||
Print usage statement.
|
||||
|
||||
#### **--memory**, **-m**=*number*
|
||||
|
||||
Memory (in MB).
|
||||
Only supported for QEMU machines.
|
||||
|
||||
#### **--rootful**=*true|false*
|
||||
|
||||
Whether this machine should prefer rootful (`true`) or rootless (`false`)
|
||||
|
Reference in New Issue
Block a user