Unable pass custom options to networks when provisioning a VM on Vsphere

I’m trying to provision a VM using Service Catalogue where I’m making use of Option list and inputs to provide the user to select the respective network to pPreformatted textrovision.
I’ve configured the network part with custom options as below.

 "version": "20.04",
 "networkInterfaces": [
  {
   "primaryInterface": true,
   "network": {
    "id": "network-42",
    "hasPool": true,
    "idName": "<%=customOptions.vsphere_network%>",
    "pool": {
     "id": 3,
     "name": "at-dtf Network Pool"
    }
   },
   "ipMode": "static",
   "showNetworkPoolLabel": false,
   "showNetworkDhcpLabel": false,
   "ipAddress": "<%=customOptions.vm_ipaddress%>",
   "ipAddressName": "",
   "displayName": ""

The other fields are able to use custom options except the Networks.
Appreciate your help.
Still i see this networks part is hardcoded and using the custom options in the wizard.

1 Like

I am interested in this as well since I am facing the same issue along with if you can filter the list based on user’s groups.

If you are able, I would suggest raising a support case so this can be investigated. Mention me, I am happy to pick it up.