I think that it would be a good idea to simply remove the serial interface from the template.ovf file. The reason i say that is that *most* VMware vSphere environments do not even use the serial port or even have it configured. I notice when i built VyOS 1.2 Crux build, i had issues when spinning up the VM in addition to the parent Bug.
I would remove the following since it serves no purpose:
<Item ovf:required="false"> <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation> <rasd:ElementName>serial0</rasd:ElementName> <rasd:InstanceID>5</rasd:InstanceID> <rasd:ResourceType>21</rasd:ResourceType> <vmw:Config ovf:required="false" vmw:key="yieldOnPoll" vmw:value="false"/> </Item>
If someone wants to configure VyOS with a serial port and they are using vSerial ports or network-directed Serial ports, they can just as easily add one to the VM after the fact.
As the template stands right now, i have to remove the serial port before the VM will power up.