A custom modification of the virt-install-cloud.sh script located at https://github.com/clauded/virt-tools
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Brielle Bruns 12ce30e202 Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... pirms 1 mēnesi
backups Fix typos with config backups pirms 1 gada
images Download images to images/ and store them there, as to not clutter up the main dir. Add images/ directory to gitignore pirms 2 gadiem
network no message pirms 1 gada
output Add output dir pirms 2 gadiem
.gitignore Download images to images/ and store them there, as to not clutter up the main dir. Add images/ directory to gitignore pirms 2 gadiem
LICENSE First commit pirms 2 gadiem
README.md no message pirms 1 gada
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 pirms 1 gada
distros Add Deb 10 buster to distros pirms 5 mēnešiem
meta-data no message pirms 1 gada
user-data no message pirms 1 gada
virt-install-cloud.sh Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... pirms 1 mēnesi

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.