vSphere VM customization wizard

vSphere customization is a powerful tool within vCenter that simplifies and accelerates the process of customizing virtual machine (VM) deployments.

For instance, if you’re deploying several Windows VMs, you’ll often need to perform administrative tasks post-deployment, such as:

Adding the VMs to a domain
Installing specific features
Setting the correct time zone
Changing the administrator password
These tasks can be time-consuming, especially when performed manually for each VM. With the VM Customization Wizard in vSphere, you can automate many of these tasks, significantly reducing the time and effort involved.

Steps to run VMware Customization wizard

  1. Login to vCenter and go to the Policies and profile. Then we can select VM customization specification.

2. We can assign a name for VM customization. then we need to select the relevant operating system, in this case I have selected Windows

3. Enter the VM owner name and organization details

4. Computer name- Here we have few options, best and easiest way to use the same virtual machine name, that would be easier when we do some scripting with the vms

5. Now we can enter the product key of the operating system and select the server license mode as well.

6. We can enter the administrator password here

7. We can select the Timezone of the VM

8. In here we can add some post commands, so we can use both dos commands or PowerShell. In this example i’m going to add some Windows features/roles. In this section we can add multiple commands/scripts.

9. Here is the place to configure network .Either we can go with DHCP ip assignment or manual ip assignment.

10. After configuring IP settings, we can proceed with domain configuration.

11. Its done now

12. How can we use this customization wizard?

How can we use this customization wizard? Stay tuned for my next blog post, where I’ll dive into the details and share all the information you need to get started!

Configure Azure Storage for Terraform State file

Terraform State-

Terraform state file is kind of a binding between Resorces in the remote system (Ex Azure) and resource we configured using terraform files.Bydefaut this file name will be terraform.tfstate.

Why we keep this file in a remote location and why its important-

When we run a terraform deployment first time, there is no state file. But after the deployment it will create this state file. If we don’t have this file, terraform will trying to run as first time which will us an error.

keep this terraform state file in a remote location will provide some advantages. Basically we can use that file from multiple locations. Also, we have more security control over this file.

Steps to keep terraform state file in Azure storage. account

  1. Create a resource group for this

2. Create storage account in this resource group

Create a container inside the storage account

Continue reading “Configure Azure Storage for Terraform State file”
Create your own website, free on WordPress.com.Create your own website.
Start free