[proxmox] add proxmox builder alias

Adds an alias for `proxmox` that points to proxmox-iso builder for
backwards compatibility
This commit is contained in:
Jeff Wong 2020-10-07 23:43:12 -07:00
parent 3e0633fc20
commit a140c13943
No known key found for this signature in database
GPG Key ID: D4EEB78E484F8A83
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package proxmox
import (
"github.com/hashicorp/packer/builder/proxmox/iso"
)
type Builder = proxmoxiso.Builder

View File

@ -48,6 +48,7 @@ import (
parallelsisobuilder "github.com/hashicorp/packer/builder/parallels/iso"
parallelspvmbuilder "github.com/hashicorp/packer/builder/parallels/pvm"
profitbricksbuilder "github.com/hashicorp/packer/builder/profitbricks"
proxmoxbuilder "github.com/hashicorp/packer/builder/proxmox"
proxmoxclonebuilder "github.com/hashicorp/packer/builder/proxmox/clone"
proxmoxisobuilder "github.com/hashicorp/packer/builder/proxmox/iso"
qemubuilder "github.com/hashicorp/packer/builder/qemu"
@ -146,6 +147,7 @@ var Builders = map[string]packer.Builder{
"parallels-iso": new(parallelsisobuilder.Builder),
"parallels-pvm": new(parallelspvmbuilder.Builder),
"profitbricks": new(profitbricksbuilder.Builder),
"proxmox": new(proxmoxbuilder.Builder),
"proxmox-clone": new(proxmoxclonebuilder.Builder),
"proxmox-iso": new(proxmoxisobuilder.Builder),
"qemu": new(qemubuilder.Builder),