Product Key and server license mode. Define Administrator account password. Define Time Zone. Step Define the Server Domain Name and define the user account that has permission to add a computer to the domain. Assign the name to the customization specification for later use.
Click on next and then click finish twice to close the customization wizard and deploy Virtual Machine using template. Step Entire process would take few minutes and would create new VM with the name of Node Although it can be used locally, for faster deployment it's recommended to upload the file to a vSphere datastore or to vCenter content library.
From PowerShell, install Chocolatey. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. If you are using a VM that already exists, disconnect unnecessary hardware devices such as virtual floppy disk drives, virtual COM controllers, LPT controllers, etc. This approach reduces the risk of potential attacks and, as a result, improves security.
Installing the required software on a VM. Install the operating system on the VM. Then install all the necessary updates, security patches, antivirus protection, and specific software needed for your purposes. Configure your OS settings, such as environment variables, remote access, etc. Set passwords for users and the administrator s. Passwords should never expire; this way, you can prevent accounts from getting locked.
You can also configure a default user profile. Installing VMware Tools. This is an important requirement for using VM templates because VMware Tools are used when customization specifications are applied for changing IP configuration, host name, time zone, or other guest OS settings when VMs are deployed from a template.
Removing unwanted software components from a VM. You can make your VM template more lightweight by optimizing the guest OS. The following are some general recommendations for Windows systems that may be useful for configuring your VMs:.
You can carry out a deeper cleanup of your guest OS to optimize VM performance depending on your demands. In the following sections, you can learn about configuring a Linux virtual machine for the purposes of making a VM template with which you could use guest OS customization specification. This walkthrough uses the example of Xubuntu 16 x It also discusses how to create a customization specification for further cloning of VMs from your template.
In order to prepare Xubuntu Linux for guest OS specification customization, enter the Linux console Terminal and run the following commands as a user with root privileges:. Type ifconfig to view the IP configuration of network interfaces. In this example, the virtual network interface used by the source VM has an IP address of Once your VM has been prepared, you can create a VM template.
You must have access to vCenter Server for managing your ESXi hosts, virtual machines, storage, networks and other vSphere components. As mentioned above, in the configuration examples considered in this blog post, a VM running Xubuntu Linux is used. Two methods can be used for VM template creation — converting to a template and cloning to a template. Converting to a template. When you convert a VM to a template, your source VM gets replaced by the resulting template, and as a result, your source VM would be unavailable.
In order to convert a VM to a template, take the following steps:. Cloning to a template. This option allows you to preserve the original VM and copy the VM data to a template. The source VM can be powered on or off while you are cloning the VM to a template. Similarly to the previous method, navigate to your VM in the vSphere Web client. Now, your newly created VM template is displayed at the end of the list in the VMs and Templates section. As you can see, the storage usage of the original VM and the VM template is the same compression is not used for VM templates, as mentioned above.
If you go to the Storage section, then select the datastore and the directory of your VM template, you should see that all the files are similar to the files of your source VM except for one — the VMTX file.
0コメント