NethServer is capable of running virtual machines using KVM and libvirt.
Virtualization software can be installed and started using the command line:
yum -y install qemu-kvm libvirt virt-install libvirt-client systemctl enable libvirtd systemctl start libvirtd
If NethServer is used as DHCP server, the dnsmasq instance launched by libvirtd will conflict with the default one.
To avoid the conflict, remove the
default libvirt NAT network:
systemctl stop dnsmasq systemctl start libvirtd virsh net-destroy default virsh net-autostart default --disable systemctl start dnsmasq
The recommended client to manage virtual machines is Virtual Machine Manager (virt-manager).
Install virt-manager in your Linux desktop, then create a new connection to your NethServer using the SSH protocol.
Alternatively, virt-manager can be directly installed on NethServer:
yum -y install virt-manager
Then, use X11 Forwarding through SSH to view virt-manager graphical interface.