Skip to content

Commit 8224ebc

Browse files
committed
Add cloud_credential_type and credential_id
1 parent 1fb6617 commit 8224ebc

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

app/views/miq_request/_prov_configuration_script_dialog.html.haml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,14 @@
3838
= render(:partial => "prov_dialog_fieldset",
3939
:locals => {:workflow => wf,
4040
:dialog => dialog,
41-
:label => _("Provision"),
41+
:label => _("Runner Options"),
4242
:keys => keys})
43+
- keys = [:cloud_credential_type, :credential_id]
44+
= render(:partial => "prov_dialog_fieldset",
45+
:locals => {:workflow => wf,
46+
:dialog => dialog,
47+
:label => _("Credentials"),
48+
:keys => keys})
4349
- keys = [:root_password]
4450
= render(:partial => "prov_dialog_fieldset",
4551
:locals => {:workflow => wf,

app/views/miq_request/_prov_field.html.haml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,9 @@
287287
:placement_cluster_name, :placement_dc_name, :placement_ds_name,
288288
:placement_ems_name, :placement_host_name, :placement_rp_name,
289289
:pxe_image_id, :windows_image_id, :src_configured_system_ids,
290-
:src_host_ids, :src_vm_id, :src_configuration_script_id, :sysprep_custom_spec,
291-
:customization_template_id].include?(field)
290+
:src_host_ids, :src_vm_id, :src_configuration_script_id,
291+
:sysprep_custom_spec, :customization_template_id,
292+
:credential_id, :cloud_credential_type].include?(field)
292293
-# Pull Down fields that need to be sorted on description
293294
.col-md-8
294295
- if @edit && field_hash[:display] == :edit && !@edit[:stamp_typ]

0 commit comments

Comments
 (0)