From 444605c12776a666d4718dfbe037744892cc0da5 Mon Sep 17 00:00:00 2001 From: sylviamoss Date: Tue, 25 May 2021 14:30:03 +0200 Subject: [PATCH] vendor oneandone --- command/plugin.go | 2 -- command/vendored_plugins.go | 2 ++ go.mod | 2 +- go.sum | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/command/plugin.go b/command/plugin.go index 58f718f84..348bbf558 100644 --- a/command/plugin.go +++ b/command/plugin.go @@ -15,7 +15,6 @@ import ( filebuilder "github.com/hashicorp/packer/builder/file" nullbuilder "github.com/hashicorp/packer/builder/null" - oneandonebuilder "github.com/hashicorp/packer/builder/oneandone" profitbricksbuilder "github.com/hashicorp/packer/builder/profitbricks" artificepostprocessor "github.com/hashicorp/packer/post-processor/artifice" checksumpostprocessor "github.com/hashicorp/packer/post-processor/checksum" @@ -41,7 +40,6 @@ type PluginCommand struct { var Builders = map[string]packersdk.Builder{ "file": new(filebuilder.Builder), "null": new(nullbuilder.Builder), - "oneandone": new(oneandonebuilder.Builder), "profitbricks": new(profitbricksbuilder.Builder), } diff --git a/command/vendored_plugins.go b/command/vendored_plugins.go index 146b4452b..e03cac710 100644 --- a/command/vendored_plugins.go +++ b/command/vendored_plugins.go @@ -46,6 +46,7 @@ import ( lxcbuilder "github.com/hashicorp/packer-plugin-lxc/builder/lxc" lxdbuilder "github.com/hashicorp/packer-plugin-lxd/builder/lxd" ncloudbuilder "github.com/hashicorp/packer-plugin-ncloud/builder/ncloud" + oneandonebuilder "github.com/hashicorp/packer-plugin-oneandone/builder/oneandone" openstackbuilder "github.com/hashicorp/packer-plugin-openstack/builder/openstack" oracleclassicbuilder "github.com/hashicorp/packer-plugin-oracle/builder/classic" oracleocibuilder "github.com/hashicorp/packer-plugin-oracle/builder/oci" @@ -114,6 +115,7 @@ var VendoredBuilders = map[string]packersdk.Builder{ "lxc": new(lxcbuilder.Builder), "lxd": new(lxdbuilder.Builder), "ncloud": new(ncloudbuilder.Builder), + "oneandone": new(oneandonebuilder.Builder), "openstack": new(openstackbuilder.Builder), "oracle-classic": new(oracleclassicbuilder.Builder), "oracle-oci": new(oracleocibuilder.Builder), diff --git a/go.mod b/go.mod index f1208a28f..7cc72811d 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module github.com/hashicorp/packer require ( - github.com/1and1/oneandone-cloudserver-sdk-go v1.0.1 github.com/biogo/hts v0.0.0-20160420073057-50da7d4131a3 github.com/cheggaaa/pb v1.0.27 github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e @@ -36,6 +35,7 @@ require ( github.com/hashicorp/packer-plugin-lxc v0.0.1 github.com/hashicorp/packer-plugin-lxd v0.0.1 github.com/hashicorp/packer-plugin-ncloud v0.0.2 + github.com/hashicorp/packer-plugin-oneandone v0.0.1 github.com/hashicorp/packer-plugin-openstack v0.0.2 github.com/hashicorp/packer-plugin-oracle v0.0.3 github.com/hashicorp/packer-plugin-outscale v0.0.1 diff --git a/go.sum b/go.sum index 6b0e029ac..1cde9041b 100644 --- a/go.sum +++ b/go.sum @@ -577,6 +577,8 @@ github.com/hashicorp/packer-plugin-lxd v0.0.1 h1:CrFbQmQmdgI3n1RHMPmTUDinRPnPa/b github.com/hashicorp/packer-plugin-lxd v0.0.1/go.mod h1:h3wqgxQiWy8pIJytTjeqXlAd1PXfNTvhTdODnvzDG3w= github.com/hashicorp/packer-plugin-ncloud v0.0.2 h1:MGvGkOVfzeosqOSs5dteghLwv9VRcRxTuLoLX1ssUag= github.com/hashicorp/packer-plugin-ncloud v0.0.2/go.mod h1:Hud2R1pkky96TQy3TPTTrr9Kej4b/4dqC/v+uEE0VDY= +github.com/hashicorp/packer-plugin-oneandone v0.0.1 h1:ypaXL9gpQEIE7zAiBU0GrbMxyRhx1izc1uYBewyxYFM= +github.com/hashicorp/packer-plugin-oneandone v0.0.1/go.mod h1:7zGckJD65NY3KNfnTDQsky+2USjplzVwtaLQOUgM9es= github.com/hashicorp/packer-plugin-openstack v0.0.2 h1:wGNE8es3Bn9auuIoX+gqT9chXzYY9GlM55eSpM4uwtU= github.com/hashicorp/packer-plugin-openstack v0.0.2/go.mod h1:rHAdd4+JmI+1z98Zx+lVOehgzLZT1Rjo2YgtS0NNvwM= github.com/hashicorp/packer-plugin-oracle v0.0.3 h1:yQEAfCD+TQqEWjrHLJTfdJis7axhwknzCKB07gnTZDA=