Red Hat ENTERPRISE LINUX 4 System Administration Manual page 32

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

Chapter 1. Kickstart Installations
The static method requires that you enter all the required networking information in the
kickstart file. As the name implies, this information is static and are used during and after the
installation. The line for static networking is more complex, as you must include all network
configuration information on one line. You must specify the IP address, netmask, gateway,
and nameserver. For example: (the "\" indicates that this should be read as one continuous
line):
network --bootproto=static --ip=10.0.2.15 --netmask=255.255.255.0 \
--gateway=10.0.2.254 --nameserver=10.0.2.1
If you use the static method, be aware of the following two restrictions:
• All static networking configuration information must be specified on one line; you cannot
wrap lines using a backslash, for example.
• You can also configure multiple nameservers here. To do so, specify them as a comma-
delimited list in the command line. For example:
network --bootproto=static --ip=10.0.2.15 --netmask=255.255.255.0 \
--gateway=10.0.2.254 --nameserver 192.168.2.1,192.168.3.1
--device=
Used to select a specific Ethernet device for installation. Note that using --device= is not
effective unless the kickstart file is a local file (such as ks=floppy), since the installation
program configures the network to find the kickstart file. For example:
network --bootproto=dhcp --device=eth0
--ip=
IP address for the machine to be installed.
--gateway=
Default gateway as an IP address.
--nameserver=
Primary nameserver, as an IP address.
--nodns
Do not configure any DNS server.
--netmask=
Netmask for the installed system.
--hostname=
Hostname for the installed system.
--nostorage
Do not auto-probe storage devices such as ISCI, IDE or RAID.
part or partition (required for installs, ignored for upgrades)
Creates a partition on the system.
14

Advertisement

Table of Contents
loading

Table of Contents