CHERRY-PICK: factory_install: Get mini-omaha address 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:28206
TEST=Network boot and install on Spring

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

Change-Id: I5de5b61fd794e401e173c19dae8e8a0feb4eede5
Reviewed-on: https://chromium-review.googlesource.com/196803
Reviewed-by: Bowgo Tsai <bowgotsai@chromium.org>
Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
1 file changed