Adding ISO files to vCD automatically

Here is a good programming idea that you can now create. It's not easy, but a neat challenge and a very useful little program to have a go at.

Getting ready

Choose a language or tool of your choice. If you don't have a preferred one, think about which system will interact with the program or which platform you will be running the script under.

How to do it...

First, we need to define what the program should do:

  • We want to upload a .iso file from the local disk of your desktop
  • We want to add the .iso file to a catalog in vCloud

Here are the programming steps you need to do:

  1. Create an object that contains the media filename and location as well as the type ISO.
  2. Get the OvDC reference where the catalog we want to upload ...

Get VMware vCloud Director 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.