Hostsvc/rsrc/vm config set

From VI-Toolkit
Jump to navigation Jump to search

hostsvc/rsrc/vm_config_set

Usage: vm_config_set [OPTIONS] vmCfgPath

Update the configuration of the specified virtual machine.

Options:

  --cpu-min=int
      CPU minimum (in MHz).

  --cpu-min-expandable=bool
      Can pool borrow CPU resources from parent?

  --cpu-max=int
      CPU maximum (in MHz).

  --cpu-shares=string
      CPU shares (low/normal/high/<custom>).

  --mem-min=int
      Memory minimum (in MB).

  --mem-min-expandable=bool
      Can pool borrow memory resources from parent?

  --mem-max=int
      Memory maximum (in MB).

  --mem-shares=string
      Memory shares (low/normal/high/<custom>).