NAME

lcfg-network - LCFG network component

DESCRIPTION

This component configures the /etc/sysconfig/network-scripts configuration files and /etc/hosts.

offline

This resource, if set to yes, stops the object from making any configuration changes when the start method is invoked. This is handy for portables where the run method is user invoked to make configuration changes.

interfaces

A list of ethernet interface names. Each interface must have the following tagged resources.

hostname_interface

This resource specifies the hostname for this interface.

device_interface

This resource specifies the ether device for this interface. The default value of auto indicates that the ether device is set to the tag key interface.

physdev_interface

This resource is used when configuring VLAN interfaces to identify the physical device associated with this VLAN interface.

ipaddr_interface

This resource specifies the IP address for this interface. The default value of auto indicates that the component should attempt to resolve the IP address from then hostname for this interface. If this resource is set to DHCP the interface is configured to use DHCP.

netmask_interface

This resource specifies the netmask for this interface.

network_interface

This resource specifies the network for this interface. The default value of auto indicates that the component should derive the network from the IP address. A class C address is currently assumed.

broadcast_interface

This resource specifies the broadcast address for this interface. The default value of auto indicates that the component should derive the broadcast address from the IP address. A class C address is currently assumed.

onboot_interface

This resource specifies whether this interface should be configured at boot time. The default value is "yes".

bringup_interface

This resource specifies whether this interface should be brought up manually by the network component at start time. This is useful for interfaces that aren't prepared at system boot time (eg VLANs). The default value is "no".

hostsorder_interface

This resource specifies which form of hostname is entered into the /etc/hosts file. The value full specifies that the fully qualified name should be entered, while the value short specifies that just the simple hostname should be entered. Both values can be specified, with order being significant.

vlan_interface

This resource, if set to yes, will identify this interface as a VLAN interface.

hwaddr_interface

This resource can be used to hardwire a particular network card to an interface. This is required for multi-homed machines.

master_interface

This resource, if set, indicates that this particular interface is a slave of a bonding interface. The value specifies the master bonding interface (eg bond0).

reorderhdr_interface

This resource can be used to enable ethernet header reordering for the given interface.

persistentdhclient_interface

This resource, if set to yes, will cause dhclient to become a daemon rather than exiting if it can't get an IP address. It has no effect unless ipaddr_interface is set to DHCP

vlannametype

This resource can be used to override the default VLAN interface naming scheme.

extrahosts

A list of additional entries for the /etc/hosts file. Each entry should have the form hentry_tag.

hentry_tag

The value for the /etc/hosts entry denoted by tag.

gateway

A list of gateways for this machine. The actual gateway used will be chosen randomly from this list.

gatewaydev

The ethernet interface to use to communicate to the default gateway.

hostschangereboot

This resource specifies whether changes to /etc/hosts should trigger a reboot. The default value is "yes".

ifcfgchangereboot

This resource specifies whether changes to ifcfg files should trigger a reboot. The default value is "yes".

PLATFORMS

Fedora3, Fedora5, Fedora6, Scientific5

AUTHOR

Alastair Scobie <ascobie@inf.ed.ac.uk>