Using VMware vSphere VM Customization Specification
Deploying virtual machines is a basic part of VMware vSphere administration. Virtual machines are deployed, cloned, etc. Customizing the guest operating system can be a very labor intensive set of tasks from a provisioning standpoint. Thankfully, the VM Customization Specifications tool can be leveraged to take a lot of the heavy lifting out of this process. We can choose to utilize the Custmization Specification to customize guest operating systems with cloning or in customizing an existing guest operating system that is powered off. Let’s take a look at Using VMware vSphere VM Customization Specification and how create the specification to use with customizing a guest operating system.
Creating VMware VM vSphere Customization Specification
To create our new Customization Specification, we navigate toย Policies and Profiles in our vCenter web client or Flash client.ย Below, I am using the newest HTML5 web client that is available.ย See how to use the most current HTML5 web client available with the HTML5 web client fling.ย Below we have navigated to theย Policies and Profiles screen where we can click theย New button to add a new Customization Specification.
Theย New VM Guest Customization Spec wizard begins.ย The first screen allows us to customize the Name and target OS of the virtual machine.ย Note here we can select both Windows and Linux, use a custom SysPrep answer file and control how SIDs are handled.
Next, we set theย Registration information with the Owner name and Owner Organization.
We can decide how we want to handle the computer name creation.ย There are three options here:ย ย User the virtual machine name,ย Enter a name in the Clone/Deploy wizard, andย Enter a name.
We can choose whether or not we want to specify Windows licensing information as well.
Set the administrator password and choose whether or not to automatically login.
Configure the time zone for the virtual machine.
If we have any commands we want to run the first time a user logs in, we can add those on theย Commands to run once screen.
Network connectivity can be configured as well.ย We can use standard network settings or manual select custom settings for the virtual machine.
Workgroup or domain allows us to choose which we want to join our virtual machine to.
Review the settings screen to make sure we have everything we want to configure in VM customization specification.
Using VMware vSphere VM Customization Specification
Now that we have the VM customization Specification created, let’s see what we can do with it.ย Below you should see your newly created VM customization specification listed.
If we choose to clone a virtual machine, on theย customize guest OSย screen we will see the VM customization specification listed.
If we have anย existing virtual machine, we can power off the virtual machine and run the customization specification against the existing virtual machine by right clicking the virtual machine and choosingย Guest OS >>ย Customize Guest OS.
The VM customization specification should be applied to the virtual machine and should reboot after settings have been applied.
Verifying VM Customization Specification was successful
To verify the VM Customization Specification was successful we can quickly take a look at the owner information on our virtual machine to see if it has been successfully changed.
Thoughts
Using VMware vSphere VM Customization Specification is a great way to take a lot of the mundane heavy lifting out of provisioning a virtual machine.ย The VM customization specification is easily created and can be used for mass deployments, etc.ย Also powerful is that it can be applied to new clones, deploying from template, and existing virtual machines that are powered off.