A custom modification of the virt-install-cloud.sh script located at https://github.com/clauded/virt-tools
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Brielle Bruns 12ce30e202 Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... 1 个月前
backups Fix typos with config backups 1年前
images Download images to images/ and store them there, as to not clutter up the main dir. Add images/ directory to gitignore 2 年前
network no message 1年前
output Add output dir 2 年前
.gitignore Download images to images/ and store them there, as to not clutter up the main dir. Add images/ directory to gitignore 2 年前
LICENSE First commit 2 年前
README.md no message 1年前
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 1年前
distros Add Deb 10 buster to distros 5 个月前
meta-data no message 1年前
user-data no message 1年前
virt-install-cloud.sh Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... 1 个月前

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.