Continuing with the preparation of my lab I have installed a vm with RHEL 8.4 updated and from there I will create a template.
To create a template and use it later in the KVM the steps are as follows:
obs: My host is an Ubuntu 20.04
Install the tools to work with guests:
sudo apt install libguestfs-tools
List the vms:
virsh list --all
Prepare the rhel8-2 virtual machine to be a template
sudo virt-sysprep -d rhel8-2
Rename the vm to be a template
sudo virsh domrename rhel8-2 rhel8-Template
Open the VM Manager (virt-manager), and then select the rhel-Template. Right-click on it and select the Clone option, which will open the Clone Virtual Machine window.
Be First to Comment