How to install KVM on CentOS 8 Headless Server

Originally published at:

How can I install KVM (Kernel-based Virtual Machine) on a CentOS 8 (CentOS Enterprise Linux) headeless server? How do I set up KVM on a CentOS 8 and use cloud images/cloud-init for installing guest VM?

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki