Skip to content

Commit 1fb6617

Browse files
committed
Additional options for ConfigurationScript Provisioning
Add execution_ttl, verbosity, and log_output options for ConfigurationScript provisioning.
1 parent 6c7b881 commit 1fb6617

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

app/views/miq_request/_prov_configuration_script_dialog.html.haml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
:label => _("Configuration Scripts"),
3535
:keys => keys})
3636
- when :customize
37+
- keys = [:verbosity, :execution_ttl, :log_output]
38+
= render(:partial => "prov_dialog_fieldset",
39+
:locals => {:workflow => wf,
40+
:dialog => dialog,
41+
:label => _("Provision"),
42+
:keys => keys})
3743
- keys = [:root_password]
3844
= render(:partial => "prov_dialog_fieldset",
3945
:locals => {:workflow => wf,

app/views/miq_request/_prov_field.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
:owner_office, :owner_manager, :owner_manager_mail,
8181
:owner_manager_phone, :owner_phone, :owner_phone_mobile,
8282
:owner_state, :owner_title, :owner_zip, :request_notes,
83-
:subnet_mask, :memory_limit, :memory_reserve,
83+
:subnet_mask, :memory_limit, :memory_reserve, :execution_ttl,
8484
:root_username, :root_password, :ssh_public_key, :sysprep_password, :sysprep_domain_admin,
8585
:sysprep_domain_password, :sysprep_workgroup_name,
8686
:sysprep_full_name, :sysprep_organization,
@@ -226,7 +226,7 @@
226226
:floating_ip_address, :resource_group, :load_balancer,
227227
:sysprep_auto_logon_count, :sysprep_domain_name, :sysprep_server_license_mode,
228228
:vlan, :cloud_tenant, :src_configuration_profile_id, :vm_minimum_memory,
229-
:vm_maximum_memory, :boot_disk_size, :subnet, :placement_group, :shared_processor_pool].include?(field)
229+
:vm_maximum_memory, :boot_disk_size, :subnet, :placement_group, :shared_processor_pool, :verbosity, :log_output].include?(field)
230230
-# Pull Down fields
231231
-# Multiple select Pull Down fields
232232
- multiple = %i[security_groups cloud_volumes].include?(field)

0 commit comments

Comments
 (0)