Now ambari-agent automatically registers themselves. (no ssh required!)
Fix the expect script to terminate properly and ensure yum metadata updates.