vms/recipes/debian/variables.pkr.hcl

64 lines
968 B
HCL
Raw Normal View History

2023-09-28 16:34:53 +02:00
variable "name" {
type = string
default = "debian"
}
variable "version" {
type = string
2023-10-20 16:19:23 +02:00
default = "12.2.0"
2023-09-28 16:34:53 +02:00
}
variable "short_version" {
type = string
2023-10-20 16:19:23 +02:00
default = "12"
2023-09-28 16:34:53 +02:00
}
variable "arch" {
type = string
2023-10-20 16:19:23 +02:00
default = "amd64"
2023-09-28 16:34:53 +02:00
}
variable "output_dir" {
type = string
default = "output/debian/"
}
variable "source_url" {
type = string
2023-10-20 16:19:23 +02:00
default = "https://cdimage.debian.org/cdimage/release/12.2.0"
2023-09-28 16:34:53 +02:00
}
variable "iso_cd_checksum" {
type = string
2023-10-20 16:19:23 +02:00
default = "file:https://cdimage.debian.org/cdimage/release/12.2.0/amd64/iso-cd/SHA256SUMS"
2023-09-28 16:34:53 +02:00
}
variable "image_version" {
type = string
default = "0.0.1"
}
variable "one_user" {
type = string
default = env("ONE_USER")
}
variable "one_token" {
type = string
default = env("ONE_TOKEN")
}
variable "boot_command" {
type = list(string)
default = []
}
variable "cloud_init_runcmd" {
type = list(string)
default = [ "uname" ]
}
2023-10-20 16:19:23 +02:00
variable "headless" {
type = bool
default = true
}