Generate host configuration