summaryrefslogtreecommitdiff
path: root/variables.tf
blob: d7c03a7b23675f4765763b65adae608f5470f956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# définition des variables

variable "vm_count" {
  type    = number
  default = 2
}

variable "nom" {
  description = "nom distribution"
  type        = string
  default     = "debian"
}

variable "image" {
  description = "source de l'image disque"
  type        = string
  default     = "/home/jerome/Téléchargements/isos/debian-11-generic-amd64.qcow2"
}

variable "packages" {
  description = "commande pour installer notamment qemu-guest-agent le cas échéant)"
  type        = string
  default     = "apt update && apt install -y qemu-guest-agent && systemctl start qemu-guest-agent"
}