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. ...

Get PowerCLI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.