A custom modification of the virt-install-cloud.sh script located at https://github.com/clauded/virt-tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

# Config file
# Don't edit this directly unless you really must and don't
# keep this tree under git control.
# To make changes, put overrides in config.local
# Directory for configs, templates, etc
# Leave undefined to have it auto detect to path where script is
# WORKING_DIR=
# KVM pool paths
POOL=images
POOL_PATH=/data/images
# vm prefs : specify vm preferences for your guest
BACKUP_ISO_FILES=no # yes or no
net_interface="bridge=${bridge},model=virtio"
# guest image format: qcow2 or raw
FORMAT=raw
# convert image format : yes or no
CONVERT=yes
# Addresses to use by default for name servers
nameserver1="8.8.8.8"
nameserver2="1.1.1.1"
# Create ISO via method (genisoimage, xorriso, or cloud-localds)
iso_method="xorriso"
# CPU model to present to guests
# Options: specific cpu type, host-passthrough, host, host-model-only
# By default, we'll use host-passthrough since it offers the best perfs for the guests
# Don't use host-passthrough if you intend to migrate guests to different hw types live
cpumodel="host-passthrough"