test(packer): add cpu & ram internal variable.
This commit is contained in:
parent
aae36aa4e0
commit
4e73f7209f
5 changed files with 22 additions and 10 deletions
|
|
@ -8,8 +8,8 @@ source "qemu" "debian" {
|
|||
iso_checksum = "file:https://cdimage.debian.org/images/cloud/${var.release.debian.codename}/latest/SHA512SUMS"
|
||||
iso_target_path = "${var.iso_dir}/debian-${var.release.debian.codename}-cloudimg-amd64.img"
|
||||
cpu_model = "host"
|
||||
cpus = 6
|
||||
memory = 4096
|
||||
cpus = var.cpus
|
||||
memory = var.ram
|
||||
disk_size = var.disk_size
|
||||
accelerator = "kvm"
|
||||
headless = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue