diff --git a/builder/alicloud/ecs/builder.go b/builder/alicloud/ecs/builder.go index c8980f063..a207645b0 100644 --- a/builder/alicloud/ecs/builder.go +++ b/builder/alicloud/ecs/builder.go @@ -9,8 +9,8 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/alicloud/ecs/run_config.go b/builder/alicloud/ecs/run_config.go index f9450ed15..27d8f4c98 100644 --- a/builder/alicloud/ecs/run_config.go +++ b/builder/alicloud/ecs/run_config.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/alicloud/ecs/run_config_test.go b/builder/alicloud/ecs/run_config_test.go index f0cb6d67b..1c5e99198 100644 --- a/builder/alicloud/ecs/run_config_test.go +++ b/builder/alicloud/ecs/run_config_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) func testConfig() *RunConfig { diff --git a/builder/alicloud/ecs/step_config_key_pair.go b/builder/alicloud/ecs/step_config_key_pair.go index 49e551f01..c89d812c9 100644 --- a/builder/alicloud/ecs/step_config_key_pair.go +++ b/builder/alicloud/ecs/step_config_key_pair.go @@ -7,7 +7,7 @@ import ( "runtime" "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index 351f907ee..cc7ee691d 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/amazon/common/run_config_test.go b/builder/amazon/common/run_config_test.go index 7be00a47a..c2aaed044 100644 --- a/builder/amazon/common/run_config_test.go +++ b/builder/amazon/common/run_config_test.go @@ -6,7 +6,7 @@ import ( "regexp" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" ) diff --git a/builder/amazon/common/step_get_password.go b/builder/amazon/common/step_get_password.go index b35de86cd..54d57df45 100644 --- a/builder/amazon/common/step_get_password.go +++ b/builder/amazon/common/step_get_password.go @@ -12,7 +12,7 @@ import ( "time" "github.com/aws/aws-sdk-go/service/ec2" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/retry" diff --git a/builder/amazon/common/step_key_pair.go b/builder/amazon/common/step_key_pair.go index 2de8d676c..87335c0b9 100644 --- a/builder/amazon/common/step_key_pair.go +++ b/builder/amazon/common/step_key_pair.go @@ -8,7 +8,7 @@ import ( "time" "github.com/aws/aws-sdk-go/service/ec2" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/retry" diff --git a/builder/amazon/common/step_run_source_instance.go b/builder/amazon/common/step_run_source_instance.go index 49e32fab2..7b07e23e8 100644 --- a/builder/amazon/common/step_run_source_instance.go +++ b/builder/amazon/common/step_run_source_instance.go @@ -12,7 +12,7 @@ import ( "github.com/aws/aws-sdk-go/service/ec2" "github.com/hashicorp/packer/builder/amazon/common/awserrors" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/retry" diff --git a/builder/amazon/common/step_run_spot_instance.go b/builder/amazon/common/step_run_spot_instance.go index 587efae64..d91aa360e 100644 --- a/builder/amazon/common/step_run_spot_instance.go +++ b/builder/amazon/common/step_run_spot_instance.go @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-sdk-go/service/ec2" "github.com/aws/aws-sdk-go/service/ec2/ec2iface" "github.com/hashicorp/packer/builder/amazon/common/awserrors" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/random" diff --git a/builder/amazon/common/step_run_spot_instance_test.go b/builder/amazon/common/step_run_spot_instance_test.go index e0c1f2819..44c93ed2a 100644 --- a/builder/amazon/common/step_run_spot_instance_test.go +++ b/builder/amazon/common/step_run_spot_instance_test.go @@ -9,8 +9,8 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/ec2" "github.com/aws/aws-sdk-go/service/ec2/ec2iface" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/builder/amazon/common/step_security_group.go b/builder/amazon/common/step_security_group.go index 515e4a42c..32c4b9b40 100644 --- a/builder/amazon/common/step_security_group.go +++ b/builder/amazon/common/step_security_group.go @@ -10,7 +10,7 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/service/ec2" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/amazon/ebs/builder.go b/builder/amazon/ebs/builder.go index a0808826a..d8696c1d0 100644 --- a/builder/amazon/ebs/builder.go +++ b/builder/amazon/ebs/builder.go @@ -16,8 +16,8 @@ import ( "github.com/aws/aws-sdk-go/service/iam" "github.com/hashicorp/hcl/v2/hcldec" awscommon "github.com/hashicorp/packer/builder/amazon/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/amazon/ebssurrogate/builder.go b/builder/amazon/ebssurrogate/builder.go index fef187ef9..747415e23 100644 --- a/builder/amazon/ebssurrogate/builder.go +++ b/builder/amazon/ebssurrogate/builder.go @@ -14,8 +14,8 @@ import ( "github.com/aws/aws-sdk-go/service/iam" "github.com/hashicorp/hcl/v2/hcldec" awscommon "github.com/hashicorp/packer/builder/amazon/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/amazon/ebsvolume/builder.go b/builder/amazon/ebsvolume/builder.go index 038200e59..e40402c46 100644 --- a/builder/amazon/ebsvolume/builder.go +++ b/builder/amazon/ebsvolume/builder.go @@ -13,8 +13,8 @@ import ( "github.com/aws/aws-sdk-go/service/iam" "github.com/hashicorp/hcl/v2/hcldec" awscommon "github.com/hashicorp/packer/builder/amazon/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/amazon/instance/builder.go b/builder/amazon/instance/builder.go index 8f19471f7..22e1b8ffc 100644 --- a/builder/amazon/instance/builder.go +++ b/builder/amazon/instance/builder.go @@ -16,8 +16,8 @@ import ( "github.com/aws/aws-sdk-go/service/iam" "github.com/hashicorp/hcl/v2/hcldec" awscommon "github.com/hashicorp/packer/builder/amazon/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/azure/arm/builder.go b/builder/azure/arm/builder.go index 505df319e..75b43f818 100644 --- a/builder/azure/arm/builder.go +++ b/builder/azure/arm/builder.go @@ -18,7 +18,7 @@ import ( packerAzureCommon "github.com/hashicorp/packer/builder/azure/common" "github.com/hashicorp/packer/builder/azure/common/constants" "github.com/hashicorp/packer/builder/azure/common/lin" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/azure/arm/config.go b/builder/azure/arm/config.go index d9d6f029a..0d87053fd 100644 --- a/builder/azure/arm/config.go +++ b/builder/azure/arm/config.go @@ -28,8 +28,8 @@ import ( "github.com/hashicorp/packer/builder/azure/common/client" "github.com/hashicorp/packer/builder/azure/common/constants" "github.com/hashicorp/packer/builder/azure/pkcs12" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/azure/dtl/builder.go b/builder/azure/dtl/builder.go index fd21634f0..9838b21e7 100644 --- a/builder/azure/dtl/builder.go +++ b/builder/azure/dtl/builder.go @@ -17,7 +17,7 @@ import ( packerAzureCommon "github.com/hashicorp/packer/builder/azure/common" "github.com/hashicorp/packer/builder/azure/common/constants" "github.com/hashicorp/packer/builder/azure/common/lin" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/azure/dtl/config.go b/builder/azure/dtl/config.go index de4ed8138..72a4cdeae 100644 --- a/builder/azure/dtl/config.go +++ b/builder/azure/dtl/config.go @@ -24,8 +24,8 @@ import ( "github.com/hashicorp/packer/builder/azure/common/constants" "github.com/hashicorp/packer/builder/azure/pkcs12" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/cloudstack/builder.go b/builder/cloudstack/builder.go index 0873504e0..4d17e6144 100644 --- a/builder/cloudstack/builder.go +++ b/builder/cloudstack/builder.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/cloudstack/config.go b/builder/cloudstack/config.go index 503008bfb..a1ca124a5 100644 --- a/builder/cloudstack/config.go +++ b/builder/cloudstack/config.go @@ -9,8 +9,8 @@ import ( "os" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" diff --git a/builder/cloudstack/step_keypair.go b/builder/cloudstack/step_keypair.go index 6e0935416..1e70149d3 100644 --- a/builder/cloudstack/step_keypair.go +++ b/builder/cloudstack/step_keypair.go @@ -6,7 +6,7 @@ import ( "os" "runtime" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/xanzy/go-cloudstack/cloudstack" diff --git a/builder/digitalocean/builder.go b/builder/digitalocean/builder.go index 7a7ef9bc5..6734641f4 100644 --- a/builder/digitalocean/builder.go +++ b/builder/digitalocean/builder.go @@ -11,7 +11,7 @@ import ( "github.com/digitalocean/godo" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/digitalocean/config.go b/builder/digitalocean/config.go index 0eff8d789..7a6c87ea8 100644 --- a/builder/digitalocean/config.go +++ b/builder/digitalocean/config.go @@ -10,8 +10,8 @@ import ( "regexp" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/docker/builder.go b/builder/docker/builder.go index d77e7c9d1..af78d0945 100644 --- a/builder/docker/builder.go +++ b/builder/docker/builder.go @@ -5,7 +5,7 @@ import ( "log" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/docker/config.go b/builder/docker/config.go index 5c341adb7..14463dff5 100644 --- a/builder/docker/config.go +++ b/builder/docker/config.go @@ -7,8 +7,8 @@ import ( "fmt" "os" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/googlecompute/builder.go b/builder/googlecompute/builder.go index 8e2ece5e7..e2d41c356 100644 --- a/builder/googlecompute/builder.go +++ b/builder/googlecompute/builder.go @@ -8,7 +8,7 @@ import ( "log" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/googlecompute/config.go b/builder/googlecompute/config.go index d844ecb61..f7037836c 100644 --- a/builder/googlecompute/config.go +++ b/builder/googlecompute/config.go @@ -11,8 +11,8 @@ import ( "runtime" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/googlecompute/config_test.go b/builder/googlecompute/config_test.go index dab12c9f9..e257d14c9 100644 --- a/builder/googlecompute/config_test.go +++ b/builder/googlecompute/config_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) func TestConfigPrepare(t *testing.T) { diff --git a/builder/googlecompute/step_start_tunnel.go b/builder/googlecompute/step_start_tunnel.go index 2c6d02ddd..55e9ec594 100644 --- a/builder/googlecompute/step_start_tunnel.go +++ b/builder/googlecompute/step_start_tunnel.go @@ -18,7 +18,7 @@ import ( "text/template" "time" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/net" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/googlecompute/step_start_tunnel_test.go b/builder/googlecompute/step_start_tunnel_test.go index a65d457dd..19642d201 100644 --- a/builder/googlecompute/step_start_tunnel_test.go +++ b/builder/googlecompute/step_start_tunnel_test.go @@ -8,7 +8,7 @@ import ( "runtime" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) type MockTunnelDriver struct { diff --git a/builder/googlecompute/winrm.go b/builder/googlecompute/winrm.go index 7d5370866..0734d4b6e 100644 --- a/builder/googlecompute/winrm.go +++ b/builder/googlecompute/winrm.go @@ -1,7 +1,7 @@ package googlecompute import ( - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" ) diff --git a/builder/hcloud/builder.go b/builder/hcloud/builder.go index f2b0d5a83..e8348708b 100644 --- a/builder/hcloud/builder.go +++ b/builder/hcloud/builder.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/hcloud/config.go b/builder/hcloud/config.go index 023448dc3..6ddd25f18 100644 --- a/builder/hcloud/config.go +++ b/builder/hcloud/config.go @@ -8,8 +8,8 @@ import ( "os" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" diff --git a/builder/hyperone/builder.go b/builder/hyperone/builder.go index 8b33308ce..b11520d43 100644 --- a/builder/hyperone/builder.go +++ b/builder/hyperone/builder.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/hyperone/config.go b/builder/hyperone/config.go index 65ed2e577..419cce44d 100644 --- a/builder/hyperone/config.go +++ b/builder/hyperone/config.go @@ -10,8 +10,8 @@ import ( "os" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/json" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/hyperv/common/ssh_config.go b/builder/hyperv/common/ssh_config.go index 48ffad38a..cd2c24081 100644 --- a/builder/hyperv/common/ssh_config.go +++ b/builder/hyperv/common/ssh_config.go @@ -1,7 +1,7 @@ package common import ( - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/hyperv/iso/builder.go b/builder/hyperv/iso/builder.go index b8adf10c8..24e6f91ae 100644 --- a/builder/hyperv/iso/builder.go +++ b/builder/hyperv/iso/builder.go @@ -13,9 +13,9 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" hypervcommon "github.com/hashicorp/packer/builder/hyperv/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/hyperv/vmcx/builder.go b/builder/hyperv/vmcx/builder.go index 8aa28eb34..fa25bcab4 100644 --- a/builder/hyperv/vmcx/builder.go +++ b/builder/hyperv/vmcx/builder.go @@ -13,9 +13,9 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" hypervcommon "github.com/hashicorp/packer/builder/hyperv/common" powershell "github.com/hashicorp/packer/builder/hyperv/common/powershell" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/jdcloud/builder.go b/builder/jdcloud/builder.go index 25e0c7df1..1f0119750 100644 --- a/builder/jdcloud/builder.go +++ b/builder/jdcloud/builder.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/jdcloud/instance_config.go b/builder/jdcloud/instance_config.go index 1d43142f9..978925ed5 100644 --- a/builder/jdcloud/instance_config.go +++ b/builder/jdcloud/instance_config.go @@ -3,7 +3,7 @@ package jdcloud import ( "fmt" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/linode/builder.go b/builder/linode/builder.go index c0b7a1dbb..94f175520 100644 --- a/builder/linode/builder.go +++ b/builder/linode/builder.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" "github.com/linode/linodego" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/linode/config.go b/builder/linode/config.go index 947fd8271..549d015c1 100644 --- a/builder/linode/config.go +++ b/builder/linode/config.go @@ -11,8 +11,8 @@ import ( "regexp" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/ncloud/builder.go b/builder/ncloud/builder.go index dfde5f3c4..b9c975cee 100644 --- a/builder/ncloud/builder.go +++ b/builder/ncloud/builder.go @@ -5,7 +5,7 @@ import ( "github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/ncloud/config.go b/builder/ncloud/config.go index 90c0347c7..26cdd75a6 100644 --- a/builder/ncloud/config.go +++ b/builder/ncloud/config.go @@ -10,8 +10,8 @@ import ( "github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud" "github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/null/builder.go b/builder/null/builder.go index 762277f1a..11d3d4490 100644 --- a/builder/null/builder.go +++ b/builder/null/builder.go @@ -4,7 +4,7 @@ import ( "context" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/null/config.go b/builder/null/config.go index ed7b1ccc7..a12e698a6 100644 --- a/builder/null/config.go +++ b/builder/null/config.go @@ -5,8 +5,8 @@ package null import ( "fmt" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/null/config_test.go b/builder/null/config_test.go index 4a922d629..7c6232c08 100644 --- a/builder/null/config_test.go +++ b/builder/null/config_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) func testConfig() map[string]interface{} { diff --git a/builder/oneandone/builder.go b/builder/oneandone/builder.go index 30ad23338..68da0f1cf 100644 --- a/builder/oneandone/builder.go +++ b/builder/oneandone/builder.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/oneandone/config.go b/builder/oneandone/config.go index 283a78e8d..94defbc76 100644 --- a/builder/oneandone/config.go +++ b/builder/oneandone/config.go @@ -8,8 +8,8 @@ import ( "strings" "github.com/1and1/oneandone-cloudserver-sdk-go" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/openstack/builder.go b/builder/openstack/builder.go index af751789a..2de376425 100644 --- a/builder/openstack/builder.go +++ b/builder/openstack/builder.go @@ -10,8 +10,8 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/openstack/run_config.go b/builder/openstack/run_config.go index b57124465..3fb04621c 100644 --- a/builder/openstack/run_config.go +++ b/builder/openstack/run_config.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/gophercloud/gophercloud/openstack/imageservice/v2/images" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" ) diff --git a/builder/openstack/run_config_test.go b/builder/openstack/run_config_test.go index 70377b217..4662b6c4d 100644 --- a/builder/openstack/run_config_test.go +++ b/builder/openstack/run_config_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/gophercloud/gophercloud/openstack/imageservice/v2/images" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/mitchellh/mapstructure" ) diff --git a/builder/openstack/step_get_password.go b/builder/openstack/step_get_password.go index 34737fedb..13adec12d 100644 --- a/builder/openstack/step_get_password.go +++ b/builder/openstack/step_get_password.go @@ -8,7 +8,7 @@ import ( "time" "github.com/gophercloud/gophercloud/openstack/compute/v2/servers" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "golang.org/x/crypto/ssh" diff --git a/builder/openstack/step_key_pair.go b/builder/openstack/step_key_pair.go index 77da85df0..8738bc833 100644 --- a/builder/openstack/step_key_pair.go +++ b/builder/openstack/step_key_pair.go @@ -10,7 +10,7 @@ import ( "runtime" "github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/keypairs" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/tmp" diff --git a/builder/oracle/classic/builder.go b/builder/oracle/classic/builder.go index 52aaf7cb1..bc06b1281 100644 --- a/builder/oracle/classic/builder.go +++ b/builder/oracle/classic/builder.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-oracle-terraform/opc" "github.com/hashicorp/hcl/v2/hcldec" ocommon "github.com/hashicorp/packer/builder/oracle/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/oracle/classic/builder.hcl2spec.go b/builder/oracle/classic/builder.hcl2spec.go index 6f7fdad38..72e57b0e6 100644 --- a/builder/oracle/classic/builder.hcl2spec.go +++ b/builder/oracle/classic/builder.hcl2spec.go @@ -3,7 +3,7 @@ package classic import ( "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/zclconf/go-cty/cty" ) diff --git a/builder/oracle/classic/config.go b/builder/oracle/classic/config.go index d7a53916f..a5a6719ab 100644 --- a/builder/oracle/classic/config.go +++ b/builder/oracle/classic/config.go @@ -9,8 +9,8 @@ import ( "regexp" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/oracle/classic/pv_config.go b/builder/oracle/classic/pv_config.go index 2fc707d64..950d6e57b 100644 --- a/builder/oracle/classic/pv_config.go +++ b/builder/oracle/classic/pv_config.go @@ -3,7 +3,7 @@ package classic import ( "fmt" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/oracle/classic/step_connect_builder.go b/builder/oracle/classic/step_connect_builder.go index 88639c793..12e0ac973 100644 --- a/builder/oracle/classic/step_connect_builder.go +++ b/builder/oracle/classic/step_connect_builder.go @@ -3,7 +3,7 @@ package classic import ( "context" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" ) diff --git a/builder/oracle/common/step_ssh_key_pair.go b/builder/oracle/common/step_ssh_key_pair.go index 4ea4f5a9c..d0fe8d723 100644 --- a/builder/oracle/common/step_ssh_key_pair.go +++ b/builder/oracle/common/step_ssh_key_pair.go @@ -10,7 +10,7 @@ import ( "os" "runtime" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "golang.org/x/crypto/ssh" diff --git a/builder/oracle/oci/builder.go b/builder/oracle/oci/builder.go index 625c3dc47..a68c450d3 100644 --- a/builder/oracle/oci/builder.go +++ b/builder/oracle/oci/builder.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" ocommon "github.com/hashicorp/packer/builder/oracle/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/oracle/oci/config.go b/builder/oracle/oci/config.go index c4f588855..fd0ae6926 100644 --- a/builder/oracle/oci/config.go +++ b/builder/oracle/oci/config.go @@ -13,9 +13,9 @@ import ( "path/filepath" "strings" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/oracle/oci/step_get_default_credentials.go b/builder/oracle/oci/step_get_default_credentials.go index 62b79a48c..e421fd5c0 100644 --- a/builder/oracle/oci/step_get_default_credentials.go +++ b/builder/oracle/oci/step_get_default_credentials.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/builder/osc/bsu/builder.go b/builder/osc/bsu/builder.go index 175a1a8ee..0b58b4cc9 100644 --- a/builder/osc/bsu/builder.go +++ b/builder/osc/bsu/builder.go @@ -13,8 +13,8 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" osccommon "github.com/hashicorp/packer/builder/osc/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/osc/bsusurrogate/builder.go b/builder/osc/bsusurrogate/builder.go index 03ff06027..15e133f4e 100644 --- a/builder/osc/bsusurrogate/builder.go +++ b/builder/osc/bsusurrogate/builder.go @@ -11,8 +11,8 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" osccommon "github.com/hashicorp/packer/builder/osc/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/osc/bsuvolume/builder.go b/builder/osc/bsuvolume/builder.go index 07a34d00a..4df09a2dd 100644 --- a/builder/osc/bsuvolume/builder.go +++ b/builder/osc/bsuvolume/builder.go @@ -11,8 +11,8 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" osccommon "github.com/hashicorp/packer/builder/osc/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/osc/common/run_config.go b/builder/osc/common/run_config.go index 088f1ca8c..03d68ae4f 100644 --- a/builder/osc/common/run_config.go +++ b/builder/osc/common/run_config.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/osc/common/run_config_test.go b/builder/osc/common/run_config_test.go index 345b693cc..707825ca0 100644 --- a/builder/osc/common/run_config_test.go +++ b/builder/osc/common/run_config_test.go @@ -6,7 +6,7 @@ import ( "regexp" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" ) diff --git a/builder/osc/common/step_get_password.go b/builder/osc/common/step_get_password.go index f3f3694b1..30d024f5c 100644 --- a/builder/osc/common/step_get_password.go +++ b/builder/osc/common/step_get_password.go @@ -12,7 +12,7 @@ import ( "time" "github.com/antihax/optional" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/outscale/osc-sdk-go/osc" diff --git a/builder/osc/common/step_key_pair.go b/builder/osc/common/step_key_pair.go index be3d5f1cf..5dd86e326 100644 --- a/builder/osc/common/step_key_pair.go +++ b/builder/osc/common/step_key_pair.go @@ -7,7 +7,7 @@ import ( "runtime" "github.com/antihax/optional" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/outscale/osc-sdk-go/osc" diff --git a/builder/osc/common/step_public_ip.go b/builder/osc/common/step_public_ip.go index 2074ba8b7..3252706bd 100644 --- a/builder/osc/common/step_public_ip.go +++ b/builder/osc/common/step_public_ip.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/antihax/optional" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/outscale/osc-sdk-go/osc" diff --git a/builder/osc/common/step_run_source_vm.go b/builder/osc/common/step_run_source_vm.go index d81f7396e..4cce9473a 100644 --- a/builder/osc/common/step_run_source_vm.go +++ b/builder/osc/common/step_run_source_vm.go @@ -13,7 +13,7 @@ import ( "github.com/outscale/osc-sdk-go/osc" "github.com/hashicorp/packer/builder/osc/common/retry" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/osc/common/step_security_group.go b/builder/osc/common/step_security_group.go index 79fb5192a..c6d714f3c 100644 --- a/builder/osc/common/step_security_group.go +++ b/builder/osc/common/step_security_group.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/antihax/optional" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/parallels/common/ssh_config.go b/builder/parallels/common/ssh_config.go index 270239b35..875458d7d 100644 --- a/builder/parallels/common/ssh_config.go +++ b/builder/parallels/common/ssh_config.go @@ -1,7 +1,7 @@ package common import ( - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/parallels/common/ssh_config_test.go b/builder/parallels/common/ssh_config_test.go index e9b42c69a..ef3985976 100644 --- a/builder/parallels/common/ssh_config_test.go +++ b/builder/parallels/common/ssh_config_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/parallels/iso/builder.go b/builder/parallels/iso/builder.go index f724bc9ff..577a58b53 100644 --- a/builder/parallels/iso/builder.go +++ b/builder/parallels/iso/builder.go @@ -10,9 +10,9 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" parallelscommon "github.com/hashicorp/packer/builder/parallels/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/parallels/pvm/builder.go b/builder/parallels/pvm/builder.go index 3a3fcb6e1..db799fd9e 100644 --- a/builder/parallels/pvm/builder.go +++ b/builder/parallels/pvm/builder.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" parallelscommon "github.com/hashicorp/packer/builder/parallels/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/profitbricks/builder.go b/builder/profitbricks/builder.go index 8f5585a04..6a9b1947c 100644 --- a/builder/profitbricks/builder.go +++ b/builder/profitbricks/builder.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/profitbricks/config.go b/builder/profitbricks/config.go index 20bd7e99e..a5f0c15f7 100644 --- a/builder/profitbricks/config.go +++ b/builder/profitbricks/config.go @@ -6,8 +6,8 @@ import ( "errors" "os" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/proxmox/clone/step_ssh_key_pair.go b/builder/proxmox/clone/step_ssh_key_pair.go index f2bbb5fa1..08440863f 100644 --- a/builder/proxmox/clone/step_ssh_key_pair.go +++ b/builder/proxmox/clone/step_ssh_key_pair.go @@ -6,7 +6,7 @@ import ( "os" common "github.com/hashicorp/packer/builder/proxmox/common" - "github.com/hashicorp/packer/helper/communicator/ssh" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/proxmox/common/builder.go b/builder/proxmox/common/builder.go index 467ce0def..275bc96a3 100644 --- a/builder/proxmox/common/builder.go +++ b/builder/proxmox/common/builder.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/Telmate/proxmox-api-go/proxmox" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/proxmox/common/config.go b/builder/proxmox/common/config.go index 83e3c3433..a49758782 100644 --- a/builder/proxmox/common/config.go +++ b/builder/proxmox/common/config.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" diff --git a/builder/qemu/builder.go b/builder/qemu/builder.go index b810e5339..a07667643 100644 --- a/builder/qemu/builder.go +++ b/builder/qemu/builder.go @@ -10,7 +10,7 @@ import ( "path/filepath" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/qemu/comm_config.go b/builder/qemu/comm_config.go index 45fe39f5d..9acdd88dd 100644 --- a/builder/qemu/comm_config.go +++ b/builder/qemu/comm_config.go @@ -4,7 +4,7 @@ package qemu import ( "errors" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/qemu/comm_config_test.go b/builder/qemu/comm_config_test.go index 150621d0f..d6a393242 100644 --- a/builder/qemu/comm_config_test.go +++ b/builder/qemu/comm_config_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/qemu/step_run_test.go b/builder/qemu/step_run_test.go index 7f3bfe4c5..1a1822db4 100644 --- a/builder/qemu/step_run_test.go +++ b/builder/qemu/step_run_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" "github.com/stretchr/testify/assert" diff --git a/builder/qemu/step_shutdown.go b/builder/qemu/step_shutdown.go index 862071b1a..d3841050b 100644 --- a/builder/qemu/step_shutdown.go +++ b/builder/qemu/step_shutdown.go @@ -7,7 +7,7 @@ import ( "log" "time" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/builder/qemu/step_shutdown_test.go b/builder/qemu/step_shutdown_test.go index 47214b4ee..c132c38be 100644 --- a/builder/qemu/step_shutdown_test.go +++ b/builder/qemu/step_shutdown_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" ) diff --git a/builder/scaleway/builder.go b/builder/scaleway/builder.go index e0de084b9..b90e45561 100644 --- a/builder/scaleway/builder.go +++ b/builder/scaleway/builder.go @@ -9,7 +9,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/scaleway/config.go b/builder/scaleway/config.go index 914796ff1..227b1a2f8 100644 --- a/builder/scaleway/config.go +++ b/builder/scaleway/config.go @@ -10,8 +10,8 @@ import ( "os" "github.com/hashicorp/packer/builder/scaleway/version" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/tencentcloud/cvm/builder.go b/builder/tencentcloud/cvm/builder.go index de94e04a7..3159c054b 100644 --- a/builder/tencentcloud/cvm/builder.go +++ b/builder/tencentcloud/cvm/builder.go @@ -7,8 +7,8 @@ import ( "fmt" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/tencentcloud/cvm/run_config.go b/builder/tencentcloud/cvm/run_config.go index f13d4595d..938936b8a 100644 --- a/builder/tencentcloud/cvm/run_config.go +++ b/builder/tencentcloud/cvm/run_config.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/tencentcloud/cvm/run_config_test.go b/builder/tencentcloud/cvm/run_config_test.go index 8f62c9f90..e1a615944 100644 --- a/builder/tencentcloud/cvm/run_config_test.go +++ b/builder/tencentcloud/cvm/run_config_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) func testConfig() *TencentCloudRunConfig { diff --git a/builder/tencentcloud/cvm/step_config_key_pair.go b/builder/tencentcloud/cvm/step_config_key_pair.go index 7d0534273..db7f09d09 100644 --- a/builder/tencentcloud/cvm/step_config_key_pair.go +++ b/builder/tencentcloud/cvm/step_config_key_pair.go @@ -7,7 +7,7 @@ import ( "os" "runtime" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" cvm "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312" ) diff --git a/builder/triton/access_config.go b/builder/triton/access_config.go index 92dded501..99fafebc7 100644 --- a/builder/triton/access_config.go +++ b/builder/triton/access_config.go @@ -9,7 +9,7 @@ import ( "os" "github.com/hashicorp/errwrap" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" tgo "github.com/joyent/triton-go" "github.com/joyent/triton-go/authentication" diff --git a/builder/triton/builder.go b/builder/triton/builder.go index 5aa6987fb..9f96c5952 100644 --- a/builder/triton/builder.go +++ b/builder/triton/builder.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/go-multierror" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/triton/config.go b/builder/triton/config.go index bbf5e4de1..40251158e 100644 --- a/builder/triton/config.go +++ b/builder/triton/config.go @@ -3,8 +3,8 @@ package triton import ( - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/ucloud/common/run_config.go b/builder/ucloud/common/run_config.go index a4d4be9c4..43c3ef274 100644 --- a/builder/ucloud/common/run_config.go +++ b/builder/ucloud/common/run_config.go @@ -6,7 +6,7 @@ import ( "os" "regexp" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" ) diff --git a/builder/ucloud/common/run_config_test.go b/builder/ucloud/common/run_config_test.go index 4aaebef14..bbaaa3535 100644 --- a/builder/ucloud/common/run_config_test.go +++ b/builder/ucloud/common/run_config_test.go @@ -3,7 +3,7 @@ package common import ( "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) func testConfig() *RunConfig { diff --git a/builder/ucloud/uhost/builder.go b/builder/ucloud/uhost/builder.go index 32c14c241..ccd3b5be9 100644 --- a/builder/ucloud/uhost/builder.go +++ b/builder/ucloud/uhost/builder.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" ucloudcommon "github.com/hashicorp/packer/builder/ucloud/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/vagrant/builder.go b/builder/vagrant/builder.go index c978f5ce2..a65a39461 100644 --- a/builder/vagrant/builder.go +++ b/builder/vagrant/builder.go @@ -14,9 +14,9 @@ import ( "time" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/virtualbox/common/comm_config.go b/builder/virtualbox/common/comm_config.go index 8fa25b0d3..b08fa878c 100644 --- a/builder/virtualbox/common/comm_config.go +++ b/builder/virtualbox/common/comm_config.go @@ -5,7 +5,7 @@ package common import ( "errors" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/virtualbox/common/comm_config_test.go b/builder/virtualbox/common/comm_config_test.go index eb0bc4060..0aec85d75 100644 --- a/builder/virtualbox/common/comm_config_test.go +++ b/builder/virtualbox/common/comm_config_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/virtualbox/common/step_port_forwarding.go b/builder/virtualbox/common/step_port_forwarding.go index 41c4bb923..6484cae86 100644 --- a/builder/virtualbox/common/step_port_forwarding.go +++ b/builder/virtualbox/common/step_port_forwarding.go @@ -6,7 +6,7 @@ import ( "log" "strings" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/net" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/virtualbox/common/step_ssh_key_pair.go b/builder/virtualbox/common/step_ssh_key_pair.go index aa9dbf16b..293ddd8d3 100644 --- a/builder/virtualbox/common/step_ssh_key_pair.go +++ b/builder/virtualbox/common/step_ssh_key_pair.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "github.com/hashicorp/packer/helper/communicator" - "github.com/hashicorp/packer/helper/communicator/ssh" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/virtualbox/common/step_type_boot_command.go b/builder/virtualbox/common/step_type_boot_command.go index 8a728a858..a846fce98 100644 --- a/builder/virtualbox/common/step_type_boot_command.go +++ b/builder/virtualbox/common/step_type_boot_command.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/builder/virtualbox/iso/builder.go b/builder/virtualbox/iso/builder.go index b0343c979..85e4699b6 100644 --- a/builder/virtualbox/iso/builder.go +++ b/builder/virtualbox/iso/builder.go @@ -10,9 +10,9 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" vboxcommon "github.com/hashicorp/packer/builder/virtualbox/common" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/bootcommand" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/virtualbox/ovf/builder.go b/builder/virtualbox/ovf/builder.go index 2ecb4a7b7..63e57a70b 100644 --- a/builder/virtualbox/ovf/builder.go +++ b/builder/virtualbox/ovf/builder.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" vboxcommon "github.com/hashicorp/packer/builder/virtualbox/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/virtualbox/vm/builder.go b/builder/virtualbox/vm/builder.go index c8613e271..e578a2e0b 100644 --- a/builder/virtualbox/vm/builder.go +++ b/builder/virtualbox/vm/builder.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" vboxcommon "github.com/hashicorp/packer/builder/virtualbox/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/vmware/common/driver_esx5.go b/builder/vmware/common/driver_esx5.go index f40b496e9..f57d70e5f 100644 --- a/builder/vmware/common/driver_esx5.go +++ b/builder/vmware/common/driver_esx5.go @@ -28,8 +28,8 @@ import ( "github.com/vmware/govmomi/vim25/types" "github.com/hashicorp/go-getter/v2" - "github.com/hashicorp/packer/helper/communicator" - helperssh "github.com/hashicorp/packer/helper/communicator/ssh" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" + helperssh "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh" diff --git a/builder/vmware/common/driver_esx5_test.go b/builder/vmware/common/driver_esx5_test.go index 84dd2b745..f49140bee 100644 --- a/builder/vmware/common/driver_esx5_test.go +++ b/builder/vmware/common/driver_esx5_test.go @@ -5,7 +5,7 @@ import ( "net" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" ) diff --git a/builder/vmware/common/ssh_config.go b/builder/vmware/common/ssh_config.go index b386c629b..791a018b1 100644 --- a/builder/vmware/common/ssh_config.go +++ b/builder/vmware/common/ssh_config.go @@ -3,7 +3,7 @@ package common import ( - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/vmware/common/ssh_config_test.go b/builder/vmware/common/ssh_config_test.go index e9b42c69a..ef3985976 100644 --- a/builder/vmware/common/ssh_config_test.go +++ b/builder/vmware/common/ssh_config_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" ) diff --git a/builder/vmware/common/ssh_test.go b/builder/vmware/common/ssh_test.go index ee5310205..5fa3ade9b 100644 --- a/builder/vmware/common/ssh_test.go +++ b/builder/vmware/common/ssh_test.go @@ -3,7 +3,7 @@ package common import ( "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" ) func TestCommHost(t *testing.T) { diff --git a/builder/vmware/iso/builder.go b/builder/vmware/iso/builder.go index 4de29eb15..421187566 100644 --- a/builder/vmware/iso/builder.go +++ b/builder/vmware/iso/builder.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" vmwcommon "github.com/hashicorp/packer/builder/vmware/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/vmware/vmx/builder.go b/builder/vmware/vmx/builder.go index 366b6fd0c..670445f2e 100644 --- a/builder/vmware/vmx/builder.go +++ b/builder/vmware/vmx/builder.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" vmwcommon "github.com/hashicorp/packer/builder/vmware/common" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/vsphere/clone/builder.go b/builder/vsphere/clone/builder.go index 7f06a27f8..c392f58a5 100644 --- a/builder/vsphere/clone/builder.go +++ b/builder/vsphere/clone/builder.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" "github.com/hashicorp/packer/builder/vsphere/common" "github.com/hashicorp/packer/builder/vsphere/driver" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/vsphere/clone/config.go b/builder/vsphere/clone/config.go index 213420f41..2cfeab4f2 100644 --- a/builder/vsphere/clone/config.go +++ b/builder/vsphere/clone/config.go @@ -5,8 +5,8 @@ package clone import ( "github.com/hashicorp/packer/builder/vsphere/common" - "github.com/hashicorp/packer/helper/communicator" packerCommon "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" diff --git a/builder/vsphere/common/step_shutdown.go b/builder/vsphere/common/step_shutdown.go index 501c71b59..ae0137c41 100644 --- a/builder/vsphere/common/step_shutdown.go +++ b/builder/vsphere/common/step_shutdown.go @@ -11,7 +11,7 @@ import ( "time" "github.com/hashicorp/packer/builder/vsphere/driver" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/builder/vsphere/common/step_ssh_key_pair.go b/builder/vsphere/common/step_ssh_key_pair.go index 91de68fb9..fdcdb97a7 100644 --- a/builder/vsphere/common/step_ssh_key_pair.go +++ b/builder/vsphere/common/step_ssh_key_pair.go @@ -7,8 +7,8 @@ import ( "os" "github.com/hashicorp/packer/builder/vsphere/driver" - "github.com/hashicorp/packer/helper/communicator" - "github.com/hashicorp/packer/helper/communicator/ssh" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/uuid" diff --git a/builder/vsphere/iso/builder.go b/builder/vsphere/iso/builder.go index 2a0fcf88b..a6e10e06b 100644 --- a/builder/vsphere/iso/builder.go +++ b/builder/vsphere/iso/builder.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" "github.com/hashicorp/packer/builder/vsphere/common" "github.com/hashicorp/packer/builder/vsphere/driver" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/vsphere/iso/config.go b/builder/vsphere/iso/config.go index 0f5e153e0..a57df6254 100644 --- a/builder/vsphere/iso/config.go +++ b/builder/vsphere/iso/config.go @@ -5,8 +5,8 @@ package iso import ( "github.com/hashicorp/packer/builder/vsphere/common" - "github.com/hashicorp/packer/helper/communicator" packerCommon "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" diff --git a/builder/yandex/builder.go b/builder/yandex/builder.go index 88a13e372..99f685c17 100644 --- a/builder/yandex/builder.go +++ b/builder/yandex/builder.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" "github.com/hashicorp/hcl/v2/hcldec" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/builder/yandex/config.go b/builder/yandex/config.go index 4a8b6ca1a..bcb883029 100644 --- a/builder/yandex/config.go +++ b/builder/yandex/config.go @@ -10,8 +10,8 @@ import ( "regexp" "time" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/template/config" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate" diff --git a/cmd/ssh-keygen/main.go b/cmd/ssh-keygen/main.go index 20262d001..31efa3c7c 100644 --- a/cmd/ssh-keygen/main.go +++ b/cmd/ssh-keygen/main.go @@ -8,7 +8,7 @@ import ( "os/user" "path/filepath" - "github.com/hashicorp/packer/helper/communicator/sshkey" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator/sshkey" ) type options struct { @@ -22,11 +22,11 @@ func (o *options) AddFlagSets(fs *flag.FlagSet) { Specifies the type of key to create. The possible values are 'dsa', 'ecdsa', 'ed25519', or 'rsa'. `) - fs.IntVar(&o.Bits, "bits", 0, `Specifies the number of bits in the key to create. By default maximum -number will be picked. For RSA keys, the minimum size is 1024 bits and the -default is 3072 bits. Generally, 3072 bits is considered sufficient. DSA -keys must be exactly 1024 bits as specified by FIPS 186-2. For ECDSA keys, -the bits flag determines the key length by selecting from one of three + fs.IntVar(&o.Bits, "bits", 0, `Specifies the number of bits in the key to create. By default maximum +number will be picked. For RSA keys, the minimum size is 1024 bits and the +default is 3072 bits. Generally, 3072 bits is considered sufficient. DSA +keys must be exactly 1024 bits as specified by FIPS 186-2. For ECDSA keys, +the bits flag determines the key length by selecting from one of three elliptic curve sizes: 256, 384 or 521 bits. Attempting to use bit lengths other than these three values for ECDSA keys will fail. Ed25519 keys have a fixed length and the bits flag will be ignored. diff --git a/helper/communicator/comm_host.go b/packer-plugin-sdk/communicator/comm_host.go similarity index 100% rename from helper/communicator/comm_host.go rename to packer-plugin-sdk/communicator/comm_host.go diff --git a/helper/communicator/config.go b/packer-plugin-sdk/communicator/config.go similarity index 99% rename from helper/communicator/config.go rename to packer-plugin-sdk/communicator/config.go index 5a61b8482..450b3d2a8 100644 --- a/helper/communicator/config.go +++ b/packer-plugin-sdk/communicator/config.go @@ -12,8 +12,8 @@ import ( "time" "github.com/hashicorp/hcl/v2/hcldec" - helperssh "github.com/hashicorp/packer/helper/communicator/ssh" "github.com/hashicorp/packer/packer" + helperssh "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" packerssh "github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh" diff --git a/helper/communicator/config.hcl2spec.go b/packer-plugin-sdk/communicator/config.hcl2spec.go similarity index 100% rename from helper/communicator/config.hcl2spec.go rename to packer-plugin-sdk/communicator/config.hcl2spec.go diff --git a/helper/communicator/config_test.go b/packer-plugin-sdk/communicator/config_test.go similarity index 100% rename from helper/communicator/config_test.go rename to packer-plugin-sdk/communicator/config_test.go diff --git a/helper/communicator/ssh/key_pair.go b/packer-plugin-sdk/communicator/ssh/key_pair.go similarity index 100% rename from helper/communicator/ssh/key_pair.go rename to packer-plugin-sdk/communicator/ssh/key_pair.go diff --git a/helper/communicator/ssh/key_pair_test.go b/packer-plugin-sdk/communicator/ssh/key_pair_test.go similarity index 100% rename from helper/communicator/ssh/key_pair_test.go rename to packer-plugin-sdk/communicator/ssh/key_pair_test.go diff --git a/helper/communicator/ssh/ssh.go b/packer-plugin-sdk/communicator/ssh/ssh.go similarity index 100% rename from helper/communicator/ssh/ssh.go rename to packer-plugin-sdk/communicator/ssh/ssh.go diff --git a/helper/communicator/ssh/tunnel.go b/packer-plugin-sdk/communicator/ssh/tunnel.go similarity index 100% rename from helper/communicator/ssh/tunnel.go rename to packer-plugin-sdk/communicator/ssh/tunnel.go diff --git a/helper/communicator/ssh/tunnel_test.go b/packer-plugin-sdk/communicator/ssh/tunnel_test.go similarity index 100% rename from helper/communicator/ssh/tunnel_test.go rename to packer-plugin-sdk/communicator/ssh/tunnel_test.go diff --git a/helper/communicator/sshkey/algorithm_enumer.go b/packer-plugin-sdk/communicator/sshkey/algorithm_enumer.go similarity index 100% rename from helper/communicator/sshkey/algorithm_enumer.go rename to packer-plugin-sdk/communicator/sshkey/algorithm_enumer.go diff --git a/helper/communicator/sshkey/generate.go b/packer-plugin-sdk/communicator/sshkey/generate.go similarity index 100% rename from helper/communicator/sshkey/generate.go rename to packer-plugin-sdk/communicator/sshkey/generate.go diff --git a/helper/communicator/sshkey/generate_test.go b/packer-plugin-sdk/communicator/sshkey/generate_test.go similarity index 100% rename from helper/communicator/sshkey/generate_test.go rename to packer-plugin-sdk/communicator/sshkey/generate_test.go diff --git a/helper/communicator/step_connect.go b/packer-plugin-sdk/communicator/step_connect.go similarity index 100% rename from helper/communicator/step_connect.go rename to packer-plugin-sdk/communicator/step_connect.go diff --git a/helper/communicator/step_connect_ssh.go b/packer-plugin-sdk/communicator/step_connect_ssh.go similarity index 99% rename from helper/communicator/step_connect_ssh.go rename to packer-plugin-sdk/communicator/step_connect_ssh.go index 74ae42b32..ebd9b3cdb 100644 --- a/helper/communicator/step_connect_ssh.go +++ b/packer-plugin-sdk/communicator/step_connect_ssh.go @@ -13,8 +13,8 @@ import ( "golang.org/x/crypto/ssh/terminal" - helperssh "github.com/hashicorp/packer/helper/communicator/ssh" "github.com/hashicorp/packer/packer" + helperssh "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" "github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh" diff --git a/helper/communicator/step_connect_test.go b/packer-plugin-sdk/communicator/step_connect_test.go similarity index 100% rename from helper/communicator/step_connect_test.go rename to packer-plugin-sdk/communicator/step_connect_test.go diff --git a/helper/communicator/step_connect_winrm.go b/packer-plugin-sdk/communicator/step_connect_winrm.go similarity index 100% rename from helper/communicator/step_connect_winrm.go rename to packer-plugin-sdk/communicator/step_connect_winrm.go diff --git a/helper/communicator/step_debug_ssh_keys.go b/packer-plugin-sdk/communicator/step_debug_ssh_keys.go similarity index 100% rename from helper/communicator/step_debug_ssh_keys.go rename to packer-plugin-sdk/communicator/step_debug_ssh_keys.go diff --git a/helper/communicator/step_ssh_keygen.go b/packer-plugin-sdk/communicator/step_ssh_keygen.go similarity index 96% rename from helper/communicator/step_ssh_keygen.go rename to packer-plugin-sdk/communicator/step_ssh_keygen.go index 34f695779..0f7b03d15 100644 --- a/helper/communicator/step_ssh_keygen.go +++ b/packer-plugin-sdk/communicator/step_ssh_keygen.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/hashicorp/packer/helper/communicator/sshkey" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator/sshkey" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/helper/communicator/testing.go b/packer-plugin-sdk/communicator/testing.go similarity index 100% rename from helper/communicator/testing.go rename to packer-plugin-sdk/communicator/testing.go diff --git a/helper/communicator/winrm.go b/packer-plugin-sdk/communicator/winrm.go similarity index 100% rename from helper/communicator/winrm.go rename to packer-plugin-sdk/communicator/winrm.go diff --git a/packer-plugin-sdk/multistep/commonsteps/step_cleanup_temp_keys.go b/packer-plugin-sdk/multistep/commonsteps/step_cleanup_temp_keys.go index 207515e5c..4aa7b9a5f 100644 --- a/packer-plugin-sdk/multistep/commonsteps/step_cleanup_temp_keys.go +++ b/packer-plugin-sdk/multistep/commonsteps/step_cleanup_temp_keys.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/packer-plugin-sdk/multistep/commonsteps/step_provision.go b/packer-plugin-sdk/multistep/commonsteps/step_provision.go index 3a78d5d73..7b0d62c5f 100644 --- a/packer-plugin-sdk/multistep/commonsteps/step_provision.go +++ b/packer-plugin-sdk/multistep/commonsteps/step_provision.go @@ -8,7 +8,7 @@ import ( "strconv" "time" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" ) diff --git a/packer-plugin-sdk/multistep/commonsteps/step_provision_test.go b/packer-plugin-sdk/multistep/commonsteps/step_provision_test.go index 903fea023..9a0590610 100644 --- a/packer-plugin-sdk/multistep/commonsteps/step_provision_test.go +++ b/packer-plugin-sdk/multistep/commonsteps/step_provision_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/hashicorp/packer/helper/communicator" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" ) diff --git a/packer-plugin-sdk/sdk-internals/communicator/ssh/connect_test.go b/packer-plugin-sdk/sdk-internals/communicator/ssh/connect_test.go index 9e4c0cc8b..76b2010cd 100644 --- a/packer-plugin-sdk/sdk-internals/communicator/ssh/connect_test.go +++ b/packer-plugin-sdk/sdk-internals/communicator/ssh/connect_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - helperssh "github.com/hashicorp/packer/helper/communicator/ssh" + helperssh "github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh" "golang.org/x/crypto/ssh" ) diff --git a/post-processor/googlecompute-export/post-processor.go b/post-processor/googlecompute-export/post-processor.go index 29c51aecf..6acbb8a49 100644 --- a/post-processor/googlecompute-export/post-processor.go +++ b/post-processor/googlecompute-export/post-processor.go @@ -11,8 +11,8 @@ import ( "github.com/hashicorp/hcl/v2/hcldec" "github.com/hashicorp/packer/builder/googlecompute" - "github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/common" + "github.com/hashicorp/packer/packer-plugin-sdk/communicator" "github.com/hashicorp/packer/packer-plugin-sdk/multistep" "github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer" diff --git a/website/pages/docs/builders/alicloud-ecs.mdx b/website/pages/docs/builders/alicloud-ecs.mdx index ddb8136c6..5ac55661d 100644 --- a/website/pages/docs/builders/alicloud-ecs.mdx +++ b/website/pages/docs/builders/alicloud-ecs.mdx @@ -39,13 +39,13 @@ builder. @include 'builder/alicloud/ecs/AlicloudImageConfig-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' # Disk Devices Configuration: @include 'builder/alicloud/ecs/AlicloudDiskDevice-not-required.mdx' diff --git a/website/pages/docs/builders/amazon/ebs.mdx b/website/pages/docs/builders/amazon/ebs.mdx index 3633a2b0a..57bda42ec 100644 --- a/website/pages/docs/builders/amazon/ebs.mdx +++ b/website/pages/docs/builders/amazon/ebs.mdx @@ -109,17 +109,17 @@ Block devices can be nested in the #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/amazon/ebssurrogate.mdx b/website/pages/docs/builders/amazon/ebssurrogate.mdx index fdb64ded5..d78c9bd5b 100644 --- a/website/pages/docs/builders/amazon/ebssurrogate.mdx +++ b/website/pages/docs/builders/amazon/ebssurrogate.mdx @@ -108,17 +108,17 @@ Block devices can be nested in the #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/amazon/ebsvolume.mdx b/website/pages/docs/builders/amazon/ebsvolume.mdx index bb4f4e6a9..f0ed2e689 100644 --- a/website/pages/docs/builders/amazon/ebsvolume.mdx +++ b/website/pages/docs/builders/amazon/ebsvolume.mdx @@ -112,17 +112,17 @@ Block devices can be nested in the #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/amazon/instance.mdx b/website/pages/docs/builders/amazon/instance.mdx index d1aef7d92..44441afff 100644 --- a/website/pages/docs/builders/amazon/instance.mdx +++ b/website/pages/docs/builders/amazon/instance.mdx @@ -125,17 +125,17 @@ Block devices can be nested in the #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/azure/arm.mdx b/website/pages/docs/builders/azure/arm.mdx index be2d84905..8fd1f0704 100644 --- a/website/pages/docs/builders/azure/arm.mdx +++ b/website/pages/docs/builders/azure/arm.mdx @@ -149,13 +149,13 @@ Providing `temp_resource_group_name` or `location` in combination with ### Communicator Config -In addition to the builder options, a communicator may also be defined: +In addition to the builder options, a communicator may also be defined: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/cloudstack.mdx b/website/pages/docs/builders/cloudstack.mdx index 3cffc4440..18c8e2d40 100644 --- a/website/pages/docs/builders/cloudstack.mdx +++ b/website/pages/docs/builders/cloudstack.mdx @@ -201,17 +201,17 @@ The available variables are: #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ## Http directory configuration diff --git a/website/pages/docs/builders/digitalocean.mdx b/website/pages/docs/builders/digitalocean.mdx index 8125b0a17..22d49002e 100644 --- a/website/pages/docs/builders/digitalocean.mdx +++ b/website/pages/docs/builders/digitalocean.mdx @@ -36,14 +36,14 @@ each category, the available configuration keys are alphabetized. ### Communicator Config -In addition to the builder options, a +In addition to the builder options, a [communicator](/docs/templates/communicator) can be configured for this builder. -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required: diff --git a/website/pages/docs/builders/googlecompute.mdx b/website/pages/docs/builders/googlecompute.mdx index 8e41a59f9..f2c2946c7 100644 --- a/website/pages/docs/builders/googlecompute.mdx +++ b/website/pages/docs/builders/googlecompute.mdx @@ -33,11 +33,11 @@ Account](https://cloud.google.com/compute/docs/authentication). ### Running locally on your workstation. -If you run the `googlecompute` Packer builder locally on your workstation, you will +If you run the `googlecompute` Packer builder locally on your workstation, you will need to install the Google Cloud SDK and authenticate using [User Application Default Credentials](https://cloud.google.com/sdk/gcloud/reference/auth/application-default). You don't need to specify an _account file_ if you are using this method. Your user -must have at least `Compute Instance Admin (v1)` & `Service Account User` roles +must have at least `Compute Instance Admin (v1)` & `Service Account User` roles to use Packer succesfully. @@ -350,11 +350,11 @@ builder. #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required: @@ -395,11 +395,11 @@ The GCS location must be writeable by the service account of the instance that P ### Temporary SSH keypair -@include 'helper/communicator/SSHTemporaryKeyPair.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx' #### Optional: -@include 'helper/communicator/SSHTemporaryKeyPair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' ### Gotchas diff --git a/website/pages/docs/builders/hyperv/iso.mdx b/website/pages/docs/builders/hyperv/iso.mdx index 856bab291..7f222474d 100644 --- a/website/pages/docs/builders/hyperv/iso.mdx +++ b/website/pages/docs/builders/hyperv/iso.mdx @@ -113,17 +113,17 @@ builder. ### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' ### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ## Boot Configuration Reference diff --git a/website/pages/docs/builders/hyperv/vmcx.mdx b/website/pages/docs/builders/hyperv/vmcx.mdx index 7769d660e..c5817932d 100644 --- a/website/pages/docs/builders/hyperv/vmcx.mdx +++ b/website/pages/docs/builders/hyperv/vmcx.mdx @@ -107,17 +107,17 @@ builder. ### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' ### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ### CD configuration diff --git a/website/pages/docs/builders/jdcloud.mdx b/website/pages/docs/builders/jdcloud.mdx index dd82fa829..1a408b34f 100644 --- a/website/pages/docs/builders/jdcloud.mdx +++ b/website/pages/docs/builders/jdcloud.mdx @@ -41,15 +41,15 @@ In addition to the above configuration options, a communicator can be configured #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ## Examples diff --git a/website/pages/docs/builders/linode.mdx b/website/pages/docs/builders/linode.mdx index bc63e04ce..43f9146f7 100644 --- a/website/pages/docs/builders/linode.mdx +++ b/website/pages/docs/builders/linode.mdx @@ -40,7 +40,7 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required diff --git a/website/pages/docs/builders/oneandone.mdx b/website/pages/docs/builders/oneandone.mdx index 7262037a5..49effb90f 100644 --- a/website/pages/docs/builders/oneandone.mdx +++ b/website/pages/docs/builders/oneandone.mdx @@ -23,7 +23,7 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required diff --git a/website/pages/docs/builders/openstack.mdx b/website/pages/docs/builders/openstack.mdx index 336b5135d..71a5f12da 100644 --- a/website/pages/docs/builders/openstack.mdx +++ b/website/pages/docs/builders/openstack.mdx @@ -75,19 +75,19 @@ builder. #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' -@include 'helper/communicator/SSHInterface-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHInterface-not-required.mdx' ## Basic Example: DevStack diff --git a/website/pages/docs/builders/oracle/classic.mdx b/website/pages/docs/builders/oracle/classic.mdx index 13ba6078e..57ceba05b 100644 --- a/website/pages/docs/builders/oracle/classic.mdx +++ b/website/pages/docs/builders/oracle/classic.mdx @@ -159,7 +159,7 @@ If this is set, a few more options become available. } ``` - See below for more details on configuring this communicator. + See below for more details on configuring this communicator. - `builder_image_list` (string) - This is the image to use for the builder instance. This _must_ be a linux image, and Oracle Linux is recommended. @@ -190,11 +190,11 @@ The `builder_communicator` has the following options: #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/oracle/oci.mdx b/website/pages/docs/builders/oracle/oci.mdx index 1d53506f6..a291d52d0 100644 --- a/website/pages/docs/builders/oracle/oci.mdx +++ b/website/pages/docs/builders/oracle/oci.mdx @@ -47,7 +47,7 @@ builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required @@ -329,7 +329,7 @@ are listed in `nsg_ids` under `create_vnic_details`. ## Base Image Filter Example Note that `base_image_filter` gets passed as a string, then interpreted as a -regular expression. This means that all back-slashes must be doubled, e.g., +regular expression. This means that all back-slashes must be doubled, e.g., use `\\w+` to mean `\w+`, and `\\\\` to create the regular expression equivalent of `\\` (which will search for a literal back-slash). ```json diff --git a/website/pages/docs/builders/outscale/bsu.mdx b/website/pages/docs/builders/outscale/bsu.mdx index a6135d93e..7036d011b 100644 --- a/website/pages/docs/builders/outscale/bsu.mdx +++ b/website/pages/docs/builders/outscale/bsu.mdx @@ -197,11 +197,11 @@ builder. This will fail unless _exactly_ one OMIS is returned. In the above example, `most_recent` will cause this to succeed by selecting the newest image. -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' - `ssh_interface` (string) - One of `public_ip`, `private_ip`, `public_dns`, or `private_dns`. If set, either the public IP address, private IP address, public DNS name or private DNS name will used as the host for SSH. The default behaviour if inside a Net is to use the public IP address if available, otherwise the private IP address will be used. If not in a Net the public DNS name will be used. Also works for WinRM. diff --git a/website/pages/docs/builders/parallels/iso.mdx b/website/pages/docs/builders/parallels/iso.mdx index ecb4db4ca..4c340f870 100644 --- a/website/pages/docs/builders/parallels/iso.mdx +++ b/website/pages/docs/builders/parallels/iso.mdx @@ -58,7 +58,7 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ## ISO Configuration Reference diff --git a/website/pages/docs/builders/parallels/pvm.mdx b/website/pages/docs/builders/parallels/pvm.mdx index 5dbf79025..0a1d76f00 100644 --- a/website/pages/docs/builders/parallels/pvm.mdx +++ b/website/pages/docs/builders/parallels/pvm.mdx @@ -55,7 +55,7 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required: diff --git a/website/pages/docs/builders/profitbricks.mdx b/website/pages/docs/builders/profitbricks.mdx index 216db8c99..ddb50aef3 100644 --- a/website/pages/docs/builders/profitbricks.mdx +++ b/website/pages/docs/builders/profitbricks.mdx @@ -23,7 +23,7 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required diff --git a/website/pages/docs/builders/qemu.mdx b/website/pages/docs/builders/qemu.mdx index 56b276b09..971915f58 100644 --- a/website/pages/docs/builders/qemu.mdx +++ b/website/pages/docs/builders/qemu.mdx @@ -162,19 +162,19 @@ necessary for this build to succeed and can be found further down the page. ### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' @include 'builder/qemu/CommConfig-not-required.mdx' ### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ## Boot Configuration @@ -192,7 +192,7 @@ necessary for this build to succeed and can be found further down the page. #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' ### Troubleshooting diff --git a/website/pages/docs/builders/scaleway.mdx b/website/pages/docs/builders/scaleway.mdx index 82b9f972e..bb4aa8f9c 100644 --- a/website/pages/docs/builders/scaleway.mdx +++ b/website/pages/docs/builders/scaleway.mdx @@ -39,7 +39,7 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required: diff --git a/website/pages/docs/builders/tencentcloud-cvm.mdx b/website/pages/docs/builders/tencentcloud-cvm.mdx index b03c17cb0..052051d1c 100644 --- a/website/pages/docs/builders/tencentcloud-cvm.mdx +++ b/website/pages/docs/builders/tencentcloud-cvm.mdx @@ -128,21 +128,21 @@ a [communicator](/docs/templates/communicator) can be configured for this builde ### Communicator Configuration In addition to the above options, a communicator can be configured -for this builder. +for this builder. #### Optional: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ## Basic Example diff --git a/website/pages/docs/builders/triton.mdx b/website/pages/docs/builders/triton.mdx index bd822de30..b452beacf 100644 --- a/website/pages/docs/builders/triton.mdx +++ b/website/pages/docs/builders/triton.mdx @@ -52,9 +52,9 @@ In addition to the options listed here, a builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' ### Required: diff --git a/website/pages/docs/builders/virtualbox/iso.mdx b/website/pages/docs/builders/virtualbox/iso.mdx index cc42397db..653ac49e4 100644 --- a/website/pages/docs/builders/virtualbox/iso.mdx +++ b/website/pages/docs/builders/virtualbox/iso.mdx @@ -171,21 +171,21 @@ necessary for this build to succeed and can be found further down the page. #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' @include 'builder/virtualbox/common/CommConfig-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ### Boot Configuration diff --git a/website/pages/docs/builders/virtualbox/ovf.mdx b/website/pages/docs/builders/virtualbox/ovf.mdx index 379ba8b6f..a267882c0 100644 --- a/website/pages/docs/builders/virtualbox/ovf.mdx +++ b/website/pages/docs/builders/virtualbox/ovf.mdx @@ -159,25 +159,25 @@ necessary for this build to succeed and can be found further down the page. #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' @include 'builder/virtualbox/common/CommConfig-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ### Boot Configuration diff --git a/website/pages/docs/builders/virtualbox/vm.mdx b/website/pages/docs/builders/virtualbox/vm.mdx index c62894b77..1db5af7b5 100644 --- a/website/pages/docs/builders/virtualbox/vm.mdx +++ b/website/pages/docs/builders/virtualbox/vm.mdx @@ -182,17 +182,17 @@ builder. #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' @include 'builder/virtualbox/common/CommConfig-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ### Boot Configuration diff --git a/website/pages/docs/builders/vmware/iso.mdx b/website/pages/docs/builders/vmware/iso.mdx index 842437f64..eef1d5763 100644 --- a/website/pages/docs/builders/vmware/iso.mdx +++ b/website/pages/docs/builders/vmware/iso.mdx @@ -187,15 +187,15 @@ necessary for this build to succeed and can be found further down the page. #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ## Boot Configuration diff --git a/website/pages/docs/builders/vmware/vmx.mdx b/website/pages/docs/builders/vmware/vmx.mdx index 80b24ca72..4de7c30e7 100644 --- a/website/pages/docs/builders/vmware/vmx.mdx +++ b/website/pages/docs/builders/vmware/vmx.mdx @@ -169,15 +169,15 @@ necessary for this build to succeed and can be found further down the page. #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ## Shutdown Configuration diff --git a/website/pages/docs/builders/vmware/vsphere-clone.mdx b/website/pages/docs/builders/vmware/vsphere-clone.mdx index c12f999cf..18e921685 100644 --- a/website/pages/docs/builders/vmware/vsphere-clone.mdx +++ b/website/pages/docs/builders/vmware/vsphere-clone.mdx @@ -232,19 +232,19 @@ can be done via environment variable: #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Temporary-Key-Pair-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx' -@include 'helper/communicator/SSH-Key-Pair-Name-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' -@include 'helper/communicator/SSH-Agent-Auth-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx' -> **NOTE:** Packer uses vApp Options to inject ssh public keys to the Virtual Machine. The [temporary_key_pair_name](/docs/builders/vmware/vsphere-clone#temporary_key_pair_name) will only work @@ -257,7 +257,7 @@ about the key. #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ### Export Configuration diff --git a/website/pages/docs/builders/vmware/vsphere-iso.mdx b/website/pages/docs/builders/vmware/vsphere-iso.mdx index f27bee15e..71ae2edc5 100644 --- a/website/pages/docs/builders/vmware/vsphere-iso.mdx +++ b/website/pages/docs/builders/vmware/vsphere-iso.mdx @@ -282,17 +282,17 @@ Minimal example of usage to import a OVF template: #### Optional common fields: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' #### Optional SSH fields: -@include 'helper/communicator/SSH-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-not-required.mdx' -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' #### Optional WinRM fields: -@include 'helper/communicator/WinRM-not-required.mdx' +@include 'packer-plugin-sdk/communicator/WinRM-not-required.mdx' ## Working With Clusters And Hosts diff --git a/website/pages/docs/builders/yandex.mdx b/website/pages/docs/builders/yandex.mdx index d40a8c431..12243997f 100644 --- a/website/pages/docs/builders/yandex.mdx +++ b/website/pages/docs/builders/yandex.mdx @@ -69,7 +69,7 @@ In addition to the options listed here, a [communicator](/docs/templates/communi can be configured for this builder. In addition to the options defined there, a private key file can also be supplied to override the typical auto-generated key: -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' ### Required: diff --git a/website/pages/docs/communicators/ssh.mdx b/website/pages/docs/communicators/ssh.mdx index ab2341f91..1f06cc6e5 100644 --- a/website/pages/docs/communicators/ssh.mdx +++ b/website/pages/docs/communicators/ssh.mdx @@ -58,7 +58,7 @@ the remote host. The SSH communicator has the following options: -@include "helper/communicator/SSH-not-required.mdx" +@include "packer-plugin-sdk/communicator/SSH-not-required.mdx" ~> Note: SSH communicator options: `ssh_keypair_name`, `ssh_agent_auth`, `temporary_key_pair_name` and `ssh_private_key_file` are also supported by diff --git a/website/pages/docs/communicators/winrm.mdx b/website/pages/docs/communicators/winrm.mdx index ff5cd586e..2efd5233d 100644 --- a/website/pages/docs/communicators/winrm.mdx +++ b/website/pages/docs/communicators/winrm.mdx @@ -36,7 +36,7 @@ to successfully use Packer to build from an iso. ## WinRM Communicator Options -@include "helper/communicator/WinRM-not-required.mdx" +@include "packer-plugin-sdk/communicator/WinRM-not-required.mdx" ## Examples diff --git a/website/pages/docs/templates/communicator.mdx b/website/pages/docs/templates/communicator.mdx index 7b3b9c679..10056dbca 100644 --- a/website/pages/docs/templates/communicator.mdx +++ b/website/pages/docs/templates/communicator.mdx @@ -17,7 +17,7 @@ Communicators are configured within the All communicators have the following options: -@include 'helper/communicator/Config-not-required.mdx' +@include 'packer-plugin-sdk/communicator/Config-not-required.mdx' ## Getting Ready to Use the Communicator diff --git a/website/pages/partials/builders/virtualbox-ssh-key-pair.mdx b/website/pages/partials/builders/virtualbox-ssh-key-pair.mdx index 8fc1a78e9..9bccd488d 100644 --- a/website/pages/partials/builders/virtualbox-ssh-key-pair.mdx +++ b/website/pages/partials/builders/virtualbox-ssh-key-pair.mdx @@ -1,13 +1,13 @@ ### SSH key pair automation The VirtualBox builders can inject the current SSH key pair's public key into -the template using the `SSHPublicKey` template engine. This is the SSH public +the template using the `SSHPublicKey` template engine. This is the SSH public key as a line in OpenSSH authorized_keys format. When a private key is provided using `ssh_private_key_file`, the key's corresponding public key can be accessed using the above engine. -@include 'helper/communicator/SSH-Private-Key-File-not-required.mdx' +@include 'packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx' If `ssh_password` and `ssh_private_key_file` are not specified, Packer will automatically generate en ephemeral key pair. The key pair's public key can diff --git a/website/pages/partials/helper/communicator/Config.mdx b/website/pages/partials/helper/communicator/Config.mdx deleted file mode 100644 index fa251ad0c..000000000 --- a/website/pages/partials/helper/communicator/Config.mdx +++ /dev/null @@ -1,4 +0,0 @@ - - -Config is the common configuration that communicators allow within -a builder. diff --git a/website/pages/partials/helper/communicator/Config-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/Config-not-required.mdx similarity index 90% rename from website/pages/partials/helper/communicator/Config-not-required.mdx rename to website/pages/partials/packer-plugin-sdk/communicator/Config-not-required.mdx index a0ffb17d3..0400c9f7b 100644 --- a/website/pages/partials/helper/communicator/Config-not-required.mdx +++ b/website/pages/partials/packer-plugin-sdk/communicator/Config-not-required.mdx @@ -1,4 +1,4 @@ - + - `communicator` (string) - Packer currently supports three kinds of communicators: diff --git a/website/pages/partials/packer-plugin-sdk/communicator/Config.mdx b/website/pages/partials/packer-plugin-sdk/communicator/Config.mdx new file mode 100644 index 000000000..e030bbcd1 --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/Config.mdx @@ -0,0 +1,4 @@ + + +Config is the common configuration that communicators allow within +a builder. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx new file mode 100644 index 000000000..efc409dcb --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Agent-Auth-not-required.mdx @@ -0,0 +1,6 @@ +- `ssh_agent_auth` (bool) - If true, the local SSH agent will be used to authenticate connections to + the source instance. No temporary keypair will be created, and the + values of [`ssh_password`](#ssh_password) and + [`ssh_private_key_file`](#ssh_private_key_file) will be ignored. The + environment variable `SSH_AUTH_SOCK` must be set for this option to work + properly. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx new file mode 100644 index 000000000..88e5a7a93 --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Key-Pair-Name-not-required.mdx @@ -0,0 +1,7 @@ +- `ssh_keypair_name` (string) - If specified, this is the key that will be used for SSH with the + machine. The key must match a key pair name loaded up into the remote. + By default, this is blank, and Packer will generate a temporary keypair + unless [`ssh_password`](#ssh_password) is used. + [`ssh_private_key_file`](#ssh_private_key_file) or + [`ssh_agent_auth`](#ssh_agent_auth) must be specified when + [`ssh_keypair_name`](#ssh_keypair_name) is utilized. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx new file mode 100644 index 000000000..a1925982a --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Private-Key-File-not-required.mdx @@ -0,0 +1,3 @@ +- `ssh_private_key_file` (string) - Path to a PEM encoded private key file to use to authenticate with SSH. + The `~` can be used in path and will be expanded to the home directory + of current user. diff --git a/website/pages/partials/packer-plugin-sdk/communicator/SSH-Temporary-Key-Pair-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Temporary-Key-Pair-not-required.mdx new file mode 100644 index 000000000..98c2a7637 --- /dev/null +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSH-Temporary-Key-Pair-not-required.mdx @@ -0,0 +1,3 @@ +- `temporary_key_pair_name` (string) - The name of the temporary key pair to generate. By default, Packer + generates a name that looks like `packer_`, where <UUID> is + a 36 character unique identifier. diff --git a/website/pages/partials/helper/communicator/SSH-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSH-not-required.mdx similarity index 97% rename from website/pages/partials/helper/communicator/SSH-not-required.mdx rename to website/pages/partials/packer-plugin-sdk/communicator/SSH-not-required.mdx index ef9277f37..c9218b8b9 100644 --- a/website/pages/partials/helper/communicator/SSH-not-required.mdx +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSH-not-required.mdx @@ -1,4 +1,4 @@ - + - `ssh_host` (string) - The address to SSH to. This usually is automatically configured by the builder. diff --git a/website/pages/partials/helper/communicator/SSHInterface-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSHInterface-not-required.mdx similarity index 93% rename from website/pages/partials/helper/communicator/SSHInterface-not-required.mdx rename to website/pages/partials/packer-plugin-sdk/communicator/SSHInterface-not-required.mdx index a2efb98b7..1645c72be 100644 --- a/website/pages/partials/helper/communicator/SSHInterface-not-required.mdx +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSHInterface-not-required.mdx @@ -1,4 +1,4 @@ - + - `ssh_interface` (string) - One of `public_ip`, `private_ip`, `public_dns`, or `private_dns`. If set, either the public IP address, private IP address, public DNS name diff --git a/website/pages/partials/helper/communicator/SSHTemporaryKeyPair-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx similarity index 91% rename from website/pages/partials/helper/communicator/SSHTemporaryKeyPair-not-required.mdx rename to website/pages/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx index ac4594cf5..cb0027318 100644 --- a/website/pages/partials/helper/communicator/SSHTemporaryKeyPair-not-required.mdx +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair-not-required.mdx @@ -1,4 +1,4 @@ - + - `temporary_key_pair_type` (string) - `dsa` | `ecdsa` | `ed25519` | `rsa` ( the default ) diff --git a/website/pages/partials/helper/communicator/SSHTemporaryKeyPair.mdx b/website/pages/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx similarity index 73% rename from website/pages/partials/helper/communicator/SSHTemporaryKeyPair.mdx rename to website/pages/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx index 18a82c547..90caf4de1 100644 --- a/website/pages/partials/helper/communicator/SSHTemporaryKeyPair.mdx +++ b/website/pages/partials/packer-plugin-sdk/communicator/SSHTemporaryKeyPair.mdx @@ -1,4 +1,4 @@ - + When no ssh credentials are specified, Packer will generate a temporary SSH keypair for the instance, you can change the algorithm type and bits diff --git a/website/pages/partials/helper/communicator/WinRM-not-required.mdx b/website/pages/partials/packer-plugin-sdk/communicator/WinRM-not-required.mdx similarity index 92% rename from website/pages/partials/helper/communicator/WinRM-not-required.mdx rename to website/pages/partials/packer-plugin-sdk/communicator/WinRM-not-required.mdx index 028b8b8a8..3ffa32d16 100644 --- a/website/pages/partials/helper/communicator/WinRM-not-required.mdx +++ b/website/pages/partials/packer-plugin-sdk/communicator/WinRM-not-required.mdx @@ -1,4 +1,4 @@ - + - `winrm_username` (string) - The username to use to connect to WinRM.