Add hostname templating for new containers.