tf-libvirt/vms/terraform.tfvars
2021-04-28 02:41:22 +02:00

39 lines
986 B
HCL

# project name
projectname = "vms"
# OS image
#sourceimage = "https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.3.2011-20201204.2.x86_64.qcow2"
sourceimage = "https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.qcow2"
# the base image is the source image for all VMs created from it
baseimagediskpool = "default"
# domain and network settings
domainname = "local"
networkname = "default" # default==NAT
# host-specific settings
# RAM in bytes
# disk size in bytes (disk size must be greater than source image virtual size)
hosts = {
"victim" = {
name = "victim",
vcpu = 1,
memory = "512",
diskpool = "default",
disksize = "4300000000",
mac = "00:00:00:13:37:22",
},
"attacker" = {
name = "attacker",
vcpu = 1,
memory = "1024",
diskpool = "default",
disksize = "4300000000",
mac = "00:00:00:13:37:23",
},
}