Add vagrant cloud taken for uploads
This commit is contained in:
@@ -22,6 +22,7 @@ build {
|
||||
|
||||
post-processor "vagrant-cloud" {
|
||||
name = "upload"
|
||||
access_token = var.vagrant_cloud_token
|
||||
box_tag = "boxen/${local.name}"
|
||||
version = local.build
|
||||
version_description = local.description
|
||||
|
||||
@@ -57,6 +57,11 @@ variable "headless" {
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "vagrant_cloud_token" {
|
||||
type = string
|
||||
default = env("VAGRANT_CLOUD_TOKEN")
|
||||
}
|
||||
|
||||
locals {
|
||||
name = "${var.distro}-${var.version}-${var.arch}"
|
||||
build = formatdate("YYYYMMDDhh", timestamp())
|
||||
|
||||
Reference in New Issue
Block a user