A custom modification of the virt-install-cloud.sh script located at https://github.com/clauded/virt-tools
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brie Bruns 12ce30e202 Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... 3 years ago
backups Fix typos with config backups 5 years ago
images Download images to images/ and store them there, as to not clutter up the main dir. Add images/ directory to gitignore 5 years ago
network no message 5 years ago
output Add output dir 5 years ago
.gitignore Download images to images/ and store them there, as to not clutter up the main dir. Add images/ directory to gitignore 5 years ago
LICENSE First commit 5 years ago
README.md no message 5 years ago
config Add cpumodel setting to config to work around an issue we've seen possibly related to RH bug 1439933 that impacts deb 9 as well 5 years ago
distros Add Deb 10 buster to distros 4 years ago
meta-data no message 5 years ago
user-data no message 5 years ago
virt-install-cloud.sh Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... 3 years ago

README.md

virt-install-cloud

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?

Short story:

virt-install-cloud.sh -h

Long Story:

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.