AMBARI-3523. Changes to support ambari agent to start and register on ubuntu (Arpit Gupta via mahadev)