Skip to content

Commit

Permalink
Fixes #37855 - Populate OS fields and pass correct network during import
Browse files Browse the repository at this point in the history
  • Loading branch information
girijaasoni committed Oct 3, 2024
1 parent 13bdb7f commit 2464f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<% cluster_id = params.fetch(:host, {}).fetch(:compute_attributes, {}).fetch(:cluster, nil).presence %>
<%= select_f f, :network, vsphere_networks(compute_resource), :first, :last, { },
:class => "col-md-3 vmware_network",
:size => "col-md-8", :disabled => !new_vm,
:size => "col-md-8",
:label => _('Network'), :label_size => "col-md-3" %>
2 changes: 1 addition & 1 deletion app/views/hosts/_operating_system.html.erb
Original file line number Diff line number Diff line change
@@ -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' => "host",
:help_inline => :indicator, :required => true} %>

<span id="os_select">
Expand Down

0 comments on commit 2464f65

Please sign in to comment.