Easily create a KVM virtual machine using virt-install, xorriso, and cloud init.
Who Originally Created This?
The original creator is Claude Durocher and the repo is here.
I heavily modified the script breaking it out into multiple chunks and cleaning up some of the features and options to make it a bit more flexible and usable in my situation.
How Does The Script Work?
virt-install-cloud.sh hostname domain disk-size ramsize
You'll need to edit the virt-install-cloud.sh script to change disk pool locations, as well as various other variables for networking bridges, etc. You'll also need to edit user-data and meta-data and make the appropriate changes there.