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
One or more VM host names.
parameters
A VM disk specification. More than one disk can be supplied. Each disk specification must separated by a space.
The size of the VM disk.
The amount of memory in megabytes to assign to this VM.
The physical machine this VM should run on.
The slice ID for this VM.
Set the virtualization type for this VM. This can be 'para' or 'hardware'.
examples
Change the memory allocation for VM compute-0-0-0 to 4 GB.
rocks set host vm boot {host...} [installprofile=string] [runprofile=string]
Set the install/run bootprofile for a vm host. This bootprofile defines what configuration is used to boot a vm in its running and/or installing configuration
arguments
One or more host names.
parameters
The label name for the bootprofile to use when installing a node. For a list of available bootprofiles, execute: 'rocks list host vm bootprofile <hostname>'. It is an error to set the install profile to None.
The label name for the bootprofile to use when a node is running' normally. Usually this is empty, and the kernel defined inside of the VM will be used for booting. For a list of bootprofiles, execute: 'rocks list host vm bootprofile <hostname>'. Set this string to 'None' to clear the run profile
examples
Set the 'install' bootprofile for compute-0-0-0, when installing it.
clear the 'run' runprofile for compute-0-0-0, and use the kernel defined in the VM image,
rocks set host vm bootprofile [host...] [args=string] [kernel=string] [profile=string] [ramdisk=string]
Add a boot profile for virtual a host.
arguments
List of hosts to add profile definitions. If no hosts are listed, then the global definition for 'profile=name' is added.
parameters
The second line for a pxelinux definition (e.g., append ks initrd=initrd.img ramdisk_size=150000 lang= devfs=nomount pxe kssendmac selinux=0)
URL for the kernel associated with this profile (e.g., 'file:///boot/kickstart/xen/vmlinuz')
Label name for the boot profile. You can see the profile label names by executing: 'rocks list host vm bootprofile [host(s)]'.
URL for the kernel associated with this profile (e.g., 'file:///boot/kickstart/xen/initrd-xen.iso.gz')
examples
Change the kernel to vmlinuz-experimental for the global install profile