diff --git a/app/models/miq_provision_virt_workflow.rb b/app/models/miq_provision_virt_workflow.rb index 35ae8cbc4c2..891abac8229 100644 --- a/app/models/miq_provision_virt_workflow.rb +++ b/app/models/miq_provision_virt_workflow.rb @@ -340,7 +340,7 @@ def allowed_templates(options = {}) end # Only select the colums we need - vms = vms.select(:id, :name, :guid, :uid_ems, :ems_id, :cloud_tenant_id) + vms = vms.select(:id, :type, :name, :guid, :uid_ems, :ems_id, :cloud_tenant_id) allowed_templates_list = source_vm_rbac_filter(vms, condition, VM_OR_TEMPLATE_EXTRA_COLS).to_a @allowed_templates_filter = filter_id