Reassigning vApp VM network settings with PowerCLI
Now that you have the vApp imported and you have linked the outside network, both to the virtual datacenter for the organization and to the vApp, you can now assign it to the virtual machine inside the vApp. You can change any other vApp settings in order to make the application or service functional.
In the case of the imported vApp, you still have the default network imported with the vApp. To allow your TTYLinux-vApp
to talk to the lab network, you will need to edit the virtual machine inside the vApp and map its network connection to the new vApp Network named Orange External Network
that was defined in the previous recipe.
This time, PowerCLI has native cmdlets to perform the network reassignments. In this recipe, you will remove the imported network and reassign the VM to use the new network connection for the local lab network.
Getting ready
To begin this recipe, you will need a PowerCLI window with an active connection to vCloud Director...