Skip to content

EXAMPLE-govc-vcsa-vc01

EXAMPLE govc VCSA deployment test profile

Warning

THIS IS AN EXAMPLE - you must modify values to fit your local environment appropriately.

Runs govc to deploy a test VCSA deployment. Requires that the VCSA configuration JSON file be saved to the context container as /tmp/template.json prior to the command being run. The JSON configuration should be saved to a Template on the system, and then added to the Param with the name ova/param-json.

The govc-command task reads the ova/param-json if it has been specified; and writes the referenced template to the temporary json location.

The govc/username and govc/password values are required for the vSphere ESXi node that the OVA is being deployed to, for API authentication.

The govc/url should be the IP Address or correctly resolving DNS hostname of the vSphere ESXi node to deploy the OVA to.

Objects that Reference EXAMPLE-govc-vcsa-vc01

Not used in current content packs

Objects used by EXAMPLE-govc-vcsa-vc01

  • params govc/username in field Params as value root
  • params ova/param-json in field Params as value map[Annotation:RackN Deployed VMware vCenter Server Appliance (VCSA) Deployment:small DiskProvisioning:thin IPAllocationPolicy:dhcpPolicy IPProtocol:IPv4 InjectOvfEnv:true MarkAsTemplate:false Name:vc01 NetworkMapping:[map[Name:Guest Network Network:VM Network]] PowerOn:true PropertyMapping:[map[Key:guestinfo.cis.deployment.autoconfig Value:True] map[Key:guestinfo.cis.deployment.node.type Value:embedded] map[Key:guestinfo.cis.db.type Value:embedded] map[Key:guestinfo.cis.appliance.net.addr.family Value:ipv4] map[Key:guestinfo.cis.appliance.net.mode Value:static] map[Key:guestinfo.cis.appliance.net.addr Value:10.10.10.99] map[Key:guestinfo.cis.appliance.net.prefix Value:29] map[Key:guestinfo.cis.appliance.net.gateway Value:10.10.10.97] map[Key:guestinfo.cis.appliance.net.dns.servers Value:1.1.1.1,1.0.0.1] map[Key:guestinfo.cis.appliance.ntp.servers Value:time-a.nist.gov,time-b.nist.gov,time-c.nist.gov] map[Key:guestinfo.cis.appliance.net.pnid Value:10.10.10.99] map[Key:guestinfo.cis.appliance.root.passwd Value:Rskate1^] map[Key:guestinfo.cis.appliance.ssh.enabled Value:True] map[Key:guestinfo.cis.appliance.root.shell Value:/bin/bash] map[Key:guestinfo.cis.vmdir.site-name Value:ewr1] map[Key:guestinfo.cis.vmdir.domain-name Value:vsphere.local] map[Key:guestinfo.cis.vmdir.username Value:administrator@vsphere.local] map[Key:guestinfo.cis.vmdir.password Value:Rskate1^] map[Key:guestinfo.cis.vmdir.first-instance Value:True] map[Key:guestinfo.cis.vpxd.ha.management.addr Value:] map[Key:guestinfo.cis.vpxd.ha.management.port Value:443] map[Key:guestinfo.cis.vpxd.ha.management.user Value:] map[Key:guestinfo.cis.vpxd.ha.management.password Value:] map[Key:guestinfo.cis.vpxd.ha.management.thumbprint Value:] map[Key:guestinfo.cis.vpxd.ha.placement Value:] map[Key:guestinfo.cis.ceip_enabled Value:False] map[Key:vami.domain.VMware-vCenter-Server-Appliance Value:vsphere.local] map[Key:vami.searchpath.VMware-vCenter-Server-Appliance Value:]] WARNING:THIS IS AN EXAMPLE - you must modify values to fit your local environment appropriately. WaitForIP:false]
  • params govc/commands in field Params as value [import.ova]
  • params govc/insecure in field Params as value true
  • params govc/network in field Params as value VM Network
  • params govc/ova-location in field Params as value http://10.10.10:8091/files/images/vcsa-7.ova
  • params govc/ova-type in field Params as value vcsa
  • params govc/ova-version in field Params as value 7
  • params govc/password in field Params as value RocketSkates1
  • params govc/url in field Params as value 10.10.10.98
  • params govc/datastore in field Params as value datastore1
  • params govc/resource-pool in field Params as value */Resources