.nh .TH podman-machine-set 1 .SH NAME .PP podman-machine-set - Sets a virtual machine setting .SH SYNOPSIS .PP \fBpodman machine set\fP [\fIoptions\fP] [\fIname\fP] .SH DESCRIPTION .PP Change a machine setting. .PP Rootless only. .SH OPTIONS .SS \fB--cpus\fP=\fInumber\fP .PP Number of CPUs. Only supported for QEMU machines. .SS \fB--disk-size\fP=\fInumber\fP .PP Size of the disk for the guest VM in GB. Can only be increased. Only supported for QEMU machines. .SS \fB--help\fP .PP Print usage statement. .SS \fB--memory\fP, \fB-m\fP=\fInumber\fP .PP Memory (in MB). Only supported for QEMU machines. .SS \fB--rootful\fP .PP Whether this machine should prefer rootful (\fB\fCtrue\fR) or rootless (\fB\fCfalse\fR) container execution. This option will also update the current podman remote connection default if it is currently pointing at the specified machine name (or \fB\fCpodman-machine-default\fR if no name is specified). .PP Unlike [\fBpodman system connection default\fP] this option will also make the API socket, if available, forward to the rootful/rootless socket in the VM. .SH EXAMPLES .PP To switch the default VM \fB\fCpodman-machine-default\fR from rootless to rootful: .PP .RS .nf $ podman machine set --rootful .fi .RE .PP or more explicitly: .PP .RS .nf $ podman machine set --rootful=true .fi .RE .PP To switch the default VM \fB\fCpodman-machine-default\fR from rootful to rootless: .PP .RS .nf $ podman machine set --rootful=false .fi .RE .PP To switch the VM \fB\fCmyvm\fR from rootless to rootful: .PP .RS .nf $ podman machine set --rootful myvm .fi .RE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-machine(1)\fP .SH HISTORY .PP February 2022, Originally compiled by Jason Greene jason.greene@redhat.com \[la]mailto:jason.greene@redhat.com\[ra]