Skip to main content

Posts

Showing posts with the label vmrest.exe

Virtual Machine Provisioning Automation at Home Trials and Fails - 1

For a long time, I have been using a home lab environment for many things. The way, I am doing is that, cloning from my template virtual machines to provision new ones, and change settings manually. This is not rocket science, however I wanted to ease and automate one of my basic processes. Using Vmware Workstation Pro 16 in my environment, I noticed that there is a Rest Api provided within the software, and noticed that there is no option for creating a virtual machine from the scratch however, there is an option to clone a VM to another, which I was surprised to see but liked a lot. While further digging, I noticed that I can use Terraform to do such provisioning using Vmware Workstation provider , which I was thinking to use. I was super excited to use Terraform for the first time in my life, so I cloned a new Virtual Machine, set its IP Address, create the DNS records as I described in my blog article  etc. I checked Terraform deployment article, prepare the prerequisites and i...