Description of problem: Have to do FTP install of various servers, and have found that the kickstart asks for IP address information twice when the old line of network --bootproto=query is given. It asks for an IP address, and then does a Dynamic search for an IP address again. It then goes again to the asking for an IP address and this time it takes it and begins the install.. I notice that the manual only covers STATIC,BOOTP,TFTP as the bootquery modes, but we arent able to run the last two in some of our areas. So I am guessing that I am running into some bug when it cant get the IP address, and then goes and says 'what should I do' and then because bootproto isnt correct tries for a dynamic ip again. Bug level: nitpick.
Ok a bit more than a nitpick. The problem turns out to be that the code isnt circling but that it is asking for the same information as before for two different reasons. First time is because it cant find a DHCP server on startup and then asks for the info so that it can get the ks.cfg from the ftp server. Fill in those values and it gets the values. Then the second DHCP request is because it has loaded the ks.cfg correctly and is looking for the info again (putting in a network --bootproto=static did not help this slowdown.
I found some items that werent documented in the manuals but was in the source code and /usr/share/documentation for anaconda. By using the flags ip= ksdevice= gateway= etc.. I can get anaconda to do the right thing without doing extra DHCP lookups.