8.9. report

8.9.1. report distro

rocks report distro

Output the path prefix for the location of the Rocks distribution.

examples

$ rocks report distro

Output the current path prefix to the distribution.

8.9.2. report host bootflags

rocks report host bootflags [host...]

Output the kernel boot flags for a specific host

arguments

[host]

Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.

examples

$ rocks report host bootflags compute-0-0

Output the kernel boot flags for compute-0-0.

8.9.3. report host dhcpd

rocks report host dhcpd {host}

Output the DHCP server configuration file for a specific host.

arguments

host

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

$ rocks report host dhcpd frontend-0-0

Output the DHCP server configuration file for frontend-0-0.

8.9.4. report host interface

rocks report host interface {host} [iface=string]

Output the network configuration file for a host's interface.

arguments

host

One host name.

parameters

[iface=string]

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

$ rocks report host interface compute-0-0 iface=eth0

Output a network configuration file for compute-0-0's eth0 interface.

8.9.5. report host network

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

host

One host name.

examples

$ rocks report host network compute-0-0

Output the network configuration for compute-0-0.

8.9.6. report script

rocks report script

Take STDIN XML input and create a shell script that can be executed on a host.

examples

$ rocks report host interface compute-0-0 | rocks report script

Take the network interface XML output from 'rocks report host interface' and create a shell script.

8.9.7. report version

rocks report version

Output the version of Rocks.

examples

$ rocks report version

Output the current Rocks version.