diff --git a/sources/build.pkr.hcl b/sources/build.pkr.hcl index c6d67fc..0975f8b 100644 --- a/sources/build.pkr.hcl +++ b/sources/build.pkr.hcl @@ -16,10 +16,14 @@ packer { version = ">= 1.0" source = "github.com/hashicorp/vmware" } - hyperv = { - version = "= 1.1.1" - source = "github.com/hashicorp/hyperv" - } + hyperv = { + version = "= 1.1.1" + source = "github.com/hashicorp/hyperv" + } + virtualbox = { + source = "github.com/hashicorp/virtualbox" + version = "~> 1" + } } } @@ -69,7 +73,7 @@ build { post-processor "vagrant-cloud" { name = "upload" access_token = var.vagrant_cloud_token - architecture = var.architecture + architecture = var.arch box_tag = "boxen/${local.name}" default_architecture = "amd64" version = var.build diff --git a/sources/inputs.pkr.hcl b/sources/inputs.pkr.hcl index 6fce5b7..1e9dcd5 100644 --- a/sources/inputs.pkr.hcl +++ b/sources/inputs.pkr.hcl @@ -75,7 +75,7 @@ variable "http_directory" { } locals { - name = "${var.distro}-${var.version}-${var.arch}" + name = "${var.distro}-${var.version}" description = templatefile("../README.box.md", { distro = var.distro arch = var.arch