From f29752e90b9b0da9ffecf96e8936807d59d2b8fa Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 16:39:01 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- .circleci/config.yml | 3 +++ .github/release.yml | 3 +++ .golangci.yml | 3 +++ .goreleaser.yml | 3 +++ builder/vagrant/artifact.go | 3 +++ builder/vagrant/artifact_test.go | 3 +++ builder/vagrant/builder.go | 3 +++ builder/vagrant/builder_test.go | 3 +++ builder/vagrant/driver.go | 3 +++ builder/vagrant/driver_2_2.go | 3 +++ builder/vagrant/driver_mock.go | 3 +++ builder/vagrant/ssh.go | 3 +++ builder/vagrant/step_add_box.go | 3 +++ builder/vagrant/step_add_box_test.go | 3 +++ builder/vagrant/step_create_vagrantfile.go | 3 +++ builder/vagrant/step_create_vagrantfile_test.go | 3 +++ builder/vagrant/step_package.go | 3 +++ builder/vagrant/step_ssh_config.go | 3 +++ builder/vagrant/step_ssh_config_test.go | 3 +++ builder/vagrant/step_up.go | 3 +++ builder/vagrant/step_up_test.go | 3 +++ example/vagrant_builder.pkr.hcl | 3 +++ example/vagrant_cloud_postprocessor.pkr.hcl | 3 +++ example/vagrant_postprocessor.pkr.hcl | 3 +++ main.go | 3 +++ post-processor/vagrant-cloud/artifact.go | 3 +++ post-processor/vagrant-cloud/artifact_test.go | 3 +++ post-processor/vagrant-cloud/client.go | 3 +++ post-processor/vagrant-cloud/client_test.go | 3 +++ post-processor/vagrant-cloud/post-processor.go | 3 +++ post-processor/vagrant-cloud/post-processor_test.go | 3 +++ post-processor/vagrant-cloud/step_confirm_upload.go | 3 +++ post-processor/vagrant-cloud/step_create_provider.go | 3 +++ post-processor/vagrant-cloud/step_create_version.go | 3 +++ post-processor/vagrant-cloud/step_prepare_upload.go | 3 +++ post-processor/vagrant-cloud/step_release_version.go | 3 +++ post-processor/vagrant-cloud/step_upload.go | 3 +++ post-processor/vagrant-cloud/step_verify_box.go | 3 +++ post-processor/vagrant/artifact.go | 3 +++ post-processor/vagrant/artifact_test.go | 3 +++ post-processor/vagrant/aws.go | 3 +++ post-processor/vagrant/aws_test.go | 3 +++ post-processor/vagrant/azure.go | 3 +++ post-processor/vagrant/azure_test.go | 3 +++ post-processor/vagrant/digitalocean.go | 3 +++ post-processor/vagrant/digitalocean_test.go | 3 +++ post-processor/vagrant/docker.go | 3 +++ post-processor/vagrant/docker_test.go | 3 +++ post-processor/vagrant/google.go | 3 +++ post-processor/vagrant/google_test.go | 3 +++ post-processor/vagrant/hyperv.go | 3 +++ post-processor/vagrant/libvirt.go | 3 +++ post-processor/vagrant/libvirt_test.go | 3 +++ post-processor/vagrant/lxc.go | 3 +++ post-processor/vagrant/lxc_test.go | 3 +++ post-processor/vagrant/parallels.go | 3 +++ post-processor/vagrant/parallels_test.go | 3 +++ post-processor/vagrant/post-processor.go | 3 +++ post-processor/vagrant/post-processor_test.go | 3 +++ post-processor/vagrant/provider.go | 3 +++ post-processor/vagrant/scaleway.go | 3 +++ post-processor/vagrant/tar_fix.go | 3 +++ post-processor/vagrant/tar_fix_go110.go | 3 +++ post-processor/vagrant/util.go | 3 +++ post-processor/vagrant/virtualbox.go | 3 +++ post-processor/vagrant/virtualbox_test.go | 3 +++ post-processor/vagrant/vmware.go | 3 +++ post-processor/vagrant/vmware_test.go | 3 +++ version/version.go | 3 +++ 69 files changed, 207 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c7de12d..f1194b71 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: 2.1 executors: diff --git a/.github/release.yml b/.github/release.yml index 7719b043..47288604 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + changelog: exclude: labels: diff --git a/.golangci.yml b/.golangci.yml index c233fdfc..b0e00be4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + issues: # List of regexps of issue texts to exclude, empty list by default. # But independently from this option we use default exclude patterns, diff --git a/.goreleaser.yml b/.goreleaser.yml index b8428ed6..1c48ac23 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This is an example goreleaser.yaml file with some defaults. # Make sure to check the documentation at http://goreleaser.com env: diff --git a/builder/vagrant/artifact.go b/builder/vagrant/artifact.go index e1ec697f..5cbfaaf0 100644 --- a/builder/vagrant/artifact.go +++ b/builder/vagrant/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/artifact_test.go b/builder/vagrant/artifact_test.go index e9bfd515..8b3844cc 100644 --- a/builder/vagrant/artifact_test.go +++ b/builder/vagrant/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/builder.go b/builder/vagrant/builder.go index 14c294c7..01359a0e 100644 --- a/builder/vagrant/builder.go +++ b/builder/vagrant/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type Config diff --git a/builder/vagrant/builder_test.go b/builder/vagrant/builder_test.go index fdea9075..5751e38f 100644 --- a/builder/vagrant/builder_test.go +++ b/builder/vagrant/builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/driver.go b/builder/vagrant/driver.go index 56f7e8f6..70fcbeb2 100644 --- a/builder/vagrant/driver.go +++ b/builder/vagrant/driver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/driver_2_2.go b/builder/vagrant/driver_2_2.go index 71fa4579..a7be8de0 100644 --- a/builder/vagrant/driver_2_2.go +++ b/builder/vagrant/driver_2_2.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/driver_mock.go b/builder/vagrant/driver_mock.go index 358041e4..acfd5c45 100644 --- a/builder/vagrant/driver_mock.go +++ b/builder/vagrant/driver_mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant // Create a mock driver so that we can test Vagrant builder steps diff --git a/builder/vagrant/ssh.go b/builder/vagrant/ssh.go index ae48134f..b2ae7e6d 100644 --- a/builder/vagrant/ssh.go +++ b/builder/vagrant/ssh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_add_box.go b/builder/vagrant/step_add_box.go index 7c14ef10..4ee042aa 100644 --- a/builder/vagrant/step_add_box.go +++ b/builder/vagrant/step_add_box.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_add_box_test.go b/builder/vagrant/step_add_box_test.go index 2dabc9a8..82420e1d 100644 --- a/builder/vagrant/step_add_box_test.go +++ b/builder/vagrant/step_add_box_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_create_vagrantfile.go b/builder/vagrant/step_create_vagrantfile.go index 82da88a5..ecc80c5c 100644 --- a/builder/vagrant/step_create_vagrantfile.go +++ b/builder/vagrant/step_create_vagrantfile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_create_vagrantfile_test.go b/builder/vagrant/step_create_vagrantfile_test.go index 0e8d752e..31f2111f 100644 --- a/builder/vagrant/step_create_vagrantfile_test.go +++ b/builder/vagrant/step_create_vagrantfile_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_package.go b/builder/vagrant/step_package.go index 0a036775..e99a28b3 100644 --- a/builder/vagrant/step_package.go +++ b/builder/vagrant/step_package.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_ssh_config.go b/builder/vagrant/step_ssh_config.go index 072ac471..fce9a07b 100644 --- a/builder/vagrant/step_ssh_config.go +++ b/builder/vagrant/step_ssh_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_ssh_config_test.go b/builder/vagrant/step_ssh_config_test.go index e1b9e751..a2885ba5 100644 --- a/builder/vagrant/step_ssh_config_test.go +++ b/builder/vagrant/step_ssh_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_up.go b/builder/vagrant/step_up.go index 2063e41c..926fb619 100644 --- a/builder/vagrant/step_up.go +++ b/builder/vagrant/step_up.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/builder/vagrant/step_up_test.go b/builder/vagrant/step_up_test.go index 9eb0ef84..a0846e03 100644 --- a/builder/vagrant/step_up_test.go +++ b/builder/vagrant/step_up_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/example/vagrant_builder.pkr.hcl b/example/vagrant_builder.pkr.hcl index 807ef613..aa4d5d79 100644 --- a/example/vagrant_builder.pkr.hcl +++ b/example/vagrant_builder.pkr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + packer { required_plugins { vagrant = { diff --git a/example/vagrant_cloud_postprocessor.pkr.hcl b/example/vagrant_cloud_postprocessor.pkr.hcl index f22da645..2d4826ec 100644 --- a/example/vagrant_cloud_postprocessor.pkr.hcl +++ b/example/vagrant_cloud_postprocessor.pkr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + packer { required_plugins { vagrant = { diff --git a/example/vagrant_postprocessor.pkr.hcl b/example/vagrant_postprocessor.pkr.hcl index 7e86d3ec..9cc025c0 100644 --- a/example/vagrant_postprocessor.pkr.hcl +++ b/example/vagrant_postprocessor.pkr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + packer { required_plugins { docker = { diff --git a/main.go b/main.go index e26751cd..37936464 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/post-processor/vagrant-cloud/artifact.go b/post-processor/vagrant-cloud/artifact.go index 9f1d4f4b..c041ea67 100644 --- a/post-processor/vagrant-cloud/artifact.go +++ b/post-processor/vagrant-cloud/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/artifact_test.go b/post-processor/vagrant-cloud/artifact_test.go index 1a3d7ea8..bc6b20af 100644 --- a/post-processor/vagrant-cloud/artifact_test.go +++ b/post-processor/vagrant-cloud/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/client.go b/post-processor/vagrant-cloud/client.go index 2c36f25e..9711910f 100644 --- a/post-processor/vagrant-cloud/client.go +++ b/post-processor/vagrant-cloud/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/client_test.go b/post-processor/vagrant-cloud/client_test.go index 18388da4..dcea3dee 100644 --- a/post-processor/vagrant-cloud/client_test.go +++ b/post-processor/vagrant-cloud/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/post-processor.go b/post-processor/vagrant-cloud/post-processor.go index b602776d..69b6f103 100644 --- a/post-processor/vagrant-cloud/post-processor.go +++ b/post-processor/vagrant-cloud/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config // vagrant_cloud implements the packersdk.PostProcessor interface and adds a diff --git a/post-processor/vagrant-cloud/post-processor_test.go b/post-processor/vagrant-cloud/post-processor_test.go index 9053d1f3..28411453 100644 --- a/post-processor/vagrant-cloud/post-processor_test.go +++ b/post-processor/vagrant-cloud/post-processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_confirm_upload.go b/post-processor/vagrant-cloud/step_confirm_upload.go index a177ecbc..41954656 100644 --- a/post-processor/vagrant-cloud/step_confirm_upload.go +++ b/post-processor/vagrant-cloud/step_confirm_upload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_create_provider.go b/post-processor/vagrant-cloud/step_create_provider.go index 5b937a00..751a981e 100644 --- a/post-processor/vagrant-cloud/step_create_provider.go +++ b/post-processor/vagrant-cloud/step_create_provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_create_version.go b/post-processor/vagrant-cloud/step_create_version.go index 8c4dbbab..2bff5920 100644 --- a/post-processor/vagrant-cloud/step_create_version.go +++ b/post-processor/vagrant-cloud/step_create_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_prepare_upload.go b/post-processor/vagrant-cloud/step_prepare_upload.go index 07ab7d7d..8932a974 100644 --- a/post-processor/vagrant-cloud/step_prepare_upload.go +++ b/post-processor/vagrant-cloud/step_prepare_upload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_release_version.go b/post-processor/vagrant-cloud/step_release_version.go index 70da5132..19c47e2f 100644 --- a/post-processor/vagrant-cloud/step_release_version.go +++ b/post-processor/vagrant-cloud/step_release_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_upload.go b/post-processor/vagrant-cloud/step_upload.go index d79a7972..f4b2edc0 100644 --- a/post-processor/vagrant-cloud/step_upload.go +++ b/post-processor/vagrant-cloud/step_upload.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant-cloud/step_verify_box.go b/post-processor/vagrant-cloud/step_verify_box.go index 2731cbef..eeb508f6 100644 --- a/post-processor/vagrant-cloud/step_verify_box.go +++ b/post-processor/vagrant-cloud/step_verify_box.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrantcloud import ( diff --git a/post-processor/vagrant/artifact.go b/post-processor/vagrant/artifact.go index 5974e990..36ecd709 100644 --- a/post-processor/vagrant/artifact.go +++ b/post-processor/vagrant/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/artifact_test.go b/post-processor/vagrant/artifact_test.go index f17b4a9a..da35ade2 100644 --- a/post-processor/vagrant/artifact_test.go +++ b/post-processor/vagrant/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/aws.go b/post-processor/vagrant/aws.go index b3454a6b..f6edf3e3 100644 --- a/post-processor/vagrant/aws.go +++ b/post-processor/vagrant/aws.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/aws_test.go b/post-processor/vagrant/aws_test.go index b1c2d05f..99d14965 100644 --- a/post-processor/vagrant/aws_test.go +++ b/post-processor/vagrant/aws_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/azure.go b/post-processor/vagrant/azure.go index 405efdf7..5e5f08e7 100644 --- a/post-processor/vagrant/azure.go +++ b/post-processor/vagrant/azure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/azure_test.go b/post-processor/vagrant/azure_test.go index bffb06b7..119df397 100644 --- a/post-processor/vagrant/azure_test.go +++ b/post-processor/vagrant/azure_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/digitalocean.go b/post-processor/vagrant/digitalocean.go index d2285209..05fdc74a 100644 --- a/post-processor/vagrant/digitalocean.go +++ b/post-processor/vagrant/digitalocean.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/digitalocean_test.go b/post-processor/vagrant/digitalocean_test.go index 98a8eb94..5af01dec 100644 --- a/post-processor/vagrant/digitalocean_test.go +++ b/post-processor/vagrant/digitalocean_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/docker.go b/post-processor/vagrant/docker.go index bb1dfe39..b2a70978 100644 --- a/post-processor/vagrant/docker.go +++ b/post-processor/vagrant/docker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/docker_test.go b/post-processor/vagrant/docker_test.go index 380846bc..d0a0ece0 100644 --- a/post-processor/vagrant/docker_test.go +++ b/post-processor/vagrant/docker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/google.go b/post-processor/vagrant/google.go index cbe7cb0a..a8d46cb5 100644 --- a/post-processor/vagrant/google.go +++ b/post-processor/vagrant/google.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/google_test.go b/post-processor/vagrant/google_test.go index 5d713d21..a3f8f6c1 100644 --- a/post-processor/vagrant/google_test.go +++ b/post-processor/vagrant/google_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/hyperv.go b/post-processor/vagrant/hyperv.go index 8597ff20..93ddb59c 100644 --- a/post-processor/vagrant/hyperv.go +++ b/post-processor/vagrant/hyperv.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/libvirt.go b/post-processor/vagrant/libvirt.go index c5e71332..49459d99 100644 --- a/post-processor/vagrant/libvirt.go +++ b/post-processor/vagrant/libvirt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/libvirt_test.go b/post-processor/vagrant/libvirt_test.go index da03596a..016b1d84 100644 --- a/post-processor/vagrant/libvirt_test.go +++ b/post-processor/vagrant/libvirt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/lxc.go b/post-processor/vagrant/lxc.go index 1b0a80ba..269e97ae 100644 --- a/post-processor/vagrant/lxc.go +++ b/post-processor/vagrant/lxc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/lxc_test.go b/post-processor/vagrant/lxc_test.go index da5532c3..b280bc15 100644 --- a/post-processor/vagrant/lxc_test.go +++ b/post-processor/vagrant/lxc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/parallels.go b/post-processor/vagrant/parallels.go index a40bafe9..588ee94a 100644 --- a/post-processor/vagrant/parallels.go +++ b/post-processor/vagrant/parallels.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/parallels_test.go b/post-processor/vagrant/parallels_test.go index 093680f8..c398f560 100644 --- a/post-processor/vagrant/parallels_test.go +++ b/post-processor/vagrant/parallels_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/post-processor.go b/post-processor/vagrant/post-processor.go index f33c2256..532cdbdc 100644 --- a/post-processor/vagrant/post-processor.go +++ b/post-processor/vagrant/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config // vagrant implements the packersdk.PostProcessor interface and adds a diff --git a/post-processor/vagrant/post-processor_test.go b/post-processor/vagrant/post-processor_test.go index 4529ef27..b11888ef 100644 --- a/post-processor/vagrant/post-processor_test.go +++ b/post-processor/vagrant/post-processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/provider.go b/post-processor/vagrant/provider.go index 6b47ec29..b5297ce0 100644 --- a/post-processor/vagrant/provider.go +++ b/post-processor/vagrant/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/scaleway.go b/post-processor/vagrant/scaleway.go index 0ff6259d..08863bb0 100644 --- a/post-processor/vagrant/scaleway.go +++ b/post-processor/vagrant/scaleway.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/tar_fix.go b/post-processor/vagrant/tar_fix.go index 0bca9295..654b5185 100644 --- a/post-processor/vagrant/tar_fix.go +++ b/post-processor/vagrant/tar_fix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !go1.10 // +build !go1.10 diff --git a/post-processor/vagrant/tar_fix_go110.go b/post-processor/vagrant/tar_fix_go110.go index 31018fb0..5c1a4c77 100644 --- a/post-processor/vagrant/tar_fix_go110.go +++ b/post-processor/vagrant/tar_fix_go110.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build go1.10 // +build go1.10 diff --git a/post-processor/vagrant/util.go b/post-processor/vagrant/util.go index 0a606c38..206f18ef 100644 --- a/post-processor/vagrant/util.go +++ b/post-processor/vagrant/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/virtualbox.go b/post-processor/vagrant/virtualbox.go index 859d6a86..39367dcf 100644 --- a/post-processor/vagrant/virtualbox.go +++ b/post-processor/vagrant/virtualbox.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/virtualbox_test.go b/post-processor/vagrant/virtualbox_test.go index 78a18130..129fd33d 100644 --- a/post-processor/vagrant/virtualbox_test.go +++ b/post-processor/vagrant/virtualbox_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/vmware.go b/post-processor/vagrant/vmware.go index 61a25264..a035baa8 100644 --- a/post-processor/vagrant/vmware.go +++ b/post-processor/vagrant/vmware.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/post-processor/vagrant/vmware_test.go b/post-processor/vagrant/vmware_test.go index e47dd308..b42e6a1c 100644 --- a/post-processor/vagrant/vmware_test.go +++ b/post-processor/vagrant/vmware_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vagrant import ( diff --git a/version/version.go b/version/version.go index 53812de0..0c227b5a 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import "github.com/hashicorp/packer-plugin-sdk/version"