test: improve VM image creation.

This commit is contained in:
Alexandre Pujol 2023-07-08 12:34:18 +01:00
parent 62cb1d9b96
commit 537e34739d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 19 additions and 6 deletions

View file

@ -29,7 +29,7 @@ variable "ssh_privatekey" {
}
variable "disk_size" {
description = "Disk size of the App VM to build"
description = "Disk size of the VM to build"
type = string
default = "10G"
}
@ -46,6 +46,12 @@ variable "base_dir" {
default = "/var/lib/libvirt/images"
}
variable "firmware" {
description = "Path to the UEFI firmware"
type = string
default = "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd"
}
variable "output" {
description = "Output build directory"
type = string
@ -82,8 +88,8 @@ variable "release" {
version = "22.04.2",
},
"debian" : {
codename = "bullseye",
version = "11",
codename = "bookworm",
version = "12",
}
"opensuse" : {
codename = "tumbleweed",