Ensure the master is fully booted (ping & ssh) before agent install.

Change-Id: Idfadc20cd8fee42207044d5be9e3a5745ca97077
Merge "Ensure the master is fully booted (ping & ssh) before agent install."