rocks config 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 config 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.