I've ended up writing a service that runs after netif is complete and sets the hostname based on the MAC address and also updates /etc/hosts. It does what I need... Thanks for all the replies on this...