4.12. set

4.12.1. set host vm

rocks set host vm {host} [disk=string] [disksize=string] [mem=string] [physnode=string] [slice=string] [virt-type=string]

Change the VM configuration for a specific VM.

arguments

host

One or more VM host names.

parameters

[disk=string]

A VM disk specification. More than one disk can be supplied. Each disk specification must separated by a space.

[disksize=string]

The size of the VM disk in gigabytes.

[mem=string]

The amount of memory in megabytes to assign to this VM.

[physnode=string]

The physical machine this VM should run on.

[slice=string]

The slice ID for this VM.

[virt-type=string]

Set the virtualization type for this VM. This can be 'para' or 'hardware'.

examples

# rocks set host vm compute-0-0-0 mem=4096

Change the memory allocation for VM compute-0-0-0 to 4 GB.