Send host-name patch.  Do not put send host-name "new-hostname" in dhclient.conf if the hostname value is <hostname> or gethostname(); .
Also remove unused method group setHostname() from all distro classes.
Remove duplicate call to EnvMonitor(object).MyDistro.publishHostname(self.HostName) which is now called from WaAgent.UpdateAndPublishHostName(self.HostName).

Removed:
redhatDistro.setHostname()
centosDistro.setHostname()
debianDistro.setHostname()

Changed:

AbstractDistro.publishHostname()
redhatDistro.publishHostname()
centosDistro.publishHostname()
debianDistro.publishHostname()