diff --git a/lib/foreman_inventory_upload/generators/slice.rb b/lib/foreman_inventory_upload/generators/slice.rb index de1d412a..eaaf58be 100644 --- a/lib/foreman_inventory_upload/generators/slice.rb +++ b/lib/foreman_inventory_upload/generators/slice.rb @@ -126,11 +126,9 @@ def report_system_profile(host, host_ips_cache) ) { |v| os_release_value(*v) } @stream.simple_field('os_kernel_version', fact_value(host, 'uname::release')) @stream.simple_field('arch', host.architecture&.name) - @stream.simple_field('subscription_status', host.subscription_status_label) - @stream.simple_field('katello_agent_running', false) @stream.simple_field( 'infrastructure_type', - ActiveModel::Type::Boolean.new.cast(fact_value(host, 'virt::is_guest')) ? 'virtual' : 'physical' + ActiveModel::Type::Boolean.new.cast(fact_value(host, 'virt::is_guest')) ? 'virtual' : 'physical' ) @stream.simple_field('cloud_provider', cloud_provider(host)) unless (installed_products = host.subscription_facet&.installed_products).empty?