VMware Cloud Community
jl0815
Contributor
Contributor

OVFTool - pass description to vAppTemplate

Hi,

I am trying to pass a description to a vAppTemplate which is uploaded via OVFTool.

I tried to use the --annotation option but this annotation is passed to the VMs description within the vApp and not to the vApp description.

Is there a way to get a vApp description instead of a VM description?

Thanks in advance,

JL

Reply
0 Kudos
1 Reply
jasnyder
Hot Shot
Hot Shot

I'm not sure of anyway to do it directly from OVFTool, but if you use a PowerShell script to call your existing OVFTool command, and add this after, you could set the description after the import that way:

Get-CIVAppTemplate -Name "vapp_name" | Set-CIVAppTemplate -Description "description"

You might also consider just using the Import-CIVappTemplate cmdlet instead of OVFTool and set the description at the same time using the -Description parameter.  (that is, if PowerCLI is palatable to you and a viable alternative)

Reply
0 Kudos