From 00d0632f4a0765202d40381dc304dfd8f70a3953 Mon Sep 17 00:00:00 2001 From: Joshua Foster Date: Fri, 1 May 2020 11:17:31 -0400 Subject: [PATCH] add vsphere builder's artifact to vsphere-template's supported types --- post-processor/vsphere-template/post-processor.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/post-processor/vsphere-template/post-processor.go b/post-processor/vsphere-template/post-processor.go index 59ce16a77..490453e1b 100644 --- a/post-processor/vsphere-template/post-processor.go +++ b/post-processor/vsphere-template/post-processor.go @@ -10,20 +10,23 @@ import ( "strings" "time" - "github.com/hashicorp/hcl/v2/hcldec" vmwcommon "github.com/hashicorp/packer/builder/vmware/common" + vsphere "github.com/hashicorp/packer/builder/vsphere/common" + vspherepost "github.com/hashicorp/packer/post-processor/vsphere" + + "github.com/hashicorp/hcl/v2/hcldec" "github.com/hashicorp/packer/common" "github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/packer" - "github.com/hashicorp/packer/post-processor/vsphere" "github.com/hashicorp/packer/template/interpolate" "github.com/vmware/govmomi" ) var builtins = map[string]string{ - vsphere.BuilderId: "vmware", + vspherepost.BuilderId: "vmware", vmwcommon.BuilderIdESX: "vmware", + vsphere.BuilderId: "vsphere", } type Config struct {