factory_install: Get mini-omaha addreess from tftp server.

This is for dymaic mini-omaha server address assignment.
Factory install shim gets tftp url from kernel command line.
Next, it gets omahaserver.conf from tftp server to override
mini-omaha server address. Then start factory installation.

This change considers backward compatibility. It works well
if there is no omahaserver.conf in tftp server.

BUG=chrome-os-partner:22180
TEST=Network boot and install on Falco.

Change-Id: If3c1fa6da0bc22f003740fb9ae254db9963e3589
Reviewed-on: https://chromium-review.googlesource.com/172074
Tested-by: Bowgo Tsai <bowgotsai@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Bowgo Tsai <bowgotsai@chromium.org>
1 file changed