VMware Cloud Community
miladmeh8
Hot Shot
Hot Shot
Jump to solution

How to pass info from vRA to Wiliam nested esxi appliance

Hi All,

I need to deploy OVA file via vRealize automation cloud template.

therefore i uploaded that into content library and use it as a image in vRA template.

now i need to fillout the fileds in OVA file like ip addresses and so on.

Can anyone help me how to pass data into OVA file via cloud template?

0 Kudos
2 Solutions

Accepted Solutions
miladmeh8
Hot Shot
Hot Shot
Jump to solution

I change the location of image to a webserver then it started to work.

I had some issue like invalid value for key: guestinfo.ssh, but i had to delete the value then it started to work

View solution in original post

Ankush11s
VMware Employee
VMware Employee
Jump to solution

with content library and vsan we have limitation ,with web server it works 

View solution in original post

6 Replies
Ankush11s
VMware Employee
VMware Employee
Jump to solution

You can have a look at below article 
you know ovf property then this blog has sample

https://vmwarecode.com/2022/03/27/how-to-deploy-vra-cloud-extensibility-proxy-appliance-using-self-s...

0 Kudos
miladmeh8
Hot Shot
Hot Shot
Jump to solution

Thanks for the reply

I can define OVF properties in Yaml code but the problem is it cannot be passed to vCenter

miladmeh8_0-1660233312212.png

 

See the screenshot these values are empty here.

But some of them that are shown, already entered on OVA template itself. see the codes:

formatVersion: 1
inputs: {}
resources:
Cloud_vSphere_Machine_1:
type: Cloud.vSphere.Machine
properties:
image: Nested-ESXI-7
cpuCount: 2
totalMemoryMB: 8192
ovfProperties:
- key: guestinfo.createvmfs
value: 'false'
- key: guestinfo.dns
value: 192.168.100.200
- key: guestinfo.domain
value: milad.local
- key: guestinfo.followmac
value: 'false'
- key: guestinfo.gateway
value: 192.168.101.254
- key: guestinfo.hostname
value: milad.test.local
- key: guestinfo.ipaddress
value: 192.168.101.66
- key: guestinfo.netmask
value: 255.255.255.0
- key: guestinfo.ntp
value: ntp.test.local
- key: guestinfo.password
value: VMware1!123
- key: guestinfo.ssh
value: 'true'
- key: guestinfo.ssh_key
value: ''
- key: guestinfo.syslog
value: 192.168.1.200
- key: guestinfo.vlan
value: '101'
networks:
- network: ${resource.Cloud_vSphere_Network_1.id}
assignment: static
Cloud_vSphere_Network_1:
type: Cloud.vSphere.Network
properties:
networkType: existing

0 Kudos
Ankush11s
VMware Employee
VMware Employee
Jump to solution

what kind of storage is being used 
Are you using content library for your OVF or is it external file server

miladmeh8
Hot Shot
Hot Shot
Jump to solution

it is content library

0 Kudos
miladmeh8
Hot Shot
Hot Shot
Jump to solution

I change the location of image to a webserver then it started to work.

I had some issue like invalid value for key: guestinfo.ssh, but i had to delete the value then it started to work

Ankush11s
VMware Employee
VMware Employee
Jump to solution

with content library and vsan we have limitation ,with web server it works