lcfg-network - LCFG network component
This component configures the /etc/sysconfig/network-scripts
configuration files and /etc/hosts
.
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.
A list of ethernet interface names. Each interface must have the following tagged resources.
This resource specifies the hostname for this 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.
This resource is used when configuring VLAN interfaces to identify the physical device associated with this VLAN 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.
This resource specifies the netmask for this 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.
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.
This resource specifies whether this interface should be configured at boot time. The default value is "yes".
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".
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.
This resource, if set to yes, will identify this interface as a VLAN interface.
This resource can be used to hardwire a particular network card to an interface. This is required for multi-homed machines.
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).
This resource can be used to enable ethernet header reordering for the given 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
This resource can be used to override the default VLAN interface naming scheme.
A list of additional entries for the /etc/hosts
file. Each entry should have the form hentry
_tag.
The value for the /etc/hosts
entry denoted by tag.
A list of gateways for this machine. The actual gateway used will be chosen randomly from this list.
The ethernet interface to use to communicate to the default gateway.
This resource specifies whether changes to /etc/hosts
should trigger a reboot. The default value is "yes".
This resource specifies whether changes to ifcfg files should trigger a reboot. The default value is "yes".
Fedora3, Fedora5, Fedora6, Scientific5
Alastair Scobie <ascobie@inf.ed.ac.uk>