gplv3/anaconda
Don Penney 6ee64f7f4e Fix anaconda host IP caching to handle port number in URL
A hook was added to run before Anaconda installer to lookup the IP
address of the boot server and write it to /etc/hosts, in order to avoid
DNS queries during the installation. However, the regex to grab the
server from the kickstart URL did not handle the case where a port was
specified, ie http://bootserver:8080/..., and the hook would hang trying
to ping an invalid name.

This update extends the regex in the hook to ignore the port number, if
present.

Change-Id: I4e7e2c17ccee3b6f0fa3e31d5606cb9caa53372e
Story: 2002856
Task: 22805
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-19 14:29:58 -04:00
..
centos Fix anaconda host IP caching to handle port number in URL 2018-07-19 14:29:58 -04:00