I didn’t find much in the way of examples online for using Terraform against VMWare. So here is the .tf config that worked for me: provider “vsphere” { user = “jonny@dev” password = “CHANGEME!” vsphere_server = “192.168.1.2” allow_unverified_ssl = true }data “vsphere_datacenter” “dc” { name = “ESX Lab” }data “vsphere_datastore” “datastore” { name = “netapp002-svm001-vmaggr01-datastore001″… Read more »
Posts Categorized: virtualisation
VMWare ESXi – Attach Host USB disk to VM
I needed to copy some data from a virtual machine onto a USB Disk that was plugged into the ESXi machine hosting the virtual machine. Step 1 – Plug the USB Disk into the ESXi host Step 2 – Add a USB Controller to the VM Step 3 – Add a USB Device to… Read more »
Increasing CentOS LVM under VMWare
Background: I had an existing CentOS machine as a virtual machine running on VMWare ESX Server and it was running out of space so for future reference I did the following. Incidentally my disk is sda with the new partition create on the extra space as sda3. I first increased the disk using the vSphere… Read more »
VirtualBox: Cloning a VM
My Virtual Machine was named http1 so I cloned the vdi as http2.vdi using the VBoxManage command: VBoxManage clonevdi http1.vdi ../pathtonewlocation/http2.vdi The output was: 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%Clone hard disk created in format ‘VDI’. UUID: 9e65bd30-663e-4bf8-acd2-3120d1f41fec Then create the new Virtual Machine in the VirtualBox GUI: Machine > New On the third step for ‘Virtual Hard Disk’ choose… Read more »