Move hostname /etc/hosts fixing to main script for OpenStack