Set the discover hosts flag when trying to discover hosts