add vsphere builder's artifact to vsphere-template's supported types

This commit is contained in:
Joshua Foster 2020-05-01 11:17:31 -04:00
parent f115784a72
commit 00d0632f4a
1 changed files with 6 additions and 3 deletions

View File

@ -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 {