support foreman_api_host param