tests(packer): update & cleanup tests images.

This commit is contained in:
Alexandre Pujol 2024-10-06 22:01:39 +01:00
parent a5cafe26ea
commit 03b777340d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 202 additions and 292 deletions

View file

@ -22,12 +22,6 @@ variable "ssh_publickey" {
default = "~/.ssh/id_ed25519.pub"
}
variable "ssh_privatekey" {
description = "Path to the ssh private key"
type = string
default = "~/.ssh/id_ed25519"
}
variable "disk_size" {
description = "Disk size of the VM to build"
type = string
@ -49,7 +43,7 @@ variable "base_dir" {
variable "firmware" {
description = "Path to the UEFI firmware"
type = string
default = "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd"
default = "/usr/share/edk2/x64/OVMF_CODE.fd"
}
variable "output" {
@ -83,7 +77,7 @@ variable "release" {
version = string
}))
default = {
"ubuntu" : {
"ubuntu22" : {
codename = "jammy",
version = "22.04.2",
},
@ -99,5 +93,11 @@ variable "release" {
codename = "tumbleweed",
version = "",
}
"fedora" : {
codename = "40",
version = "1.14",
}
}
}
}