This is going to be a first article in the Event-Driven Datacenter topic.
Please feel free to sign up or subscribe to follow up.
Introduction
If some of you’re getting a list of VMs with forgotten attached ISO every morning in your mailbox, welcome aboard! There are several ways to tackle this issue, but since we’re all about automation, let’s explore how we can achieve this goal.
Before I begin, I highly recommend this article by Gavin Stephens—it closely aligns with my strategy.
Using a Service-Oriented Architecture Approach to VCF Automation Orchestrator Development
For example, one key best practice it emphasizes is exiting early when something goes wrong. That’s why I aim to include if()... throw()
statements at the very beginning of my functions.
Here, I’ve already started creating general classes and functions that can be reused in various scenarios. So, let’s continue.
To remove attached ISO files, the following steps should be done:
- Get CD-ROM device specs
- Create new CD-ROM device spec based on the step 1
- Reconfigure VM
- Answer VM question to confirm removal if required

Read the full story
Sign up now to read the full story and get access to all members-only posts.
Subscribe