I need some assistance in figuring this out. The default miq_provision_vmware_dialogs_template dialog has a sysprep_domain_name stanza that looks like this:
:sysprep_domain_name: :values_from: :options: :active_proxy: :platform: :method: :allowed_domains :auto_select_single: false :description: Domain Name :required: false :display: :edit :data_type: :string
What is greatly disturbing me is this method “allowed_domains”. I really really want to not validate this field in any way, and simply allow the end user to enter their desired domain name as plain text.
So I have modified it thus:
:sysprep_domain_name: :auto_select_single: false :description: Domain Name :required: false :display: :edit :data_type: :string
I saved this with a new name, and modified the provisioning profile so that this new dialog gets selected. And I am thinking, “sweet … this should fix the problem”. But I’m only half way there. When I try to invoke the provisioning dialog, by going to Infrastructure, Virtual Machines, and choosing Lifecycle, Provision VMs, selecting a Windows template then going to Customize …
I still get a drop down list selector, but there are no choices available. How do I change the dialog to make this a freeform text field instead of a drop down?