Remove hostnames from config templates