XEN Hypervisor Project
How to convert a guest domU to a model or template to use as the installation source of later guess domains
For this extremely short tutorial, I suppose you are familiar with the HXen hypervisor and what you specifically want to do is turn one of your VMs or DomUs installation into a template you can use to install other VMs.
I needed to do exactly the same some days ago, but I was facing some issues, so I am basically writing this article to help out those who may be having similar issues.
Basically the workflow to go from a domU to a template is the following:
- Power off the domU
- Make the domU disk available to the host system as a folder (mount the domu disk into the dom0)
- Create a tar of the folder
- Then, use the tar file as the installation source of other domUs
- Power off the domU
- Make the domU disk available to the host system as a folder (mount the domu disk into the dom0)
- Create a tar of the folder
- Then, use the tar file as the installation source of other domUs
Resources:
- https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide
