Add Provider to MachineConfig
Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
This commit is contained in:
parent
2b1aa61380
commit
2a658cadb2
|
|
@ -747,6 +747,12 @@ tell the container engines to mount the volume readonly.
|
|||
|
||||
On Mac, the default volumes are: `"/Users:/Users", "/private:/private", "/var/folders:/var/folders"`
|
||||
|
||||
**provider**=""
|
||||
|
||||
Virtualization provider to be used for running a podman-machine VM. Empty value
|
||||
is interpreted as the default provider for the current host OS. On Linux/Mac
|
||||
default is `QEMU` and on Windows it is `WSL`.
|
||||
|
||||
# FILES
|
||||
|
||||
**containers.conf**
|
||||
|
|
|
|||
|
|
@ -609,7 +609,7 @@ type MachineConfig struct {
|
|||
CPUs uint64 `toml:"cpus,omitempty,omitzero"`
|
||||
// DiskSize is the size of the disk in GB created when init-ing a podman-machine VM
|
||||
DiskSize uint64 `toml:"disk_size,omitempty,omitzero"`
|
||||
// MachineImage is the image used when init-ing a podman-machine VM
|
||||
// Image is the image used when init-ing a podman-machine VM
|
||||
Image string `toml:"image,omitempty"`
|
||||
// Memory in MB a machine is created with.
|
||||
Memory uint64 `toml:"memory,omitempty,omitzero"`
|
||||
|
|
@ -617,6 +617,8 @@ type MachineConfig struct {
|
|||
User string `toml:"user,omitempty"`
|
||||
// Volumes are host directories mounted into the VM by default.
|
||||
Volumes []string `toml:"volumes"`
|
||||
// Provider is the virtualization provider used to run podman-machine VM
|
||||
Provider string `toml:"provider,omitempty"`
|
||||
}
|
||||
|
||||
// Destination represents destination for remote service
|
||||
|
|
|
|||
|
|
@ -713,6 +713,11 @@ default_sysctls = [
|
|||
# "$HOME:$HOME",
|
||||
#]
|
||||
|
||||
# Virtualization provider used to run Podman machine.
|
||||
# If it is empty or commented out, the default provider will be used.
|
||||
#
|
||||
#provider = ""
|
||||
|
||||
# The [machine] table MUST be the last entry in this file.
|
||||
# (Unless another table is added)
|
||||
# TOML does not provide a way to end a table other than a further table being
|
||||
|
|
|
|||
|
|
@ -630,6 +630,11 @@ default_sysctls = [
|
|||
# "$HOME:$HOME",
|
||||
#]
|
||||
|
||||
# Virtualization provider used to run Podman machine.
|
||||
# If it is empty or commented out, the default provider will be used.
|
||||
#
|
||||
#provider = ""
|
||||
|
||||
# The [machine] table MUST be the last entry in this file.
|
||||
# (Unless another table is added)
|
||||
# TOML does not provide a way to end a table other than a further table being
|
||||
|
|
|
|||
Loading…
Reference in New Issue