diff options
Diffstat (limited to 'variables.tf')
| -rw-r--r-- | variables.tf | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/variables.tf b/variables.tf index 0dbb12f..99d67e3 100644 --- a/variables.tf +++ b/variables.tf @@ -1,16 +1,25 @@ # définition des variables +variable "nb" { + description = "nombre de vms" + type = number + default = 1 +} + 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 "package" { - description = "nom du package manager (dnf/apt) pour installer qemu-guest-agent le cas échéant)" +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" } |
