af79cd revert my 40_update_hosts.sh 'fix' as it doesn't work in CI and add some preclean/configure/postclean to work around the hostname issues

Authored and Committed by James Hogarth 10 years ago
    revert my 40_update_hosts.sh 'fix' as it doesn't work in CI and add some preclean/configure/postclean to work around the hostname issues