7.2. config

7.2.1. config host interface

rocks config 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 config host interface compute-0-0 iface=eth0

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

7.2.2. config host network

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

host

One host name.

examples

# rocks config host network compute-0-0

Output the network configuration for compute-0-0.