Installation guide
30 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 will be used during the
installation, and after the installation as well.
To direct a system to use DHCP to obtain its networking configuration, use the following
line:
network --bootproto dhcp
To direct a machine to use BOOTP to obtain its networking configuration, use the fol-
lowing line in the kickstart file:
network --bootproto bootp
The line for static networking is more complex, as you must include all network config-
uration information on one line. You must specify:
• IP address
• Netmask
• Gateway IP address
• Nameserver IP address
Here is an example static 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 only specify one nameserver here. However, you can use the kickstart file’s
%post section (described in Section 1.4.31) to add more name servers, if needed.
1.4.19. part
part or partition (required for installs, ignored for upgrades)
Creates a partition on the system.
If more than one Red Hat Linux installation exists on the system on different partitions,
the installation program prompts the user and asks which installation to upgrade.
The
mntpoint is where the partition will be mounted and must be of one of the
following forms:
/
mntpoint
For example, /, /usr, /home
swap
The partition will be used as swap space.
To determine the size of the swap partition automatically, use the --recommended
1
option:
1. This option is new to Red Hat Linux 7.3