diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-08-07 14:11:52 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-08-10 16:56:56 -1000 |
commit | 1980e9d377aa6089ae96740cd85593ec18d5344d (patch) | |
tree | dbbbf5e71a2795eeff2fc9c52a018563c28243ae /loader/cdrom.c | |
parent | 08bc767a0cdce596516a97048fe2582e48e20b2f (diff) | |
download | anaconda-1980e9d377aa6089ae96740cd85593ec18d5344d.tar.gz anaconda-1980e9d377aa6089ae96740cd85593ec18d5344d.tar.xz anaconda-1980e9d377aa6089ae96740cd85593ec18d5344d.zip |
Honor network config boot params for CD-booted ks installs (#433214)
Users booting from CD or DVD media, performing a kickstart install, and
passing network configuration boot parameters were hitting an issue
where loader was insisting on trying to get a DHCP lease to fetch the
kickstart file. Even if you provided 'asknetwork' or 'ip=' settings,
loader was still forcing DHCP at the point where the kickstart file is
downloaded.
This patch makes the 'asknetwork' parameter work if you are booting from
CD or DVD and performing a kickstart install. By default, we would try
DHCP, but asknetwork forces the configureTCPIP() code path to run.
Likewise, if the user boots from media and passes ip=, netmask=,
gateway=, dns=, and ksdevice=, the network is configured using that
information and the kickstart file is downloaded.
Diffstat (limited to 'loader/cdrom.c')
0 files changed, 0 insertions, 0 deletions