add function for checking hostname and stop install process if not qualified