How to pass linux customization details through - api/provision_requests

I am trying to assign IP and hostname through API but it is not working . Tried different options but still not working

My customization name on the Vcenter is VMCustomization

{
“version” : “1.1”,
“template_fields” : {
“name” : “rhel67_latest”
},
“vm_fields” : {
“number_of_cpus” : 2,
“sysprep_enabled”:“enabled”,
“sysprep_timezone”:“UTC”,
“vm_name” : “suniltest09”,
“sysprep_custom_spec”:“VMCustomization”,
“Linux-Spec-Name”: true,
“vm_memory” : “4096”,
“vlan”: “suniltest01”,
“placement_rp_name”:1000000000004,
“placement_ds_name”:1000000000007,
“placement_cluster_name”:1000000000003,
“placement_auto”: “false”,
“network_adapters”: 2,
“diskscsi0” : “0:1:4096”,
“network0” : “suniltest01”,
“network0.deviceType” : “VirtualVmxnet3”,
“network1” : “suniltest02”,
“network1.deviceType” : “VirtualVmxnet3”,
“dns_servers”: “146.89.142.210,146.89.142.211”,
“dns_suffixes”: “sunilelex.com”,
“addr_mode”:“static”,
“ip_addr”: “172.89.0.5”,
“gateway”: “172.89.0.1”,
“subnet_mask”: “255.255.255.0”,
“disk_format”: “thin”,
“sysprep_domain_name”:“sunil.text.com”,
“linux_domain_name”:“sunil.text.com”,
“sysprep_spec_override”: “true”,
“hostname”:“sunilag01”,
“linux_host_name”: “suniltest01”,
“root_password”: “Horu$2014”

}

Can you please help here .

@gmccullough Do you know what the right parameters are? I don’t see enough details on http://manageiq.org/docs/reference/latest/api/reference/provision_requests#creating-requests that jump out at me, personally.

Greg @gmccullough - Can you please help . I tried few things but didn’t not worked . Can you please let me know if you need any additional logs

Hi @sunielex, this option is not supported today.

There was some work started but was never completed. See https://bugzilla.redhat.com/show_bug.cgi?id=1476010

If you are using the same Customization Spec could you setup a Catalog Item and order that while passing the IP and hostname instead? This could be done through the API.