test: improve VM image creation.
This commit is contained in:
parent
62cb1d9b96
commit
537e34739d
7 changed files with 19 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue