Hi,
I'm trying to create a VM with a static IP address. All configuration is done using REST.
After instantiating a template and deploying the VApp, I update the Network Configuration Section of the VM with the following:
<?xml version="1.0" encoding="UTF-8"?>
<NetworkConnectionSection xmlns="http://www.vmware.com/vcloud/v1" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1">
<ovf:Info>Specifies the available VM network connections</ovf:Info>
<PrimaryNetworkConnectionIndex>0</PrimaryNetworkConnectionIndex>
<NetworkConnection network="austin-34-network">
<NetworkConnectionIndex>0</NetworkConnectionIndex>
<IpAddress>192.168.34.99</IpAddress>
<IsConnected>true</IsConnected>
<IpAddressAllocationMode>MANUAL</IpAddressAllocationMode>
</NetworkConnection>
</NetworkConnectionSection>
This appears to work as the task is successful. (In the VCloud Director UI, you can see the IP address on the VM).
However, after starting the VApp, the following error is shown:
Guest customization failed on
this virtual machine. Error is :
'Required parameter missing.
ReconfigToken not found'
And the VM never responds to that address on the network.
Can anyone explain the what is missing?
TIA,
Mark