Skip to content

Commit

Permalink
remove vagrant plugin from bundled plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
azr committed Nov 3, 2021
1 parent bfe200d commit 8acd453
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 0 additions & 6 deletions command/vendored_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ import (
tritonbuilder "github.com/hashicorp/packer-plugin-triton/builder/triton"
uclouduhostbuilder "github.com/hashicorp/packer-plugin-ucloud/builder/ucloud/uhost"
ucloudimportpostprocessor "github.com/hashicorp/packer-plugin-ucloud/post-processor/ucloud-import"
vagrantbuilder "github.com/hashicorp/packer-plugin-vagrant/builder/vagrant"
vagrantpostprocessor "github.com/hashicorp/packer-plugin-vagrant/post-processor/vagrant"
vagrantcloudpostprocessor "github.com/hashicorp/packer-plugin-vagrant/post-processor/vagrant-cloud"
yandexbuilder "github.com/hashicorp/packer-plugin-yandex/builder/yandex"
yandexexportpostprocessor "github.com/hashicorp/packer-plugin-yandex/post-processor/yandex-export"
yandeximportpostprocessor "github.com/hashicorp/packer-plugin-yandex/post-processor/yandex-import"
Expand Down Expand Up @@ -86,7 +83,6 @@ var VendoredBuilders = map[string]packersdk.Builder{
"tencentcloud-cvm": new(tencentcloudcvmbuilder.Builder),
"triton": new(tritonbuilder.Builder),
"ucloud-uhost": new(uclouduhostbuilder.Builder),
"vagrant": new(vagrantbuilder.Builder),
"osc-bsu": new(oscbsubuilder.Builder),
"osc-bsusurrogate": new(oscbsusurrogatebuilder.Builder),
"osc-bsuvolume": new(oscbsuvolumebuilder.Builder),
Expand Down Expand Up @@ -114,8 +110,6 @@ var VendoredPostProcessors = map[string]packersdk.PostProcessor{
"alicloud-import": new(alicloudimportpostprocessor.PostProcessor),
"digitalocean-import": new(digitaloceanimportpostprocessor.PostProcessor),
"ucloud-import": new(ucloudimportpostprocessor.PostProcessor),
"vagrant": new(vagrantpostprocessor.PostProcessor),
"vagrant-cloud": new(vagrantcloudpostprocessor.PostProcessor),
"yandex-export": new(yandexexportpostprocessor.PostProcessor),
"yandex-import": new(yandeximportpostprocessor.PostProcessor),
}
Expand Down
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func loadConfig() (*config, error) {

"qemu": "github.com/hashicorp/qemu",

// "vagrant": "github.com/hashicorp/vagrant",
"vagrant": "github.com/hashicorp/vagrant",

"virtualbox-iso": "github.com/hashicorp/virtualbox",
"virtualbox-ovf": "github.com/hashicorp/virtualbox",
Expand Down Expand Up @@ -381,8 +381,9 @@ func loadConfig() (*config, error) {
"googlecompute-import": "github.com/hashicorp/googlecompute",

"exoscale-import": "github.com/exoscale/exoscale",
// "vagrant": "github.com/hashicorp/vagrant",
// "vagrant-cloud": "github.com/hashicorp/vagrant",

"vagrant": "github.com/hashicorp/vagrant",
"vagrant-cloud": "github.com/hashicorp/vagrant",

"vsphere": "github.com/hashicorp/vsphere",
"vsphere-template": "github.com/hashicorp/vsphere",
Expand Down

0 comments on commit 8acd453

Please sign in to comment.