How to create a vmware template with vmware workstation


















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.

The VM configuration file has a. VMTX extension instead of a. Now that a VM template is created, you can create a VM guest customization specification. In order to do this, open the Menu, then click Policies and Profiles. Make sure that VM Customization Specifications are selected in the left pane.

Click New to create a new VM customization specification. You should then see a new wizard window launched. A computer name cannot be more than 63 characters in length — if you try to input anything longer, the name gets truncated.

Click the Next button to continue. Click the icon with the row of three dots and select Edit in the resulting context menu. A new configuration window is launched. There are three options available in the IPv4 tab. IPv6 can be disabled. Click OK when you have finished configuring the network options. Then click Next. I've been working at Liquid Web for a bit less than two years. Always looking for knowledge to expand my expertise, thus tackling new technologies and solutions one day at a time.

Join our mailing list to receive news, tips, strategies, and inspiration you need to grow your business. Our Sales and Support teams are available 24 hours by phone or e-mail to assist. Search Search. What is a VMware Template? Guest operating system. Virtual disks. Software that you want to use. Configuration files. How to Create a Template in VMware.

Clone to Template Convert to Template. All images are from a test environment. While the IP addresses and directory names may be different, all options within the template will be the same. Step 1. Next, right-click on the VM you want to clone. Step 2. Step 3. Step 4. Step 5. Customize the operating system. Power on virtual machine after creation. Step 6. Step 7. What is VMware vSphere? Types of VMware Disks.

About the Author: Dean Conally I am a Linux enthusiast and console gamer, dog lover, and amateur photographer. Common Fixes Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback?



0コメント

  • 1000 / 1000