From 07b57544347d0864197a565907a9b430e8c68e76 Mon Sep 17 00:00:00 2001 From: Girija Soni Date: Thu, 12 Dec 2024 14:07:59 +0530 Subject: [PATCH] Fixes #37855 - Populate OS fields during host import --- app/views/hosts/_operating_system.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/hosts/_operating_system.html.erb b/app/views/hosts/_operating_system.html.erb index 538a47ac43f..6a742c3c6fa 100644 --- a/app/views/hosts/_operating_system.html.erb +++ b/app/views/hosts/_operating_system.html.erb @@ -1,6 +1,6 @@ <%= select_f f, :architecture_id, accessible_resource(f.object, :architecture), :id, :to_label, {:include_blank => true}, - {:onchange => 'architecture_selected(this);', :'data-url' => method_path('architecture_selected'), :'data-type' => controller_name.singularize, + {:onchange => 'architecture_selected(this);', :'data-url' => method_path('architecture_selected'), :'data-type' => controller_name.singularize == 'compute_resources_vm' ? 'host' : controller_name.singularize, :help_inline => :indicator, :required => true} %>