Improve naming and architecture listing
This commit is contained in:
@@ -16,10 +16,14 @@ packer {
|
|||||||
version = ">= 1.0"
|
version = ">= 1.0"
|
||||||
source = "github.com/hashicorp/vmware"
|
source = "github.com/hashicorp/vmware"
|
||||||
}
|
}
|
||||||
hyperv = {
|
hyperv = {
|
||||||
version = "= 1.1.1"
|
version = "= 1.1.1"
|
||||||
source = "github.com/hashicorp/hyperv"
|
source = "github.com/hashicorp/hyperv"
|
||||||
}
|
}
|
||||||
|
virtualbox = {
|
||||||
|
source = "github.com/hashicorp/virtualbox"
|
||||||
|
version = "~> 1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,7 +73,7 @@ build {
|
|||||||
post-processor "vagrant-cloud" {
|
post-processor "vagrant-cloud" {
|
||||||
name = "upload"
|
name = "upload"
|
||||||
access_token = var.vagrant_cloud_token
|
access_token = var.vagrant_cloud_token
|
||||||
architecture = var.architecture
|
architecture = var.arch
|
||||||
box_tag = "boxen/${local.name}"
|
box_tag = "boxen/${local.name}"
|
||||||
default_architecture = "amd64"
|
default_architecture = "amd64"
|
||||||
version = var.build
|
version = var.build
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ variable "http_directory" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
locals {
|
locals {
|
||||||
name = "${var.distro}-${var.version}-${var.arch}"
|
name = "${var.distro}-${var.version}"
|
||||||
description = templatefile("../README.box.md", {
|
description = templatefile("../README.box.md", {
|
||||||
distro = var.distro
|
distro = var.distro
|
||||||
arch = var.arch
|
arch = var.arch
|
||||||
|
|||||||
Reference in New Issue
Block a user