rocks report distro
Output the path prefix for the location of the Rocks distribution.
examples
Output the current path prefix to the distribution.
rocks report host bootflags [host...]
Output the kernel boot flags for a specific host
arguments
Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.
examples
Output the kernel boot flags for compute-0-0.
rocks report host dhcpd {host}
Output the DHCP server configuration file for a specific host.
arguments
Create a DHCP server configuration for the machine named 'host'. If no host name is supplied, then generate a DHCP configuration file for this host.
examples
Output the DHCP server configuration file for frontend-0-0.
rocks report host interface {host} [iface=string]
Output the network configuration file for a host's interface.
arguments
One host name.
parameters
Output a configuration file for this host's interface (e.g. 'eth0'). If no 'iface' parameter is supplied, then configuration files for every interface defined for the host will be output (and each file will be delineated by <file> and </file> tags).
examples
Output a network configuration file for compute-0-0's eth0 interface.
rocks report host network {host}
Outputs the network configuration file for a host (on RHEL-based machines, this is the contents of the file /etc/sysconfig/network).
arguments
One host name.
examples
Output the network configuration for compute-0-0.
rocks report script
Take STDIN XML input and create a shell script that can be executed on a host.
examples
Take the network interface XML output from 'rocks report host interface' and create a shell script.
rocks report version
Output the version of Rocks.
examples
Output the current Rocks version.