diff --git a/.ci/spec/clean-packet.sh b/.ci/spec/clean-packet.sh index 77ef5ee50ec..65f8f0ffce8 100755 --- a/.ci/spec/clean-packet.sh +++ b/.ci/spec/clean-packet.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + csource="${BASH_SOURCE[0]}" while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done diff --git a/.ci/spec/create-hosts.sh b/.ci/spec/create-hosts.sh index de7efdfbac7..c6ce909d73b 100755 --- a/.ci/spec/create-hosts.sh +++ b/.ci/spec/create-hosts.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + csource="${BASH_SOURCE[0]}" while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done diff --git a/.ci/spec/create-packet.sh b/.ci/spec/create-packet.sh index 15654f64063..d80a596f8a8 100755 --- a/.ci/spec/create-packet.sh +++ b/.ci/spec/create-packet.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + export PACKET_EXEC_PREFER_FACILITIES="${PACKET_EXEC_PREFER_FACILITIES:-iad2,dfw2,dfw1,ny5,ny7,ewr1,la4,lax1,lax2,tr2,ch3,ord1,ord4}" diff --git a/.ci/spec/env.sh b/.ci/spec/env.sh index 609c3dff4d1..bcb6a3d1395 100755 --- a/.ci/spec/env.sh +++ b/.ci/spec/env.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # packet and job configuration export SLACK_USERNAME="Vagrant" diff --git a/.ci/spec/notify-success.sh b/.ci/spec/notify-success.sh index e5fcc5d4969..8446efdadc7 100755 --- a/.ci/spec/notify-success.sh +++ b/.ci/spec/notify-success.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + csource="${BASH_SOURCE[0]}" while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done diff --git a/.ci/spec/pull-log.sh b/.ci/spec/pull-log.sh index 47aa4a04345..eaefa335861 100755 --- a/.ci/spec/pull-log.sh +++ b/.ci/spec/pull-log.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + csource="${BASH_SOURCE[0]}" while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done diff --git a/.ci/spec/run-test.sh b/.ci/spec/run-test.sh index 5239b3e157a..5dce8793d74 100755 --- a/.ci/spec/run-test.sh +++ b/.ci/spec/run-test.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + csource="${BASH_SOURCE[0]}" while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done diff --git a/.ci/sync.sh b/.ci/sync.sh index fe860521bfa..5d86177b7ea 100755 --- a/.ci/sync.sh +++ b/.ci/sync.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + csource="${BASH_SOURCE[0]}" while [ -h "$csource" ] ; do csource="$(readlink "$csource")"; done diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7d4677ae64b..7d64461bc44 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + contact_links: - name: Ask a Question url: https://discuss.hashicorp.com/c/vagrant diff --git a/.runner.sh b/.runner.sh index b16ddbce7fe..9c3856ddaed 100755 --- a/.runner.sh +++ b/.runner.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -e diff --git a/Dockerfile b/Dockerfile index 82e932b2df6..44a1c5684ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,7 @@ # syntax = docker.mirror.hashicorp.services/docker/dockerfile:experimental +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + FROM docker.mirror.hashicorp.services/golang:alpine AS builder diff --git a/Gemfile b/Gemfile index 565ca7959c1..957a626df39 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + source "https://rubygems.org" gemspec diff --git a/builtin/configvagrant/main.go b/builtin/configvagrant/main.go index b69b929689e..85395686f0b 100644 --- a/builtin/configvagrant/main.go +++ b/builtin/configvagrant/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package configvagrant import ( diff --git a/builtin/httpdownloader/downloader/downloader.go b/builtin/httpdownloader/downloader/downloader.go index dfcdfbcb56e..5a783950e01 100644 --- a/builtin/httpdownloader/downloader/downloader.go +++ b/builtin/httpdownloader/downloader/downloader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package downloader import ( diff --git a/builtin/httpdownloader/main.go b/builtin/httpdownloader/main.go index 34385401d01..418e37e8647 100644 --- a/builtin/httpdownloader/main.go +++ b/builtin/httpdownloader/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package httpdownloader import ( diff --git a/builtin/myplugin/command/command.go b/builtin/myplugin/command/command.go index 307cefba243..379fdf79044 100644 --- a/builtin/myplugin/command/command.go +++ b/builtin/myplugin/command/command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package command import ( diff --git a/builtin/myplugin/command/dothing.go b/builtin/myplugin/command/dothing.go index f90a2ca51e3..6f7c96cffd3 100644 --- a/builtin/myplugin/command/dothing.go +++ b/builtin/myplugin/command/dothing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package command import ( diff --git a/builtin/myplugin/command/host.go b/builtin/myplugin/command/host.go index 15e2a2f8fbd..e667d218a3c 100644 --- a/builtin/myplugin/command/host.go +++ b/builtin/myplugin/command/host.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package command import ( diff --git a/builtin/myplugin/command/info.go b/builtin/myplugin/command/info.go index 93b2ad24443..fa61e0f1f42 100644 --- a/builtin/myplugin/command/info.go +++ b/builtin/myplugin/command/info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package command import ( diff --git a/builtin/myplugin/command/interactive.go b/builtin/myplugin/command/interactive.go index c41ea5d15b9..f7fc00631e3 100644 --- a/builtin/myplugin/command/interactive.go +++ b/builtin/myplugin/command/interactive.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package command import ( diff --git a/builtin/myplugin/communicator/communicator.go b/builtin/myplugin/communicator/communicator.go index 231fa36dd12..dd3d71f57c8 100644 --- a/builtin/myplugin/communicator/communicator.go +++ b/builtin/myplugin/communicator/communicator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package communicator import ( diff --git a/builtin/myplugin/host/alwaystrue.go b/builtin/myplugin/host/alwaystrue.go index a8cb8d24c52..2dae2c3f44e 100644 --- a/builtin/myplugin/host/alwaystrue.go +++ b/builtin/myplugin/host/alwaystrue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package host import ( diff --git a/builtin/myplugin/host/cap/write_hello.go b/builtin/myplugin/host/cap/write_hello.go index 41447e1953d..85c43c2d148 100644 --- a/builtin/myplugin/host/cap/write_hello.go +++ b/builtin/myplugin/host/cap/write_hello.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cap import ( diff --git a/builtin/myplugin/locales/locales.go b/builtin/myplugin/locales/locales.go index 65a6cf7b21d..efa4d388cad 100644 --- a/builtin/myplugin/locales/locales.go +++ b/builtin/myplugin/locales/locales.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Code generated for package locales by go-bindata DO NOT EDIT. (@generated) // sources: // locales/assets/en.json diff --git a/builtin/myplugin/main.go b/builtin/myplugin/main.go index 37158d69c26..8ae49e17ae6 100644 --- a/builtin/myplugin/main.go +++ b/builtin/myplugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package myplugin import ( diff --git a/builtin/myplugin/mappers.go b/builtin/myplugin/mappers.go index 2f28ada0e96..21b8e8daf5f 100644 --- a/builtin/myplugin/mappers.go +++ b/builtin/myplugin/mappers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package myplugin import ( diff --git a/builtin/myplugin/proto/plugin.proto b/builtin/myplugin/proto/plugin.proto index 5b1bf90460f..588d2561673 100644 --- a/builtin/myplugin/proto/plugin.proto +++ b/builtin/myplugin/proto/plugin.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + syntax = "proto3"; package myplugin; diff --git a/builtin/myplugin/provider/happy.go b/builtin/myplugin/provider/happy.go index 52e1806cf7b..94591e47979 100644 --- a/builtin/myplugin/provider/happy.go +++ b/builtin/myplugin/provider/happy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package provider import ( diff --git a/builtin/myplugin/push/encouragement.go b/builtin/myplugin/push/encouragement.go index 8083b00f3ac..bf3646eb9b1 100644 --- a/builtin/myplugin/push/encouragement.go +++ b/builtin/myplugin/push/encouragement.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package push import ( diff --git a/builtin/otherplugin/command.go b/builtin/otherplugin/command.go index 011d4458589..2130e9fd0a1 100644 --- a/builtin/otherplugin/command.go +++ b/builtin/otherplugin/command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package otherplugin import ( diff --git a/builtin/otherplugin/guest/alwaystrue.go b/builtin/otherplugin/guest/alwaystrue.go index c5fad544aa4..ca8483b62e2 100644 --- a/builtin/otherplugin/guest/alwaystrue.go +++ b/builtin/otherplugin/guest/alwaystrue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package guest import ( diff --git a/builtin/otherplugin/guest/cap/write_hello.go b/builtin/otherplugin/guest/cap/write_hello.go index eb3f68fae56..62237e15f1e 100644 --- a/builtin/otherplugin/guest/cap/write_hello.go +++ b/builtin/otherplugin/guest/cap/write_hello.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cap import ( diff --git a/builtin/otherplugin/main.go b/builtin/otherplugin/main.go index b92963a9f6f..d36f3d3caf5 100644 --- a/builtin/otherplugin/main.go +++ b/builtin/otherplugin/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package otherplugin import ( diff --git a/cmd/vagrant/main.go b/cmd/vagrant/main.go index 19f8bb73d61..0f65fef99eb 100644 --- a/cmd/vagrant/main.go +++ b/cmd/vagrant/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package main import ( diff --git a/contrib/emacs/vagrant.el b/contrib/emacs/vagrant.el index 4e0895725fb..f10de374d91 100644 --- a/contrib/emacs/vagrant.el +++ b/contrib/emacs/vagrant.el @@ -1,3 +1,6 @@ +;; Copyright (c) HashiCorp, Inc. +;; SPDX-License-Identifier: MIT + ;;-------------------------------------------------------------------- ;; Teach emacs to syntax highlight Vagrantfile as Ruby. ;; diff --git a/contrib/zsh/generate_zsh_completion.rb b/contrib/zsh/generate_zsh_completion.rb index af38ff38a8b..054742b1d56 100644 --- a/contrib/zsh/generate_zsh_completion.rb +++ b/contrib/zsh/generate_zsh_completion.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'open3' HEAD = """#compdef _vagrant vagrant diff --git a/ext/vagrant/vagrant_ssl/extconf.rb b/ext/vagrant/vagrant_ssl/extconf.rb index fa09bdf8362..322f4c31820 100644 --- a/ext/vagrant/vagrant_ssl/extconf.rb +++ b/ext/vagrant/vagrant_ssl/extconf.rb @@ -1,4 +1,7 @@ #!/usr/bin/env ruby +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "mkmf" require "shellwords" diff --git a/ext/vagrant/vagrant_ssl/vagrant_ssl.c b/ext/vagrant/vagrant_ssl/vagrant_ssl.c index 4c65c26e1cf..4bb1c7a00a1 100644 --- a/ext/vagrant/vagrant_ssl/vagrant_ssl.c +++ b/ext/vagrant/vagrant_ssl/vagrant_ssl.c @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + #include "vagrant_ssl.h" #if defined(_VAGRANT_SSL_PROVIDER_) diff --git a/ext/vagrant/vagrant_ssl/vagrant_ssl.h b/ext/vagrant/vagrant_ssl/vagrant_ssl.h index 4f9eccf1464..56d285d8780 100644 --- a/ext/vagrant/vagrant_ssl/vagrant_ssl.h +++ b/ext/vagrant/vagrant_ssl/vagrant_ssl.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + #if !defined(_VAGRANT_SSL_H_) #define _VAGRANT_SSL_H_ diff --git a/gen.go b/gen.go index 0d7111d1c98..83b47743962 100644 --- a/gen.go +++ b/gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package main // NOTE: This file is here as a nicety for being able to run `go generate` at diff --git a/internal/assets/dev.go b/internal/assets/dev.go index 4cd712bedb9..3febffb3c35 100644 --- a/internal/assets/dev.go +++ b/internal/assets/dev.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + //go:generate go-bindata -dev -pkg assets -o dev_assets.go -tags !assetsembedded ceb package assets diff --git a/internal/cli/base.go b/internal/cli/base.go index aeba6f3df45..d3e3f6fc424 100644 --- a/internal/cli/base.go +++ b/internal/cli/base.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/base_init.go b/internal/cli/base_init.go index cf9cefabda5..e69d05d291f 100644 --- a/internal/cli/base_init.go +++ b/internal/cli/base_init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/dynamic.go b/internal/cli/dynamic.go index 630dc67e9ff..c96c8c133f7 100644 --- a/internal/cli/dynamic.go +++ b/internal/cli/dynamic.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/help.go b/internal/cli/help.go index d5e86a6dcf8..3e9455a5da3 100644 --- a/internal/cli/help.go +++ b/internal/cli/help.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/main.go b/internal/cli/main.go index a7d1d60363e..6c087325a05 100644 --- a/internal/cli/main.go +++ b/internal/cli/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli //go:generate go-bindata -nomemcopy -nometadata -pkg datagen -o datagen/datagen.go -prefix data/ data/... diff --git a/internal/cli/option.go b/internal/cli/option.go index 006c4346a7e..5b3fc056655 100644 --- a/internal/cli/option.go +++ b/internal/cli/option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/plugin.go b/internal/cli/plugin.go index 9af1603a10d..9b57050831d 100644 --- a/internal/cli/plugin.go +++ b/internal/cli/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/ui.go b/internal/cli/ui.go index f9b38844356..bb6d7801b35 100644 --- a/internal/cli/ui.go +++ b/internal/cli/ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/cli/version.go b/internal/cli/version.go index ea80ae7f464..58db16b08d2 100644 --- a/internal/cli/version.go +++ b/internal/cli/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package cli import ( diff --git a/internal/clicontext/config.go b/internal/clicontext/config.go index bba0a3585f8..b5c6e902a16 100644 --- a/internal/clicontext/config.go +++ b/internal/clicontext/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clicontext import ( diff --git a/internal/clicontext/storage.go b/internal/clicontext/storage.go index 006c17204fd..a7b8bf89ef5 100644 --- a/internal/clicontext/storage.go +++ b/internal/clicontext/storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clicontext import ( diff --git a/internal/clicontext/storage_test.go b/internal/clicontext/storage_test.go index 71e7300a4e7..527a772a0f6 100644 --- a/internal/clicontext/storage_test.go +++ b/internal/clicontext/storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clicontext import ( diff --git a/internal/clicontext/testing.go b/internal/clicontext/testing.go index c989bcc52fa..158dbc4ab08 100644 --- a/internal/clicontext/testing.go +++ b/internal/clicontext/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clicontext import ( diff --git a/internal/client/basis.go b/internal/client/basis.go index f303e088159..34ccb2209b0 100644 --- a/internal/client/basis.go +++ b/internal/client/basis.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/client.go b/internal/client/client.go index 157134e9b00..e469f03b164 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/doc.go b/internal/client/doc.go index ba9186f4599..03c935a8850 100644 --- a/internal/client/doc.go +++ b/internal/client/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package client contains the Vagrant client implementation. // // The Vagrant client exposes a slightly higher level of abstraction diff --git a/internal/client/job.go b/internal/client/job.go index b5abc706b61..06c436f59a8 100644 --- a/internal/client/job.go +++ b/internal/client/job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/noop.go b/internal/client/noop.go index 360c0bdeb5a..9a0b931beb3 100644 --- a/internal/client/noop.go +++ b/internal/client/noop.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/noop_test.go b/internal/client/noop_test.go index 698ee56012f..9de2dbc7a91 100644 --- a/internal/client/noop_test.go +++ b/internal/client/noop_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client // import ( diff --git a/internal/client/operation.go b/internal/client/operation.go index 13feb097496..7a2c6a9e99a 100644 --- a/internal/client/operation.go +++ b/internal/client/operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/project.go b/internal/client/project.go index 80fa4521415..638acce2bd8 100644 --- a/internal/client/project.go +++ b/internal/client/project.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/runner.go b/internal/client/runner.go index abf22dc44c3..8c093eb4788 100644 --- a/internal/client/runner.go +++ b/internal/client/runner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/server.go b/internal/client/server.go index bb2f6e051fb..6d8c403b2fa 100644 --- a/internal/client/server.go +++ b/internal/client/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/target.go b/internal/client/target.go index 8ddc1bff1d7..b0010d439dc 100644 --- a/internal/client/target.go +++ b/internal/client/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/client/testing.go b/internal/client/testing.go index 6d6a609afb3..6a7e7609d9a 100644 --- a/internal/client/testing.go +++ b/internal/client/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package client import ( diff --git a/internal/clierrors/detect.go b/internal/clierrors/detect.go index e717f793978..6a220a438cd 100644 --- a/internal/clierrors/detect.go +++ b/internal/clierrors/detect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clierrors import ( diff --git a/internal/clierrors/detect_test.go b/internal/clierrors/detect_test.go index a918464db6c..8cd8cf8b1c6 100644 --- a/internal/clierrors/detect_test.go +++ b/internal/clierrors/detect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clierrors import ( diff --git a/internal/clierrors/humanize.go b/internal/clierrors/humanize.go index c63008898ae..43e041c1bb2 100644 --- a/internal/clierrors/humanize.go +++ b/internal/clierrors/humanize.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package clierrors import ( diff --git a/internal/config/config.go b/internal/config/config.go index a8a31239732..3883aead09f 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/config_test.go b/internal/config/config_test.go index cd23ccc6643..151661cd2af 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config // TODO: renable these tests when vagrantfile's can be parsed in hcl diff --git a/internal/config/eval_context.go b/internal/config/eval_context.go index 90df2beae70..7ddc54c2909 100644 --- a/internal/config/eval_context.go +++ b/internal/config/eval_context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/funcs/encoding.go b/internal/config/funcs/encoding.go index 6e1fb38a82b..a00b547698f 100644 --- a/internal/config/funcs/encoding.go +++ b/internal/config/funcs/encoding.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/funcs/encoding_test.go b/internal/config/funcs/encoding_test.go index 1bff88544f8..7c704d70222 100644 --- a/internal/config/funcs/encoding_test.go +++ b/internal/config/funcs/encoding_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/funcs/filesystem.go b/internal/config/funcs/filesystem.go index 8c6c16fdd48..1243d6755dd 100644 --- a/internal/config/funcs/filesystem.go +++ b/internal/config/funcs/filesystem.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/funcs/filesystem_test.go b/internal/config/funcs/filesystem_test.go index d5765006ad4..0d3ceeca625 100644 --- a/internal/config/funcs/filesystem_test.go +++ b/internal/config/funcs/filesystem_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/funcs/stdlib.go b/internal/config/funcs/stdlib.go index eeb880180a2..5a0c11ea7bf 100644 --- a/internal/config/funcs/stdlib.go +++ b/internal/config/funcs/stdlib.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/funcs/vcs_git.go b/internal/config/funcs/vcs_git.go index be4a2d28fad..96cae9b7cb6 100644 --- a/internal/config/funcs/vcs_git.go +++ b/internal/config/funcs/vcs_git.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/funcs/vcs_git_test.go b/internal/config/funcs/vcs_git_test.go index 247070d3b14..c761609eaac 100644 --- a/internal/config/funcs/vcs_git_test.go +++ b/internal/config/funcs/vcs_git_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package funcs import ( diff --git a/internal/config/hook.go b/internal/config/hook.go index 9f05e00ffe8..52fadf81ffe 100644 --- a/internal/config/hook.go +++ b/internal/config/hook.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config // Hook is the configuration for a hook that runs at specified times. diff --git a/internal/config/path.go b/internal/config/path.go index 1a85894c260..aad70ed6ece 100644 --- a/internal/config/path.go +++ b/internal/config/path.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/path_test.go b/internal/config/path_test.go index 3e98c2c8ff4..c232599ee31 100644 --- a/internal/config/path_test.go +++ b/internal/config/path_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/testdata/compare/app.hcl b/internal/config/testdata/compare/app.hcl index 45d4c0f60c8..439f026ec57 100644 --- a/internal/config/testdata/compare/app.hcl +++ b/internal/config/testdata/compare/app.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "foo" { diff --git a/internal/config/testdata/compare/app_labels.hcl b/internal/config/testdata/compare/app_labels.hcl index 70d9bf1641f..1caf78dae19 100644 --- a/internal/config/testdata/compare/app_labels.hcl +++ b/internal/config/testdata/compare/app_labels.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "bar" { diff --git a/internal/config/testdata/compare/app_path_relative.hcl b/internal/config/testdata/compare/app_path_relative.hcl index 30f05a3f5d0..3682c34dc1d 100644 --- a/internal/config/testdata/compare/app_path_relative.hcl +++ b/internal/config/testdata/compare/app_path_relative.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "foo" { diff --git a/internal/config/testdata/compare/build.hcl b/internal/config/testdata/compare/build.hcl index 7b906fc7f24..ba9abf80449 100644 --- a/internal/config/testdata/compare/build.hcl +++ b/internal/config/testdata/compare/build.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "test" { diff --git a/internal/config/testdata/compare/build_registry.hcl b/internal/config/testdata/compare/build_registry.hcl index fd27c199713..4b3b9c9897a 100644 --- a/internal/config/testdata/compare/build_registry.hcl +++ b/internal/config/testdata/compare/build_registry.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "test" { diff --git a/internal/config/testdata/compare/project.hcl b/internal/config/testdata/compare/project.hcl index 361e205e31a..9a809658a7d 100644 --- a/internal/config/testdata/compare/project.hcl +++ b/internal/config/testdata/compare/project.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "hello" diff --git a/internal/config/testdata/compare/project_function.hcl b/internal/config/testdata/compare/project_function.hcl index df7822c53a2..11713a8c13d 100644 --- a/internal/config/testdata/compare/project_function.hcl +++ b/internal/config/testdata/compare/project_function.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = upper("hello") diff --git a/internal/config/testdata/compare/project_path_project.hcl b/internal/config/testdata/compare/project_path_project.hcl index c9d1d485578..709c8837add 100644 --- a/internal/config/testdata/compare/project_path_project.hcl +++ b/internal/config/testdata/compare/project_path_project.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = path.project diff --git a/internal/config/testdata/compare/project_pwd.hcl b/internal/config/testdata/compare/project_pwd.hcl index c242972793a..c890a287fa2 100644 --- a/internal/config/testdata/compare/project_pwd.hcl +++ b/internal/config/testdata/compare/project_pwd.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = path.pwd diff --git a/internal/config/testdata/plugins/explicit.hcl b/internal/config/testdata/plugins/explicit.hcl index 63a4452cb10..2c2b5ce1fdb 100644 --- a/internal/config/testdata/plugins/explicit.hcl +++ b/internal/config/testdata/plugins/explicit.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "hello" plugin "go1" { diff --git a/internal/config/testdata/plugins/implicit.hcl b/internal/config/testdata/plugins/implicit.hcl index efd3dadffc0..de58fb2df51 100644 --- a/internal/config/testdata/plugins/implicit.hcl +++ b/internal/config/testdata/plugins/implicit.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "hello" app "tubes" { diff --git a/internal/config/testdata/plugins/implicit_registry.hcl b/internal/config/testdata/plugins/implicit_registry.hcl index 70a5c60a65f..51e5bf29263 100644 --- a/internal/config/testdata/plugins/implicit_registry.hcl +++ b/internal/config/testdata/plugins/implicit_registry.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "hello" app "tubes" { diff --git a/internal/config/testdata/plugins/mix.hcl b/internal/config/testdata/plugins/mix.hcl index cfedc98c177..468135ef932 100644 --- a/internal/config/testdata/plugins/mix.hcl +++ b/internal/config/testdata/plugins/mix.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "hello" plugin "docker" { diff --git a/internal/config/testdata/plugins/none.hcl b/internal/config/testdata/plugins/none.hcl index 361e205e31a..9a809658a7d 100644 --- a/internal/config/testdata/plugins/none.hcl +++ b/internal/config/testdata/plugins/none.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "hello" diff --git a/internal/config/testdata/validate/app.hcl b/internal/config/testdata/validate/app.hcl index 8dc2388c1e8..89825bdd4d5 100644 --- a/internal/config/testdata/validate/app.hcl +++ b/internal/config/testdata/validate/app.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "foo" { diff --git a/internal/config/testdata/validate/no_build.hcl b/internal/config/testdata/validate/no_build.hcl index 96d115a980c..55e3acee8cb 100644 --- a/internal/config/testdata/validate/no_build.hcl +++ b/internal/config/testdata/validate/no_build.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" app "foo" { diff --git a/internal/config/testdata/validate/valid.hcl b/internal/config/testdata/validate/valid.hcl index 985dc53d70a..6f8c5efd586 100644 --- a/internal/config/testdata/validate/valid.hcl +++ b/internal/config/testdata/validate/valid.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "foo" diff --git a/internal/config/testing.go b/internal/config/testing.go index b92a6ad6cac..923275e54b8 100644 --- a/internal/config/testing.go +++ b/internal/config/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/vagrant.go b/internal/config/vagrant.go index efe348cfc31..bd6c76aa985 100644 --- a/internal/config/vagrant.go +++ b/internal/config/vagrant.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/validate.go b/internal/config/validate.go index 268d88dd298..97ee544873d 100644 --- a/internal/config/validate.go +++ b/internal/config/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config import ( diff --git a/internal/config/validate_test.go b/internal/config/validate_test.go index d9ab749741f..d367b7635c2 100644 --- a/internal/config/validate_test.go +++ b/internal/config/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package config // TODO: renable these tests when vagrantfile's can be parsed in hcl diff --git a/internal/core/arg.go b/internal/core/arg.go index 851aad952c9..8089d195ddf 100644 --- a/internal/core/arg.go +++ b/internal/core/arg.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/basis.go b/internal/core/basis.go index 0238b30c95a..e27b83ed028 100644 --- a/internal/core/basis.go +++ b/internal/core/basis.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/basis_test.go b/internal/core/basis_test.go index edc7619a406..154db7d6605 100644 --- a/internal/core/basis_test.go +++ b/internal/core/basis_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/box.go b/internal/core/box.go index 7d30628e929..0dad0224d62 100644 --- a/internal/core/box.go +++ b/internal/core/box.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/box_collection.go b/internal/core/box_collection.go index 4bb8d89898d..122a66a012d 100644 --- a/internal/core/box_collection.go +++ b/internal/core/box_collection.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/box_collection_test.go b/internal/core/box_collection_test.go index e3df3a40879..44d9aa689b3 100644 --- a/internal/core/box_collection_test.go +++ b/internal/core/box_collection_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/box_metadata.go b/internal/core/box_metadata.go index 8d71febe348..0d1d6697815 100644 --- a/internal/core/box_metadata.go +++ b/internal/core/box_metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/box_metadata_test.go b/internal/core/box_metadata_test.go index f491d5d24c6..97b7c943782 100644 --- a/internal/core/box_metadata_test.go +++ b/internal/core/box_metadata_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/box_test.go b/internal/core/box_test.go index 078afccd855..d24d858f275 100644 --- a/internal/core/box_test.go +++ b/internal/core/box_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/component_creator.go b/internal/core/component_creator.go index 6f529a2be6c..8d82020b282 100644 --- a/internal/core/component_creator.go +++ b/internal/core/component_creator.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/core.go b/internal/core/core.go index 3a8563fd522..55912c11554 100644 --- a/internal/core/core.go +++ b/internal/core/core.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/core_manager.go b/internal/core/core_manager.go index 1852d2c078d..16833a78b6a 100644 --- a/internal/core/core_manager.go +++ b/internal/core/core_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/doc.go b/internal/core/doc.go index bcaca216373..10c9de4fbf4 100644 --- a/internal/core/doc.go +++ b/internal/core/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package core exposes a high-level API for the expected operations of // the project. This can be consumed by the CLI, web APIs, etc. This is the // safest set of APIs to use. diff --git a/internal/core/error.go b/internal/core/error.go index 9a84e43a3c1..06fa81eb005 100644 --- a/internal/core/error.go +++ b/internal/core/error.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/factory.go b/internal/core/factory.go index 1163317c1e3..374d8a660ef 100644 --- a/internal/core/factory.go +++ b/internal/core/factory.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/helpers_test.go b/internal/core/helpers_test.go index 508b858e21a..18af37a7614 100644 --- a/internal/core/helpers_test.go +++ b/internal/core/helpers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/hook.go b/internal/core/hook.go index a94c857854c..ff53a14d464 100644 --- a/internal/core/hook.go +++ b/internal/core/hook.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/labels.go b/internal/core/labels.go index 41d333e56e4..c2590d56fcc 100644 --- a/internal/core/labels.go +++ b/internal/core/labels.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/machine.go b/internal/core/machine.go index 143227e24c4..3189d2e87a7 100644 --- a/internal/core/machine.go +++ b/internal/core/machine.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/machine_test.go b/internal/core/machine_test.go index 3792b486bcf..073003c554b 100644 --- a/internal/core/machine_test.go +++ b/internal/core/machine_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/mappers.go b/internal/core/mappers.go index 621fc46dbe5..aecf5bdf657 100644 --- a/internal/core/mappers.go +++ b/internal/core/mappers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/operation.go b/internal/core/operation.go index 088dfa2b0a0..9d9a2675625 100644 --- a/internal/core/operation.go +++ b/internal/core/operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/project.go b/internal/core/project.go index 6333cafd82a..747722d4578 100644 --- a/internal/core/project.go +++ b/internal/core/project.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/project_test.go b/internal/core/project_test.go index c88f0ff1210..fb7ed41d919 100644 --- a/internal/core/project_test.go +++ b/internal/core/project_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/state_bag.go b/internal/core/state_bag.go index 774d21b41d4..188d475c9d0 100644 --- a/internal/core/state_bag.go +++ b/internal/core/state_bag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/state_bag_test.go b/internal/core/state_bag_test.go index 55c54d7f5c9..27d497c894a 100644 --- a/internal/core/state_bag_test.go +++ b/internal/core/state_bag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/target.go b/internal/core/target.go index 2a19b6aef9e..8534d2d8683 100644 --- a/internal/core/target.go +++ b/internal/core/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/target_index.go b/internal/core/target_index.go index 43cf87c4a08..f6bbf6c2d8a 100644 --- a/internal/core/target_index.go +++ b/internal/core/target_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/target_index_test.go b/internal/core/target_index_test.go index 5df24ceaa2a..62663809cbc 100644 --- a/internal/core/target_index_test.go +++ b/internal/core/target_index_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/target_test.go b/internal/core/target_test.go index 4f3b7bd8b26..c8d1e762d6b 100644 --- a/internal/core/target_test.go +++ b/internal/core/target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/testing_basis.go b/internal/core/testing_basis.go index 285f5ab6291..452c8436783 100644 --- a/internal/core/testing_basis.go +++ b/internal/core/testing_basis.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/testing_project.go b/internal/core/testing_project.go index 779c354db8c..4ed9b32c0db 100644 --- a/internal/core/testing_project.go +++ b/internal/core/testing_project.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/testing_target.go b/internal/core/testing_target.go index 6d957f33418..806401baee4 100644 --- a/internal/core/testing_target.go +++ b/internal/core/testing_target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/core/vagrantfile.go b/internal/core/vagrantfile.go index a7cda67ee5e..18945c8b70c 100644 --- a/internal/core/vagrantfile.go +++ b/internal/core/vagrantfile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package core import ( diff --git a/internal/datasource/datasource.go b/internal/datasource/datasource.go index 7b93eb2cc28..02596b005af 100644 --- a/internal/datasource/datasource.go +++ b/internal/datasource/datasource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package datasource has the packages and logic that Vagrant uses // for sourcing data for remote runs. package datasource diff --git a/internal/datasource/git.go b/internal/datasource/git.go index 05e0543cd29..014ce2e20d4 100644 --- a/internal/datasource/git.go +++ b/internal/datasource/git.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package datasource import ( diff --git a/internal/datasource/git_test.go b/internal/datasource/git_test.go index 6ece7d2a4a3..9e5b61c48ec 100644 --- a/internal/datasource/git_test.go +++ b/internal/datasource/git_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package datasource import ( diff --git a/internal/datasource/local.go b/internal/datasource/local.go index 2faed9d7a10..c8e75228f84 100644 --- a/internal/datasource/local.go +++ b/internal/datasource/local.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package datasource import ( diff --git a/internal/datasource/testdata/git-noop/vagrant.hcl b/internal/datasource/testdata/git-noop/vagrant.hcl index 182027df9c3..66e0bd18676 100644 --- a/internal/datasource/testdata/git-noop/vagrant.hcl +++ b/internal/datasource/testdata/git-noop/vagrant.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "test" diff --git a/internal/factory/factory.go b/internal/factory/factory.go index 084898c5aab..4230f6ab17f 100644 --- a/internal/factory/factory.go +++ b/internal/factory/factory.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package factory contains a "factory" pattern based on argmapper. // // A Factory can be used to register factory methods to create some predefined diff --git a/internal/factory/factory_test.go b/internal/factory/factory_test.go index e85739bde35..3365d0096eb 100644 --- a/internal/factory/factory_test.go +++ b/internal/factory/factory_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package factory import ( diff --git a/internal/flags/flag.go b/internal/flags/flag.go index 4e09fefdde5..6387619ca6b 100644 --- a/internal/flags/flag.go +++ b/internal/flags/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flags import ( diff --git a/internal/flags/flag_test.go b/internal/flags/flag_test.go index 77ca4058fe4..c5b376f1546 100644 --- a/internal/flags/flag_test.go +++ b/internal/flags/flag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flags import ( diff --git a/internal/flags/group.go b/internal/flags/group.go index df2c0333e65..b14b39bb4ef 100644 --- a/internal/flags/group.go +++ b/internal/flags/group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flags import "fmt" diff --git a/internal/flags/group_test.go b/internal/flags/group_test.go index 679af1677cb..edfba5c6c76 100644 --- a/internal/flags/group_test.go +++ b/internal/flags/group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flags import ( diff --git a/internal/flags/set.go b/internal/flags/set.go index a6ebe59c273..f9182f29c29 100644 --- a/internal/flags/set.go +++ b/internal/flags/set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flags import ( diff --git a/internal/flags/set_test.go b/internal/flags/set_test.go index 161d89d1006..cd16f2d890e 100644 --- a/internal/flags/set_test.go +++ b/internal/flags/set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flags import ( diff --git a/internal/pkg/circbufsync/circbufsync.go b/internal/pkg/circbufsync/circbufsync.go index d1ad5d7cc13..cbcb7da9941 100644 --- a/internal/pkg/circbufsync/circbufsync.go +++ b/internal/pkg/circbufsync/circbufsync.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package circbufsync wraps armon/circbuf to be safe for concurrent // read/write operations. package circbufsync diff --git a/internal/pkg/copy/copy.go b/internal/pkg/copy/copy.go index 2944d2acd8e..7041d6ba0f3 100644 --- a/internal/pkg/copy/copy.go +++ b/internal/pkg/copy/copy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package copy import ( diff --git a/internal/pkg/defaults/.travis.yml b/internal/pkg/defaults/.travis.yml index 560c6878ac2..ace61eeb5e1 100644 --- a/internal/pkg/defaults/.travis.yml +++ b/internal/pkg/defaults/.travis.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + language: go go: 1.13 diff --git a/internal/pkg/defaults/defaults.go b/internal/pkg/defaults/defaults.go index 21af52a5c50..5cd7f578758 100644 --- a/internal/pkg/defaults/defaults.go +++ b/internal/pkg/defaults/defaults.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package defaults import ( diff --git a/internal/pkg/defaults/defaults_test.go b/internal/pkg/defaults/defaults_test.go index 78d31b05eb5..46ca081da67 100644 --- a/internal/pkg/defaults/defaults_test.go +++ b/internal/pkg/defaults/defaults_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package defaults import ( diff --git a/internal/pkg/defaults/internal/fixture/test.go b/internal/pkg/defaults/internal/fixture/test.go index 94c3d416ebc..7f593b89898 100644 --- a/internal/pkg/defaults/internal/fixture/test.go +++ b/internal/pkg/defaults/internal/fixture/test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package fixture // Sample is a struct that contains 1 exported field and 1 unexported field diff --git a/internal/pkg/defaults/setter.go b/internal/pkg/defaults/setter.go index 1f64aa65993..8d1184ed789 100644 --- a/internal/pkg/defaults/setter.go +++ b/internal/pkg/defaults/setter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package defaults // Setter is an interface for setting default values diff --git a/internal/pkg/finalcontext/finalcontext.go b/internal/pkg/finalcontext/finalcontext.go index 089b1413bf3..f450e5d6bdc 100644 --- a/internal/pkg/finalcontext/finalcontext.go +++ b/internal/pkg/finalcontext/finalcontext.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package finalcontext is used by Vagrant to create a "final" context // that we'll use after the real context has been cancelled. This lets us // do some last minute cleanup that may require a context. diff --git a/internal/pkg/flag/doc.go b/internal/pkg/flag/doc.go index a4a472874f6..986738fcc06 100644 --- a/internal/pkg/flag/doc.go +++ b/internal/pkg/flag/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package flag is a thin layer over the stdlib flag package that provides // some minimal features such as aliasing, autocompletion handling, improved // defaults, etc. It was created for mitchellh/cli but can work as a standalone diff --git a/internal/pkg/flag/flag.go b/internal/pkg/flag/flag.go index c89869e3221..04d21432b3f 100644 --- a/internal/pkg/flag/flag.go +++ b/internal/pkg/flag/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_bool.go b/internal/pkg/flag/flag_bool.go index 6240cf2a63f..d3ec0e88e35 100644 --- a/internal/pkg/flag/flag_bool.go +++ b/internal/pkg/flag/flag_bool.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_enum.go b/internal/pkg/flag/flag_enum.go index 90e33069fa2..8126bd5adcb 100644 --- a/internal/pkg/flag/flag_enum.go +++ b/internal/pkg/flag/flag_enum.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_enum_single.go b/internal/pkg/flag/flag_enum_single.go index 667f7707bde..28f28700a82 100644 --- a/internal/pkg/flag/flag_enum_single.go +++ b/internal/pkg/flag/flag_enum_single.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_float.go b/internal/pkg/flag/flag_float.go index 0a2f5c994ee..eb00af548e9 100644 --- a/internal/pkg/flag/flag_float.go +++ b/internal/pkg/flag/flag_float.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_int.go b/internal/pkg/flag/flag_int.go index 12e87bef9c1..d7edf76526e 100644 --- a/internal/pkg/flag/flag_int.go +++ b/internal/pkg/flag/flag_int.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_string.go b/internal/pkg/flag/flag_string.go index ee17a2916d0..9755843e69f 100644 --- a/internal/pkg/flag/flag_string.go +++ b/internal/pkg/flag/flag_string.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_string_map.go b/internal/pkg/flag/flag_string_map.go index 009b1d7761a..350e6cade33 100644 --- a/internal/pkg/flag/flag_string_map.go +++ b/internal/pkg/flag/flag_string_map.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_string_slice.go b/internal/pkg/flag/flag_string_slice.go index 62fab88abb0..812f2f0f8da 100644 --- a/internal/pkg/flag/flag_string_slice.go +++ b/internal/pkg/flag/flag_string_slice.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_time.go b/internal/pkg/flag/flag_time.go index 39562b765dd..5dbf399dddf 100644 --- a/internal/pkg/flag/flag_time.go +++ b/internal/pkg/flag/flag_time.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/flag_var.go b/internal/pkg/flag/flag_var.go index 7546c517f48..0e908fd6aab 100644 --- a/internal/pkg/flag/flag_var.go +++ b/internal/pkg/flag/flag_var.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/set.go b/internal/pkg/flag/set.go index 0916870ad7f..3428f231ac9 100644 --- a/internal/pkg/flag/set.go +++ b/internal/pkg/flag/set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/flag/set_test.go b/internal/pkg/flag/set_test.go index 9bb4ef4a7a5..97fe846b27d 100644 --- a/internal/pkg/flag/set_test.go +++ b/internal/pkg/flag/set_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package flag import ( diff --git a/internal/pkg/gatedwriter/writer.go b/internal/pkg/gatedwriter/writer.go index 9c4596e389c..c003a574b6e 100644 --- a/internal/pkg/gatedwriter/writer.go +++ b/internal/pkg/gatedwriter/writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package gatedwriter import ( diff --git a/internal/pkg/gatedwriter/writer_test.go b/internal/pkg/gatedwriter/writer_test.go index 31659a8adda..5244be8dd35 100644 --- a/internal/pkg/gatedwriter/writer_test.go +++ b/internal/pkg/gatedwriter/writer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package gatedwriter import ( diff --git a/internal/pkg/iosync/iosync.go b/internal/pkg/iosync/iosync.go index f5678a21434..e45b361d7be 100644 --- a/internal/pkg/iosync/iosync.go +++ b/internal/pkg/iosync/iosync.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package iosync provides reader/writer implementations that wrap // operations in a mutex so that concurrent reads and writes are safe. package iosync diff --git a/internal/pkg/signalcontext/signalcontext.go b/internal/pkg/signalcontext/signalcontext.go index 1484a10ad2f..b7861e43dda 100644 --- a/internal/pkg/signalcontext/signalcontext.go +++ b/internal/pkg/signalcontext/signalcontext.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package signalcontext import ( diff --git a/internal/pkg/spinner/.travis.yml b/internal/pkg/spinner/.travis.yml index defaf2def9d..b5e39c70d22 100644 --- a/internal/pkg/spinner/.travis.yml +++ b/internal/pkg/spinner/.travis.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + language: go go: - 1.13 diff --git a/internal/pkg/spinner/_example/main.go b/internal/pkg/spinner/_example/main.go index fb14f679b72..e4d73299633 100644 --- a/internal/pkg/spinner/_example/main.go +++ b/internal/pkg/spinner/_example/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Example application that uses all of the available API options. package main diff --git a/internal/pkg/spinner/character_sets.go b/internal/pkg/spinner/character_sets.go index a7290321f64..eae58ec0845 100644 --- a/internal/pkg/spinner/character_sets.go +++ b/internal/pkg/spinner/character_sets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package spinner const ( diff --git a/internal/pkg/spinner/spinner.go b/internal/pkg/spinner/spinner.go index 12e6454020a..1af9d35c841 100644 --- a/internal/pkg/spinner/spinner.go +++ b/internal/pkg/spinner/spinner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at diff --git a/internal/plugin/builtin.go b/internal/plugin/builtin.go index bd08336c94d..baa8f20642e 100644 --- a/internal/plugin/builtin.go +++ b/internal/plugin/builtin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/doc.go b/internal/plugin/doc.go index 00b610f4ee5..b0cadc8f8ce 100644 --- a/internal/plugin/doc.go +++ b/internal/plugin/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package plugin has the functions necessary for discovering and launching // plugins. This exposes both builtin plugins as well as external, custom // plugins. diff --git a/internal/plugin/factory.go b/internal/plugin/factory.go index 686aa80d207..605303f35a7 100644 --- a/internal/plugin/factory.go +++ b/internal/plugin/factory.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/internal.go b/internal/plugin/internal.go index be5a11c91c0..56f64423508 100644 --- a/internal/plugin/internal.go +++ b/internal/plugin/internal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/manager.go b/internal/plugin/manager.go index 36a10dda19b..f937a52bbe2 100644 --- a/internal/plugin/manager.go +++ b/internal/plugin/manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index 28cb380d40d..95a388275a2 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/testing_factory.go b/internal/plugin/testing_factory.go index fd9bdaf3f42..bc43f1bdaa5 100644 --- a/internal/plugin/testing_factory.go +++ b/internal/plugin/testing_factory.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/testing_manager.go b/internal/plugin/testing_manager.go index 2ff22b53e22..5e27616120b 100644 --- a/internal/plugin/testing_manager.go +++ b/internal/plugin/testing_manager.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/plugin/testing_plugin.go b/internal/plugin/testing_plugin.go index ec4285fcfef..a1575748734 100644 --- a/internal/plugin/testing_plugin.go +++ b/internal/plugin/testing_plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package plugin import ( diff --git a/internal/protocolversion/context.go b/internal/protocolversion/context.go index 2158836798c..00623ab698d 100644 --- a/internal/protocolversion/context.go +++ b/internal/protocolversion/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/current.go b/internal/protocolversion/current.go index 47b01e9fcfa..e1aa6212793 100644 --- a/internal/protocolversion/current.go +++ b/internal/protocolversion/current.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/grpc.go b/internal/protocolversion/grpc.go index d45df68f833..35c2cb97f29 100644 --- a/internal/protocolversion/grpc.go +++ b/internal/protocolversion/grpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/grpc_test.go b/internal/protocolversion/grpc_test.go index 8d0d82bf23b..2084bdd9981 100644 --- a/internal/protocolversion/grpc_test.go +++ b/internal/protocolversion/grpc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/header.go b/internal/protocolversion/header.go index d0574a93605..4a737fc10f6 100644 --- a/internal/protocolversion/header.go +++ b/internal/protocolversion/header.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/header_test.go b/internal/protocolversion/header_test.go index 388296413e1..08ac75861e5 100644 --- a/internal/protocolversion/header_test.go +++ b/internal/protocolversion/header_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/negotiate.go b/internal/protocolversion/negotiate.go index fc501ce0474..bf16c56af4e 100644 --- a/internal/protocolversion/negotiate.go +++ b/internal/protocolversion/negotiate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/negotiate_test.go b/internal/protocolversion/negotiate_test.go index a19dc204402..a71370c5787 100644 --- a/internal/protocolversion/negotiate_test.go +++ b/internal/protocolversion/negotiate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion import ( diff --git a/internal/protocolversion/type.go b/internal/protocolversion/type.go index e4d6eff1b73..6824ade465f 100644 --- a/internal/protocolversion/type.go +++ b/internal/protocolversion/type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package protocolversion //go:generate stringer -type=Type -linecomment diff --git a/internal/runner/accept.go b/internal/runner/accept.go index a14522a066f..95d5d17c57b 100644 --- a/internal/runner/accept.go +++ b/internal/runner/accept.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/accept_test.go b/internal/runner/accept_test.go index c62765c61e1..14be95b8d0a 100644 --- a/internal/runner/accept_test.go +++ b/internal/runner/accept_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner // import ( diff --git a/internal/runner/config.go b/internal/runner/config.go index 3d9165cbd22..2ea72955f50 100644 --- a/internal/runner/config.go +++ b/internal/runner/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/data.go b/internal/runner/data.go index d36326f2ed2..7e8b95c201c 100644 --- a/internal/runner/data.go +++ b/internal/runner/data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/operation.go b/internal/runner/operation.go index 4c089b8b924..56aa3f8efa7 100644 --- a/internal/runner/operation.go +++ b/internal/runner/operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/operation_auth.go b/internal/runner/operation_auth.go index 4b0d9162be6..1e4efe9c5b0 100644 --- a/internal/runner/operation_auth.go +++ b/internal/runner/operation_auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/operation_docs.go b/internal/runner/operation_docs.go index 41e98dcc093..6b1fb2e8a63 100644 --- a/internal/runner/operation_docs.go +++ b/internal/runner/operation_docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/operation_init.go b/internal/runner/operation_init.go index 30d77d35051..3daea0fbe8a 100644 --- a/internal/runner/operation_init.go +++ b/internal/runner/operation_init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/operation_run.go b/internal/runner/operation_run.go index 2a5c84b8f64..ef02715680b 100644 --- a/internal/runner/operation_run.go +++ b/internal/runner/operation_run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/runner.go b/internal/runner/runner.go index 85d4b8ee2a2..eaea3f92a96 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/runner_test.go b/internal/runner/runner_test.go index c808d546102..49284e6d803 100644 --- a/internal/runner/runner_test.go +++ b/internal/runner/runner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner // import ( diff --git a/internal/runner/testdata/git-noop/vagrant.hcl b/internal/runner/testdata/git-noop/vagrant.hcl index 182027df9c3..66e0bd18676 100644 --- a/internal/runner/testdata/git-noop/vagrant.hcl +++ b/internal/runner/testdata/git-noop/vagrant.hcl @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + project = "test" diff --git a/internal/runner/testing.go b/internal/runner/testing.go index 74eacfef9e0..4f2a654180b 100644 --- a/internal/runner/testing.go +++ b/internal/runner/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/ui.go b/internal/runner/ui.go index c3d84d31947..530b8011710 100644 --- a/internal/runner/ui.go +++ b/internal/runner/ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/runner/ui_multi.go b/internal/runner/ui_multi.go index 7f7c704dac3..c679c4692b0 100644 --- a/internal/runner/ui_multi.go +++ b/internal/runner/ui_multi.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package runner import ( diff --git a/internal/server/auth.go b/internal/server/auth.go index 63a131696a9..b46e0562c7f 100644 --- a/internal/server/auth.go +++ b/internal/server/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/auth_test.go b/internal/server/auth_test.go index a86245bdf7a..e5fda6a5960 100644 --- a/internal/server/auth_test.go +++ b/internal/server/auth_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/bindata_ui.go b/internal/server/bindata_ui.go index aa6247bd352..3c88dfd29ef 100644 --- a/internal/server/bindata_ui.go +++ b/internal/server/bindata_ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Code generated by go-bindata. // sources: // ui/dist/android-chrome-144x144.png diff --git a/internal/server/component/component.go b/internal/server/component/component.go index ecba326e320..961c16903fd 100644 --- a/internal/server/component/component.go +++ b/internal/server/component/component.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package component has component implementations for the various // resulting types. package component diff --git a/internal/server/execclient/client.go b/internal/server/execclient/client.go index ab12ef7371b..b3b2e15421d 100644 --- a/internal/server/execclient/client.go +++ b/internal/server/execclient/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package execclient // import ( diff --git a/internal/server/execclient/escape.go b/internal/server/execclient/escape.go index 1eb6b388fbb..bf8087829db 100644 --- a/internal/server/execclient/escape.go +++ b/internal/server/execclient/escape.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package execclient import ( diff --git a/internal/server/execclient/escape_test.go b/internal/server/execclient/escape_test.go index 12224ea297e..27329f1c0fa 100644 --- a/internal/server/execclient/escape_test.go +++ b/internal/server/execclient/escape_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package execclient // import ( diff --git a/internal/server/execclient/sigwinch.go b/internal/server/execclient/sigwinch.go index f5292b5fc25..eaa1463f3e4 100644 --- a/internal/server/execclient/sigwinch.go +++ b/internal/server/execclient/sigwinch.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // +build !windows package execclient diff --git a/internal/server/execclient/sigwinch_windows.go b/internal/server/execclient/sigwinch_windows.go index f67afd7736b..c60f4b16b86 100644 --- a/internal/server/execclient/sigwinch_windows.go +++ b/internal/server/execclient/sigwinch_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // +build windows package execclient diff --git a/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_pb.rb b/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_pb.rb index 580524445fe..150dd11e1ad 100644 --- a/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_pb.rb +++ b/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/ruby_vagrant/ruby-server.proto diff --git a/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_services_pb.rb b/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_services_pb.rb index 8521da8772c..4a5ee22eb4b 100644 --- a/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_services_pb.rb +++ b/internal/server/gen/ruby/proto/ruby_vagrant/ruby-server_services_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: proto/ruby_vagrant/ruby-server.proto for package 'hashicorp.vagrant' diff --git a/internal/server/gen/ruby/proto/vagrant_server/server_pb.rb b/internal/server/gen/ruby/proto/vagrant_server/server_pb.rb index 698494b160d..da97f859672 100644 --- a/internal/server/gen/ruby/proto/vagrant_server/server_pb.rb +++ b/internal/server/gen/ruby/proto/vagrant_server/server_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/vagrant_server/server.proto diff --git a/internal/server/gen/ruby/proto/vagrant_server/server_services_pb.rb b/internal/server/gen/ruby/proto/vagrant_server/server_services_pb.rb index 6eee38dbfa1..274e21842dc 100644 --- a/internal/server/gen/ruby/proto/vagrant_server/server_services_pb.rb +++ b/internal/server/gen/ruby/proto/vagrant_server/server_services_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: proto/vagrant_server/server.proto for package 'hashicorp.vagrant' diff --git a/internal/server/grpc.go b/internal/server/grpc.go index 914c2f42cdf..abf1a76fde9 100644 --- a/internal/server/grpc.go +++ b/internal/server/grpc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/grpc_log.go b/internal/server/grpc_log.go index 48b65df4e39..d65b7b6d118 100644 --- a/internal/server/grpc_log.go +++ b/internal/server/grpc_log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/grpc_log_test.go b/internal/server/grpc_log_test.go index be2ce7cb494..d2dc70295bc 100644 --- a/internal/server/grpc_log_test.go +++ b/internal/server/grpc_log_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/grpc_version.go b/internal/server/grpc_version.go index 4dbdab81dfb..c82598ab202 100644 --- a/internal/server/grpc_version.go +++ b/internal/server/grpc_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/grpc_version_test.go b/internal/server/grpc_version_test.go index e18ff1f198c..1f02819570a 100644 --- a/internal/server/grpc_version_test.go +++ b/internal/server/grpc_version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/http.go b/internal/server/http.go index b5cf90bbf8e..bef73159b02 100644 --- a/internal/server/http.go +++ b/internal/server/http.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/http_log.go b/internal/server/http_log.go index f4a07a838bf..cf94eadccb5 100644 --- a/internal/server/http_log.go +++ b/internal/server/http_log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/id.go b/internal/server/id.go index aaee920599b..51c7664d316 100644 --- a/internal/server/id.go +++ b/internal/server/id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/logbuffer/logbuffer.go b/internal/server/logbuffer/logbuffer.go index ab5a46b78b4..45d6ded04ff 100644 --- a/internal/server/logbuffer/logbuffer.go +++ b/internal/server/logbuffer/logbuffer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package logbuffer provides a structure and API for efficiently reading // and writing logs that may be streamed to a server. package logbuffer diff --git a/internal/server/logbuffer/logbuffer_test.go b/internal/server/logbuffer/logbuffer_test.go index 8391cdc6eb7..e204a88fc00 100644 --- a/internal/server/logbuffer/logbuffer_test.go +++ b/internal/server/logbuffer/logbuffer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package logbuffer import ( diff --git a/internal/server/logviewer/logviewer.go b/internal/server/logviewer/logviewer.go index a0dced3fad4..1ad1043b742 100644 --- a/internal/server/logviewer/logviewer.go +++ b/internal/server/logviewer/logviewer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package logviewer import ( diff --git a/internal/server/proto/ruby_vagrant/ruby-server.proto b/internal/server/proto/ruby_vagrant/ruby-server.proto index d0f7a31610d..47bb7456608 100644 --- a/internal/server/proto/ruby_vagrant/ruby-server.proto +++ b/internal/server/proto/ruby_vagrant/ruby-server.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + syntax = "proto3"; package hashicorp.vagrant; diff --git a/internal/server/proto/vagrant_server/server.proto b/internal/server/proto/vagrant_server/server.proto index 0595ce1d02a..612321c27e2 100644 --- a/internal/server/proto/vagrant_server/server.proto +++ b/internal/server/proto/vagrant_server/server.proto @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + syntax = "proto3"; package hashicorp.vagrant; diff --git a/internal/server/server.go b/internal/server/server.go index 01ac8c9e7f3..51ba9cf1490 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/server_test.go b/internal/server/server_test.go index 3ad5e33554b..f3bfe0765fb 100644 --- a/internal/server/server_test.go +++ b/internal/server/server_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server // TODO: mocks need to be regenerated for this diff --git a/internal/server/singleprocess/prune.go b/internal/server/singleprocess/prune.go index 220a7fe0f4d..283d3646f6c 100644 --- a/internal/server/singleprocess/prune.go +++ b/internal/server/singleprocess/prune.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service.go b/internal/server/singleprocess/service.go index dda304a0a32..c9a2f7fa9b1 100644 --- a/internal/server/singleprocess/service.go +++ b/internal/server/singleprocess/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_basis.go b/internal/server/singleprocess/service_basis.go index 19bf582be91..f4f0502dc6f 100644 --- a/internal/server/singleprocess/service_basis.go +++ b/internal/server/singleprocess/service_basis.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_basis_test.go b/internal/server/singleprocess/service_basis_test.go index 71264e13560..b07ee254ce8 100644 --- a/internal/server/singleprocess/service_basis_test.go +++ b/internal/server/singleprocess/service_basis_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_box.go b/internal/server/singleprocess/service_box.go index 0e544935cc2..90d794a34ec 100644 --- a/internal/server/singleprocess/service_box.go +++ b/internal/server/singleprocess/service_box.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_box_test.go b/internal/server/singleprocess/service_box_test.go index db09e9871dd..e39be12e15c 100644 --- a/internal/server/singleprocess/service_box_test.go +++ b/internal/server/singleprocess/service_box_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_config.go b/internal/server/singleprocess/service_config.go index cb0523b2d6f..d6a0a525143 100644 --- a/internal/server/singleprocess/service_config.go +++ b/internal/server/singleprocess/service_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_config_test.go b/internal/server/singleprocess/service_config_test.go index 9264af6c014..075fd1a5a4b 100644 --- a/internal/server/singleprocess/service_config_test.go +++ b/internal/server/singleprocess/service_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess // import ( diff --git a/internal/server/singleprocess/service_job.go b/internal/server/singleprocess/service_job.go index a299c7debcc..60a0cd52c42 100644 --- a/internal/server/singleprocess/service_job.go +++ b/internal/server/singleprocess/service_job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_job_test.go b/internal/server/singleprocess/service_job_test.go index 117b6e29a65..64441a37417 100644 --- a/internal/server/singleprocess/service_job_test.go +++ b/internal/server/singleprocess/service_job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_logs.go b/internal/server/singleprocess/service_logs.go index f1159fbb616..697e0ddcb53 100644 --- a/internal/server/singleprocess/service_logs.go +++ b/internal/server/singleprocess/service_logs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_logs_test.go b/internal/server/singleprocess/service_logs_test.go index 2a251cae514..dd6b535e789 100644 --- a/internal/server/singleprocess/service_logs_test.go +++ b/internal/server/singleprocess/service_logs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess // import ( diff --git a/internal/server/singleprocess/service_project.go b/internal/server/singleprocess/service_project.go index 21109cd37dc..8fc5ef0f973 100644 --- a/internal/server/singleprocess/service_project.go +++ b/internal/server/singleprocess/service_project.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_project_test.go b/internal/server/singleprocess/service_project_test.go index 73f4f1f94cd..540043e915d 100644 --- a/internal/server/singleprocess/service_project_test.go +++ b/internal/server/singleprocess/service_project_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_runner.go b/internal/server/singleprocess/service_runner.go index c68fe2cfbbb..54c5a399b70 100644 --- a/internal/server/singleprocess/service_runner.go +++ b/internal/server/singleprocess/service_runner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_runner_test.go b/internal/server/singleprocess/service_runner_test.go index 9da54992961..5dc5e6c0e16 100644 --- a/internal/server/singleprocess/service_runner_test.go +++ b/internal/server/singleprocess/service_runner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_target.go b/internal/server/singleprocess/service_target.go index 39408291991..a9d9c75fa3c 100644 --- a/internal/server/singleprocess/service_target.go +++ b/internal/server/singleprocess/service_target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_target_test.go b/internal/server/singleprocess/service_target_test.go index 66d8e0c904e..d908e4ef964 100644 --- a/internal/server/singleprocess/service_target_test.go +++ b/internal/server/singleprocess/service_target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_test.go b/internal/server/singleprocess/service_test.go index 9f6bca128e2..ee185d2f27b 100644 --- a/internal/server/singleprocess/service_test.go +++ b/internal/server/singleprocess/service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/service_version.go b/internal/server/singleprocess/service_version.go index 11a752f81e5..76a2485dc75 100644 --- a/internal/server/singleprocess/service_version.go +++ b/internal/server/singleprocess/service_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/singleprocess/state/basis.go b/internal/server/singleprocess/state/basis.go index 3141567fa1e..c6a32f9fe3f 100644 --- a/internal/server/singleprocess/state/basis.go +++ b/internal/server/singleprocess/state/basis.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/basis_test.go b/internal/server/singleprocess/state/basis_test.go index 1d4772631e5..4ee1cd02cca 100644 --- a/internal/server/singleprocess/state/basis_test.go +++ b/internal/server/singleprocess/state/basis_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/box.go b/internal/server/singleprocess/state/box.go index f2a1edf7a4e..26d6caa02d8 100644 --- a/internal/server/singleprocess/state/box.go +++ b/internal/server/singleprocess/state/box.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/box_test.go b/internal/server/singleprocess/state/box_test.go index b3b07c0f127..008ba6bff19 100644 --- a/internal/server/singleprocess/state/box_test.go +++ b/internal/server/singleprocess/state/box_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/component.go b/internal/server/singleprocess/state/component.go index 9a4357f68e0..7ef24a5c044 100644 --- a/internal/server/singleprocess/state/component.go +++ b/internal/server/singleprocess/state/component.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/config.go b/internal/server/singleprocess/state/config.go index 16f10f6ec35..aca2526a368 100644 --- a/internal/server/singleprocess/state/config.go +++ b/internal/server/singleprocess/state/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state // TODO(spox): When dealing with the scopes on the configvar protos, diff --git a/internal/server/singleprocess/state/config_test.go b/internal/server/singleprocess/state/config_test.go index c6f81625cfa..5277d5cb4c2 100644 --- a/internal/server/singleprocess/state/config_test.go +++ b/internal/server/singleprocess/state/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/decoding.go b/internal/server/singleprocess/state/decoding.go index ca9fc452e09..155ef33d440 100644 --- a/internal/server/singleprocess/state/decoding.go +++ b/internal/server/singleprocess/state/decoding.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/decoding_test.go b/internal/server/singleprocess/state/decoding_test.go index 685b7e581a8..f5c3f21eae0 100644 --- a/internal/server/singleprocess/state/decoding_test.go +++ b/internal/server/singleprocess/state/decoding_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/index_time.go b/internal/server/singleprocess/state/index_time.go index 483f40f6887..1e5070df576 100644 --- a/internal/server/singleprocess/state/index_time.go +++ b/internal/server/singleprocess/state/index_time.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/job.go b/internal/server/singleprocess/state/job.go index 0af822cb75f..28dae45e69d 100644 --- a/internal/server/singleprocess/state/job.go +++ b/internal/server/singleprocess/state/job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/job_assigned.go b/internal/server/singleprocess/state/job_assigned.go index b6e2cdead02..2899f6f72e5 100644 --- a/internal/server/singleprocess/state/job_assigned.go +++ b/internal/server/singleprocess/state/job_assigned.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/job_test.go b/internal/server/singleprocess/state/job_test.go index 2f06412cc54..d815015375b 100644 --- a/internal/server/singleprocess/state/job_test.go +++ b/internal/server/singleprocess/state/job_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/metadata.go b/internal/server/singleprocess/state/metadata.go index f62df477934..a3727ce9b10 100644 --- a/internal/server/singleprocess/state/metadata.go +++ b/internal/server/singleprocess/state/metadata.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/project.go b/internal/server/singleprocess/state/project.go index 33bbea123a5..152e1e9956c 100644 --- a/internal/server/singleprocess/state/project.go +++ b/internal/server/singleprocess/state/project.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/project_test.go b/internal/server/singleprocess/state/project_test.go index fb9799d11fc..efec8aa3912 100644 --- a/internal/server/singleprocess/state/project_test.go +++ b/internal/server/singleprocess/state/project_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/proto.go b/internal/server/singleprocess/state/proto.go index e61373d328c..36d029b03f6 100644 --- a/internal/server/singleprocess/state/proto.go +++ b/internal/server/singleprocess/state/proto.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/prune.go b/internal/server/singleprocess/state/prune.go index 7f5a83be65d..47a6e5a6887 100644 --- a/internal/server/singleprocess/state/prune.go +++ b/internal/server/singleprocess/state/prune.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/prune_test.go b/internal/server/singleprocess/state/prune_test.go index 961be51480d..18509da24fb 100644 --- a/internal/server/singleprocess/state/prune_test.go +++ b/internal/server/singleprocess/state/prune_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/runner.go b/internal/server/singleprocess/state/runner.go index 194770d0dcb..99e5cb75858 100644 --- a/internal/server/singleprocess/state/runner.go +++ b/internal/server/singleprocess/state/runner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/runner_test.go b/internal/server/singleprocess/state/runner_test.go index cf82f61c603..97f271429fe 100644 --- a/internal/server/singleprocess/state/runner_test.go +++ b/internal/server/singleprocess/state/runner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/state.go b/internal/server/singleprocess/state/state.go index fa44fba0373..84dd8cf6831 100644 --- a/internal/server/singleprocess/state/state.go +++ b/internal/server/singleprocess/state/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package state manages the state that the singleprocess server has, providing // operations to mutate that state safely as needed. package state diff --git a/internal/server/singleprocess/state/state_test.go b/internal/server/singleprocess/state/state_test.go index 0b066ca8637..21fc42ee425 100644 --- a/internal/server/singleprocess/state/state_test.go +++ b/internal/server/singleprocess/state/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/target.go b/internal/server/singleprocess/state/target.go index e649a333f91..1ca6ff4d238 100644 --- a/internal/server/singleprocess/state/target.go +++ b/internal/server/singleprocess/state/target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/target_test.go b/internal/server/singleprocess/state/target_test.go index 1375373b194..369d25f0dfd 100644 --- a/internal/server/singleprocess/state/target_test.go +++ b/internal/server/singleprocess/state/target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/testing.go b/internal/server/singleprocess/state/testing.go index d936643dcf8..4c59197e777 100644 --- a/internal/server/singleprocess/state/testing.go +++ b/internal/server/singleprocess/state/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/vagrantfile.go b/internal/server/singleprocess/state/vagrantfile.go index 7dc71520d14..c698b85324e 100644 --- a/internal/server/singleprocess/state/vagrantfile.go +++ b/internal/server/singleprocess/state/vagrantfile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/state/validations.go b/internal/server/singleprocess/state/validations.go index 206a02eb9d6..9a86bc1535c 100644 --- a/internal/server/singleprocess/state/validations.go +++ b/internal/server/singleprocess/state/validations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package state import ( diff --git a/internal/server/singleprocess/testing.go b/internal/server/singleprocess/testing.go index 8eeb9abca8e..bc5d459f448 100644 --- a/internal/server/singleprocess/testing.go +++ b/internal/server/singleprocess/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package singleprocess import ( diff --git a/internal/server/sort/artifact.go b/internal/server/sort/artifact.go index f388a29cdc2..09868d9e721 100644 --- a/internal/server/sort/artifact.go +++ b/internal/server/sort/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package sort // import ( diff --git a/internal/server/sort/build.go b/internal/server/sort/build.go index bbed0a023f6..ca92f9e610b 100644 --- a/internal/server/sort/build.go +++ b/internal/server/sort/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package sort // import ( diff --git a/internal/server/sort/config.go b/internal/server/sort/config.go index 12bc59c27da..7701489e602 100644 --- a/internal/server/sort/config.go +++ b/internal/server/sort/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package sort import ( diff --git a/internal/server/sort/deploy.go b/internal/server/sort/deploy.go index c197b032557..f4c87762e37 100644 --- a/internal/server/sort/deploy.go +++ b/internal/server/sort/deploy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package sort // import ( diff --git a/internal/server/status.go b/internal/server/status.go index 69051e024f7..4ed93af560e 100644 --- a/internal/server/status.go +++ b/internal/server/status.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/server/testing.go b/internal/server/testing.go index 6517d6132fd..c92f94a118a 100644 --- a/internal/server/testing.go +++ b/internal/server/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package server import ( diff --git a/internal/serverclient/client.go b/internal/serverclient/client.go index 4905c43be0c..dc1890cc99d 100644 --- a/internal/serverclient/client.go +++ b/internal/serverclient/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package serverclient import ( diff --git a/internal/serverclient/doc.go b/internal/serverclient/doc.go index 3e84f1543cb..a7ff36f75b4 100644 --- a/internal/serverclient/doc.go +++ b/internal/serverclient/doc.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + // Package serverclient contains helpers for the server API client. package serverclient diff --git a/internal/serverclient/grpc_log.go b/internal/serverclient/grpc_log.go index c8cc75ef2f2..ca5026f5b6c 100644 --- a/internal/serverclient/grpc_log.go +++ b/internal/serverclient/grpc_log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package serverclient import ( diff --git a/internal/serverclient/ruby_client.go b/internal/serverclient/ruby_client.go index 07be66eed66..9e1909fae23 100644 --- a/internal/serverclient/ruby_client.go +++ b/internal/serverclient/ruby_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package serverclient import ( diff --git a/internal/serverconfig/config.go b/internal/serverconfig/config.go index f6508e19d33..c4261edf6a2 100644 --- a/internal/serverconfig/config.go +++ b/internal/serverconfig/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package serverconfig // Client configures a client to connect to a server. diff --git a/internal/version/version.go b/internal/version/version.go index bfdc699ce95..d767b4688be 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package version import ( diff --git a/lib/vagrant.rb b/lib/vagrant.rb index 78adf49b2b8..e534c985879 100644 --- a/lib/vagrant.rb +++ b/lib/vagrant.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" # Add patches to log4r to support trace level diff --git a/lib/vagrant/action.rb b/lib/vagrant/action.rb index 05cc146c9d5..ae0bde08a60 100644 --- a/lib/vagrant/action.rb +++ b/lib/vagrant/action.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/action/builder' module Vagrant diff --git a/lib/vagrant/action/builder.rb b/lib/vagrant/action/builder.rb index 0d0d5374675..f4bfa649316 100644 --- a/lib/vagrant/action/builder.rb +++ b/lib/vagrant/action/builder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action # Action builder which provides a nice DSL for building up diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index d4182a1ed06..23e84ae8af6 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/sha1" require "log4r" require "pathname" diff --git a/lib/vagrant/action/builtin/box_check_outdated.rb b/lib/vagrant/action/builtin/box_check_outdated.rb index 4628bf75851..29aafdf9b8f 100644 --- a/lib/vagrant/action/builtin/box_check_outdated.rb +++ b/lib/vagrant/action/builtin/box_check_outdated.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/action/builtin/box_remove.rb b/lib/vagrant/action/builtin/box_remove.rb index bb5dac1ab12..4ded13c779a 100644 --- a/lib/vagrant/action/builtin/box_remove.rb +++ b/lib/vagrant/action/builtin/box_remove.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/action/builtin/box_update.rb b/lib/vagrant/action/builtin/box_update.rb index bd510445b8d..8079cface6a 100644 --- a/lib/vagrant/action/builtin/box_update.rb +++ b/lib/vagrant/action/builtin/box_update.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/action/builtin/call.rb b/lib/vagrant/action/builtin/call.rb index 5bd3088d47b..d0f9290dd3f 100644 --- a/lib/vagrant/action/builtin/call.rb +++ b/lib/vagrant/action/builtin/call.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/cleanup_disks.rb b/lib/vagrant/action/builtin/cleanup_disks.rb index 27b2f887ae4..252e7b56af4 100644 --- a/lib/vagrant/action/builtin/cleanup_disks.rb +++ b/lib/vagrant/action/builtin/cleanup_disks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" module Vagrant diff --git a/lib/vagrant/action/builtin/cloud_init_setup.rb b/lib/vagrant/action/builtin/cloud_init_setup.rb index 7e82591c297..f31c9d17735 100644 --- a/lib/vagrant/action/builtin/cloud_init_setup.rb +++ b/lib/vagrant/action/builtin/cloud_init_setup.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/mime' require 'tmpdir' diff --git a/lib/vagrant/action/builtin/cloud_init_wait.rb b/lib/vagrant/action/builtin/cloud_init_wait.rb index 25172e19b52..22da577ed81 100644 --- a/lib/vagrant/action/builtin/cloud_init_wait.rb +++ b/lib/vagrant/action/builtin/cloud_init_wait.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/config_validate.rb b/lib/vagrant/action/builtin/config_validate.rb index 3bcb0919f82..fc3da175153 100644 --- a/lib/vagrant/action/builtin/config_validate.rb +++ b/lib/vagrant/action/builtin/config_validate.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/template_renderer" module Vagrant diff --git a/lib/vagrant/action/builtin/confirm.rb b/lib/vagrant/action/builtin/confirm.rb index 210c9c88a30..ef754f60eae 100644 --- a/lib/vagrant/action/builtin/confirm.rb +++ b/lib/vagrant/action/builtin/confirm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/delayed.rb b/lib/vagrant/action/builtin/delayed.rb index d91d1eebe26..220d51c22c0 100644 --- a/lib/vagrant/action/builtin/delayed.rb +++ b/lib/vagrant/action/builtin/delayed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/destroy_confirm.rb b/lib/vagrant/action/builtin/destroy_confirm.rb index db4d25cd3be..6e24cde9a15 100644 --- a/lib/vagrant/action/builtin/destroy_confirm.rb +++ b/lib/vagrant/action/builtin/destroy_confirm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "confirm" module Vagrant diff --git a/lib/vagrant/action/builtin/disk.rb b/lib/vagrant/action/builtin/disk.rb index 8fc776f950f..5927d4eace0 100644 --- a/lib/vagrant/action/builtin/disk.rb +++ b/lib/vagrant/action/builtin/disk.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" module Vagrant diff --git a/lib/vagrant/action/builtin/env_set.rb b/lib/vagrant/action/builtin/env_set.rb index bad9cb11dcd..034e084a9b4 100644 --- a/lib/vagrant/action/builtin/env_set.rb +++ b/lib/vagrant/action/builtin/env_set.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/graceful_halt.rb b/lib/vagrant/action/builtin/graceful_halt.rb index 33f6cfb9b76..8c43842ea72 100644 --- a/lib/vagrant/action/builtin/graceful_halt.rb +++ b/lib/vagrant/action/builtin/graceful_halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "timeout" diff --git a/lib/vagrant/action/builtin/handle_box.rb b/lib/vagrant/action/builtin/handle_box.rb index 66c4390e8aa..599b867d0aa 100644 --- a/lib/vagrant/action/builtin/handle_box.rb +++ b/lib/vagrant/action/builtin/handle_box.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "thread" require "log4r" diff --git a/lib/vagrant/action/builtin/handle_box_url.rb b/lib/vagrant/action/builtin/handle_box_url.rb index b7793788324..07588fd3d63 100644 --- a/lib/vagrant/action/builtin/handle_box_url.rb +++ b/lib/vagrant/action/builtin/handle_box_url.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb b/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb index 07aae53b5c0..a58f580c10e 100644 --- a/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +++ b/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" require "log4r" diff --git a/lib/vagrant/action/builtin/has_provisioner.rb b/lib/vagrant/action/builtin/has_provisioner.rb index c58abe9b439..45bc045b2c6 100644 --- a/lib/vagrant/action/builtin/has_provisioner.rb +++ b/lib/vagrant/action/builtin/has_provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/is_env_set.rb b/lib/vagrant/action/builtin/is_env_set.rb index 269a6479ceb..2a74de09522 100644 --- a/lib/vagrant/action/builtin/is_env_set.rb +++ b/lib/vagrant/action/builtin/is_env_set.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/is_state.rb b/lib/vagrant/action/builtin/is_state.rb index 9e37b7a2164..aa46cb4bca3 100644 --- a/lib/vagrant/action/builtin/is_state.rb +++ b/lib/vagrant/action/builtin/is_state.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/lock.rb b/lib/vagrant/action/builtin/lock.rb index 4d2ed44984e..bb661a9ac2b 100644 --- a/lib/vagrant/action/builtin/lock.rb +++ b/lib/vagrant/action/builtin/lock.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/action/builtin/message.rb b/lib/vagrant/action/builtin/message.rb index 6b37e52419a..3a7f0446bb9 100644 --- a/lib/vagrant/action/builtin/message.rb +++ b/lib/vagrant/action/builtin/message.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/mixin_provisioners.rb b/lib/vagrant/action/builtin/mixin_provisioners.rb index 07f14eb735b..6956a56e88d 100644 --- a/lib/vagrant/action/builtin/mixin_provisioners.rb +++ b/lib/vagrant/action/builtin/mixin_provisioners.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/mixin_synced_folders.rb b/lib/vagrant/action/builtin/mixin_synced_folders.rb index bc5e17f382e..df9bbb33c82 100644 --- a/lib/vagrant/action/builtin/mixin_synced_folders.rb +++ b/lib/vagrant/action/builtin/mixin_synced_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "set" diff --git a/lib/vagrant/action/builtin/prepare_clone.rb b/lib/vagrant/action/builtin/prepare_clone.rb index 696d28bfb76..a9a2f24614f 100644 --- a/lib/vagrant/action/builtin/prepare_clone.rb +++ b/lib/vagrant/action/builtin/prepare_clone.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/action/builtin/provision.rb b/lib/vagrant/action/builtin/provision.rb index 6c26121b772..6f1c49b8eec 100644 --- a/lib/vagrant/action/builtin/provision.rb +++ b/lib/vagrant/action/builtin/provision.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require_relative "mixin_provisioners" diff --git a/lib/vagrant/action/builtin/provisioner_cleanup.rb b/lib/vagrant/action/builtin/provisioner_cleanup.rb index ead72268c3d..303f8c8dda1 100644 --- a/lib/vagrant/action/builtin/provisioner_cleanup.rb +++ b/lib/vagrant/action/builtin/provisioner_cleanup.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require_relative "mixin_provisioners" diff --git a/lib/vagrant/action/builtin/remote/mixin_synced_folders.rb b/lib/vagrant/action/builtin/remote/mixin_synced_folders.rb index 8bd5a97d228..d3a12eda3aa 100644 --- a/lib/vagrant/action/builtin/remote/mixin_synced_folders.rb +++ b/lib/vagrant/action/builtin/remote/mixin_synced_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/remote/ssh_run.rb b/lib/vagrant/action/builtin/remote/ssh_run.rb index ba235db5f1e..0036c161954 100644 --- a/lib/vagrant/action/builtin/remote/ssh_run.rb +++ b/lib/vagrant/action/builtin/remote/ssh_run.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/set_hostname.rb b/lib/vagrant/action/builtin/set_hostname.rb index eb87720af8b..f465ffd1bf7 100644 --- a/lib/vagrant/action/builtin/set_hostname.rb +++ b/lib/vagrant/action/builtin/set_hostname.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/action/builtin/ssh_exec.rb b/lib/vagrant/action/builtin/ssh_exec.rb index 81ae53cd68a..539b6f03f68 100644 --- a/lib/vagrant/action/builtin/ssh_exec.rb +++ b/lib/vagrant/action/builtin/ssh_exec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant/util/ssh" diff --git a/lib/vagrant/action/builtin/ssh_run.rb b/lib/vagrant/action/builtin/ssh_run.rb index b69c6a6acb9..655dd404510 100644 --- a/lib/vagrant/action/builtin/ssh_run.rb +++ b/lib/vagrant/action/builtin/ssh_run.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/util/platform" diff --git a/lib/vagrant/action/builtin/synced_folder_cleanup.rb b/lib/vagrant/action/builtin/synced_folder_cleanup.rb index ff2f654391c..958f20fd77a 100644 --- a/lib/vagrant/action/builtin/synced_folder_cleanup.rb +++ b/lib/vagrant/action/builtin/synced_folder_cleanup.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require_relative "mixin_synced_folders" diff --git a/lib/vagrant/action/builtin/synced_folders.rb b/lib/vagrant/action/builtin/synced_folders.rb index d516d1657f2..aef9bc4141f 100644 --- a/lib/vagrant/action/builtin/synced_folders.rb +++ b/lib/vagrant/action/builtin/synced_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require 'vagrant/util/platform' diff --git a/lib/vagrant/action/builtin/trigger.rb b/lib/vagrant/action/builtin/trigger.rb index 2fcde82adc5..5c907f0d2da 100644 --- a/lib/vagrant/action/builtin/trigger.rb +++ b/lib/vagrant/action/builtin/trigger.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/builtin/wait_for_communicator.rb b/lib/vagrant/action/builtin/wait_for_communicator.rb index dcf4d9869b4..b40e8499e58 100644 --- a/lib/vagrant/action/builtin/wait_for_communicator.rb +++ b/lib/vagrant/action/builtin/wait_for_communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module Builtin diff --git a/lib/vagrant/action/general/package.rb b/lib/vagrant/action/general/package.rb index b86b19f335a..314a16b40fc 100644 --- a/lib/vagrant/action/general/package.rb +++ b/lib/vagrant/action/general/package.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'fileutils' require "pathname" diff --git a/lib/vagrant/action/general/package_setup_files.rb b/lib/vagrant/action/general/package_setup_files.rb index b8882f3eb8c..cf2786da482 100644 --- a/lib/vagrant/action/general/package_setup_files.rb +++ b/lib/vagrant/action/general/package_setup_files.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action module General diff --git a/lib/vagrant/action/general/package_setup_folders.rb b/lib/vagrant/action/general/package_setup_folders.rb index 387c1199995..ba1bac55862 100644 --- a/lib/vagrant/action/general/package_setup_folders.rb +++ b/lib/vagrant/action/general/package_setup_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require_relative "package" diff --git a/lib/vagrant/action/hook.rb b/lib/vagrant/action/hook.rb index 7270e6a33f4..19bcbc68bd2 100644 --- a/lib/vagrant/action/hook.rb +++ b/lib/vagrant/action/hook.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action # This class manages hooks into existing {Builder} stacks, and lets you diff --git a/lib/vagrant/action/primary_runner.rb b/lib/vagrant/action/primary_runner.rb index 22b409c34c7..c1038127d97 100644 --- a/lib/vagrant/action/primary_runner.rb +++ b/lib/vagrant/action/primary_runner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Action # A PrimaryRunner is a special kind of "top-level" Action::Runner - it diff --git a/lib/vagrant/action/runner.rb b/lib/vagrant/action/runner.rb index 7fe28a747b6..c099c8b89d9 100644 --- a/lib/vagrant/action/runner.rb +++ b/lib/vagrant/action/runner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require 'vagrant/action/hook' diff --git a/lib/vagrant/action/warden.rb b/lib/vagrant/action/warden.rb index 931ce87fc89..b2a645b1f3f 100644 --- a/lib/vagrant/action/warden.rb +++ b/lib/vagrant/action/warden.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require 'vagrant/util/experimental' diff --git a/lib/vagrant/alias.rb b/lib/vagrant/alias.rb index 26efc6d6753..5425c627e7c 100644 --- a/lib/vagrant/alias.rb +++ b/lib/vagrant/alias.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/registry" module Vagrant diff --git a/lib/vagrant/batch_action.rb b/lib/vagrant/batch_action.rb index e7bc39318d7..f0af4fd9e44 100644 --- a/lib/vagrant/batch_action.rb +++ b/lib/vagrant/batch_action.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'thread' require "log4r" diff --git a/lib/vagrant/box.rb b/lib/vagrant/box.rb index 90dc69d381b..3f017980ae5 100644 --- a/lib/vagrant/box.rb +++ b/lib/vagrant/box.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'fileutils' require "tempfile" diff --git a/lib/vagrant/box/remote.rb b/lib/vagrant/box/remote.rb index a0dd506e73e..1acdd224d3a 100644 --- a/lib/vagrant/box/remote.rb +++ b/lib/vagrant/box/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant class Box # This module enables the Box for server mode diff --git a/lib/vagrant/box_collection.rb b/lib/vagrant/box_collection.rb index 398a076d041..0ea2687d6ee 100644 --- a/lib/vagrant/box_collection.rb +++ b/lib/vagrant/box_collection.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/sha1" require "fileutils" require "monitor" diff --git a/lib/vagrant/box_collection/remote.rb b/lib/vagrant/box_collection/remote.rb index ab04a232be8..cad6af8e542 100644 --- a/lib/vagrant/box_collection/remote.rb +++ b/lib/vagrant/box_collection/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant class BoxCollection # This module enables the BoxCollection for server mode diff --git a/lib/vagrant/box_metadata.rb b/lib/vagrant/box_metadata.rb index 0f74f4da1eb..b34e4e0b0b9 100644 --- a/lib/vagrant/box_metadata.rb +++ b/lib/vagrant/box_metadata.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" module Vagrant diff --git a/lib/vagrant/box_metadata/remote.rb b/lib/vagrant/box_metadata/remote.rb index 2087721380a..a89f2d6573d 100644 --- a/lib/vagrant/box_metadata/remote.rb +++ b/lib/vagrant/box_metadata/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant class BoxMetadata # This module enables the BoxMetadata for server mode diff --git a/lib/vagrant/bundler.rb b/lib/vagrant/bundler.rb index 46ef69f35ad..5a1b03dfb9a 100644 --- a/lib/vagrant/bundler.rb +++ b/lib/vagrant/bundler.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "monitor" require "pathname" require "set" diff --git a/lib/vagrant/capability_host.rb b/lib/vagrant/capability_host.rb index 70cf960fc27..fc6d5808e12 100644 --- a/lib/vagrant/capability_host.rb +++ b/lib/vagrant/capability_host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant # This module enables a class to host capabilities. Prior to being able # to use any capabilities, the `initialize_capabilities!` method must be diff --git a/lib/vagrant/cli.rb b/lib/vagrant/cli.rb index 9421c9c2b9e..f48378d9682 100644 --- a/lib/vagrant/cli.rb +++ b/lib/vagrant/cli.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require 'optparse' diff --git a/lib/vagrant/config.rb b/lib/vagrant/config.rb index 2c9fe970d7a..8863c0e5bbd 100644 --- a/lib/vagrant/config.rb +++ b/lib/vagrant/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/registry" module Vagrant diff --git a/lib/vagrant/config/loader.rb b/lib/vagrant/config/loader.rb index 8d1c85f6e2a..c7c41b9cee4 100644 --- a/lib/vagrant/config/loader.rb +++ b/lib/vagrant/config/loader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "log4r" diff --git a/lib/vagrant/config/v1.rb b/lib/vagrant/config/v1.rb index 706e41ec815..65180e65609 100644 --- a/lib/vagrant/config/v1.rb +++ b/lib/vagrant/config/v1.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Config module V1 diff --git a/lib/vagrant/config/v1/dummy_config.rb b/lib/vagrant/config/v1/dummy_config.rb index dc678a33d03..65a389909b5 100644 --- a/lib/vagrant/config/v1/dummy_config.rb +++ b/lib/vagrant/config/v1/dummy_config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Config module V1 diff --git a/lib/vagrant/config/v1/loader.rb b/lib/vagrant/config/v1/loader.rb index e26c88e440f..3765369b7e4 100644 --- a/lib/vagrant/config/v1/loader.rb +++ b/lib/vagrant/config/v1/loader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/config/v1/root" module Vagrant diff --git a/lib/vagrant/config/v1/root.rb b/lib/vagrant/config/v1/root.rb index 975a9e4d321..e7902c34ad9 100644 --- a/lib/vagrant/config/v1/root.rb +++ b/lib/vagrant/config/v1/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" module Vagrant diff --git a/lib/vagrant/config/v2.rb b/lib/vagrant/config/v2.rb index 317ae024512..0e504daf7c8 100644 --- a/lib/vagrant/config/v2.rb +++ b/lib/vagrant/config/v2.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Config module V2 diff --git a/lib/vagrant/config/v2/dummy_config.rb b/lib/vagrant/config/v2/dummy_config.rb index aeef1b7d810..5a1621b3c3d 100644 --- a/lib/vagrant/config/v2/dummy_config.rb +++ b/lib/vagrant/config/v2/dummy_config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Config module V2 diff --git a/lib/vagrant/config/v2/loader.rb b/lib/vagrant/config/v2/loader.rb index 2f5b6cbacca..dad9d22b81a 100644 --- a/lib/vagrant/config/v2/loader.rb +++ b/lib/vagrant/config/v2/loader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/config/v2/root" module Vagrant diff --git a/lib/vagrant/config/v2/root.rb b/lib/vagrant/config/v2/root.rb index 6543d461355..c37149927b4 100644 --- a/lib/vagrant/config/v2/root.rb +++ b/lib/vagrant/config/v2/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" require "vagrant/config/v2/util" diff --git a/lib/vagrant/config/v2/util.rb b/lib/vagrant/config/v2/util.rb index 798517017c8..b774ff38b82 100644 --- a/lib/vagrant/config/v2/util.rb +++ b/lib/vagrant/config/v2/util.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Config module V2 diff --git a/lib/vagrant/config/version_base.rb b/lib/vagrant/config/version_base.rb index 2f77516efa5..f741911bebf 100644 --- a/lib/vagrant/config/version_base.rb +++ b/lib/vagrant/config/version_base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Config # This is the base class for any configuration versions, and includes diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index fcac4d44800..bcbc21de94c 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'fileutils' require 'json' require 'pathname' diff --git a/lib/vagrant/environment/remote.rb b/lib/vagrant/environment/remote.rb index 32b5f2cb5cd..c29f25f620c 100644 --- a/lib/vagrant/environment/remote.rb +++ b/lib/vagrant/environment/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/machine_index/remote' module Vagrant diff --git a/lib/vagrant/errors.rb b/lib/vagrant/errors.rb index 8e6bb89894d..27e4f8a9dd1 100644 --- a/lib/vagrant/errors.rb +++ b/lib/vagrant/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This file contains all of the internal errors in Vagrant's core # commands, actions, etc. diff --git a/lib/vagrant/guest.rb b/lib/vagrant/guest.rb index 57566918823..7a2f16593fa 100644 --- a/lib/vagrant/guest.rb +++ b/lib/vagrant/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/capability_host" diff --git a/lib/vagrant/guest/remote.rb b/lib/vagrant/guest/remote.rb index e8f2a0a04a3..e256c99e195 100644 --- a/lib/vagrant/guest/remote.rb +++ b/lib/vagrant/guest/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant class Guest # This module enables Guests for server mode diff --git a/lib/vagrant/host.rb b/lib/vagrant/host.rb index 2bc9d879312..f2e7f951f9c 100644 --- a/lib/vagrant/host.rb +++ b/lib/vagrant/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/capability_host" module Vagrant diff --git a/lib/vagrant/host/remote.rb b/lib/vagrant/host/remote.rb index baa909f9897..35288188840 100644 --- a/lib/vagrant/host/remote.rb +++ b/lib/vagrant/host/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant class Host # This module enables Host for server mode diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index be3f749eccb..ffa0abd9bb2 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "./util/ssh" require_relative "./action/builtin/mixin_synced_folders" diff --git a/lib/vagrant/machine/remote.rb b/lib/vagrant/machine/remote.rb index e98fa6db18c..02e336d08f3 100644 --- a/lib/vagrant/machine/remote.rb +++ b/lib/vagrant/machine/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'ostruct' require "vagrant/util/scoped_hash_override" diff --git a/lib/vagrant/machine_index.rb b/lib/vagrant/machine_index.rb index 2ae8cc83f44..d999c228a3d 100644 --- a/lib/vagrant/machine_index.rb +++ b/lib/vagrant/machine_index.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "pathname" require "securerandom" diff --git a/lib/vagrant/machine_index/remote.rb b/lib/vagrant/machine_index/remote.rb index 5590eb265d8..6ee403092fd 100644 --- a/lib/vagrant/machine_index/remote.rb +++ b/lib/vagrant/machine_index/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant class MachineIndex class Entry diff --git a/lib/vagrant/machine_state.rb b/lib/vagrant/machine_state.rb index 2800df390e9..4a6a83d7358 100644 --- a/lib/vagrant/machine_state.rb +++ b/lib/vagrant/machine_state.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant # This represents the state of a given machine. This is a very basic # class that simply stores a short and long description of the state diff --git a/lib/vagrant/patches/fake_ftp.rb b/lib/vagrant/patches/fake_ftp.rb index 39cba55999e..e5d04833f5b 100644 --- a/lib/vagrant/patches/fake_ftp.rb +++ b/lib/vagrant/patches/fake_ftp.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fake_ftp" module FakeFtp diff --git a/lib/vagrant/patches/log4r.rb b/lib/vagrant/patches/log4r.rb index 8de130390ac..8f80f9036d7 100644 --- a/lib/vagrant/patches/log4r.rb +++ b/lib/vagrant/patches/log4r.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This adds trace level support to log4r. Since log4r # loggers use the trace method for checking if trace # information should be included in the output, we diff --git a/lib/vagrant/plugin.rb b/lib/vagrant/plugin.rb index b7a7a07352d..276de8f74ce 100644 --- a/lib/vagrant/plugin.rb +++ b/lib/vagrant/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin autoload :V1, "vagrant/plugin/v1" diff --git a/lib/vagrant/plugin/manager.rb b/lib/vagrant/plugin/manager.rb index b73f07f9c83..023a775c582 100644 --- a/lib/vagrant/plugin/manager.rb +++ b/lib/vagrant/plugin/manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "set" diff --git a/lib/vagrant/plugin/remote.rb b/lib/vagrant/plugin/remote.rb index 380f8348674..6bce8aa7d9e 100644 --- a/lib/vagrant/plugin/remote.rb +++ b/lib/vagrant/plugin/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/plugin/remote/command.rb b/lib/vagrant/plugin/remote/command.rb index 8cc5536c3d3..c4260683f0f 100644 --- a/lib/vagrant/plugin/remote/command.rb +++ b/lib/vagrant/plugin/remote/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/communicator.rb b/lib/vagrant/plugin/remote/communicator.rb index 120fcd825db..1887faf3c14 100644 --- a/lib/vagrant/plugin/remote/communicator.rb +++ b/lib/vagrant/plugin/remote/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/guest.rb b/lib/vagrant/plugin/remote/guest.rb index 0afc5fcc67a..c9400f9a909 100644 --- a/lib/vagrant/plugin/remote/guest.rb +++ b/lib/vagrant/plugin/remote/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/host.rb b/lib/vagrant/plugin/remote/host.rb index d38fef800ad..1eae2bedef2 100644 --- a/lib/vagrant/plugin/remote/host.rb +++ b/lib/vagrant/plugin/remote/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/manager.rb b/lib/vagrant/plugin/remote/manager.rb index 7bf0fa8e556..9840d6177fa 100644 --- a/lib/vagrant/plugin/remote/manager.rb +++ b/lib/vagrant/plugin/remote/manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/plugin/remote/plugin.rb b/lib/vagrant/plugin/remote/plugin.rb index e1264020d3d..616d97848b9 100644 --- a/lib/vagrant/plugin/remote/plugin.rb +++ b/lib/vagrant/plugin/remote/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/provider.rb b/lib/vagrant/plugin/remote/provider.rb index 5cb58e74984..4e7ae5c186d 100644 --- a/lib/vagrant/plugin/remote/provider.rb +++ b/lib/vagrant/plugin/remote/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/provisioner.rb b/lib/vagrant/plugin/remote/provisioner.rb index 7f4f40209e9..7ec3e3445bc 100644 --- a/lib/vagrant/plugin/remote/provisioner.rb +++ b/lib/vagrant/plugin/remote/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/push.rb b/lib/vagrant/plugin/remote/push.rb index 95596b45e5a..c1cf3a33d2a 100644 --- a/lib/vagrant/plugin/remote/push.rb +++ b/lib/vagrant/plugin/remote/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/remote/synced_folder.rb b/lib/vagrant/plugin/remote/synced_folder.rb index 82244b024aa..6b8bdea7564 100644 --- a/lib/vagrant/plugin/remote/synced_folder.rb +++ b/lib/vagrant/plugin/remote/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module Remote diff --git a/lib/vagrant/plugin/state_file.rb b/lib/vagrant/plugin/state_file.rb index c6872d4fd24..eddef4140c6 100644 --- a/lib/vagrant/plugin/state_file.rb +++ b/lib/vagrant/plugin/state_file.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "fileutils" require "tempfile" diff --git a/lib/vagrant/plugin/v1.rb b/lib/vagrant/plugin/v1.rb index e5b1beb8c82..2b77b112f00 100644 --- a/lib/vagrant/plugin/v1.rb +++ b/lib/vagrant/plugin/v1.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/plugin/v1/errors" diff --git a/lib/vagrant/plugin/v1/command.rb b/lib/vagrant/plugin/v1/command.rb index 8d023ae3ee8..0c3c7dd9304 100644 --- a/lib/vagrant/plugin/v1/command.rb +++ b/lib/vagrant/plugin/v1/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require "vagrant/util/safe_puts" diff --git a/lib/vagrant/plugin/v1/communicator.rb b/lib/vagrant/plugin/v1/communicator.rb index 7e4494dc315..fbb2c338172 100644 --- a/lib/vagrant/plugin/v1/communicator.rb +++ b/lib/vagrant/plugin/v1/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V1 diff --git a/lib/vagrant/plugin/v1/config.rb b/lib/vagrant/plugin/v1/config.rb index 7d5e8b243d6..9c466e00755 100644 --- a/lib/vagrant/plugin/v1/config.rb +++ b/lib/vagrant/plugin/v1/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V1 diff --git a/lib/vagrant/plugin/v1/errors.rb b/lib/vagrant/plugin/v1/errors.rb index 0b990caac74..122b6a69d7e 100644 --- a/lib/vagrant/plugin/v1/errors.rb +++ b/lib/vagrant/plugin/v1/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This file contains all the errors that the V1 plugin interface # may throw. diff --git a/lib/vagrant/plugin/v1/guest.rb b/lib/vagrant/plugin/v1/guest.rb index 919cb78d2ec..c4cb8e41b71 100644 --- a/lib/vagrant/plugin/v1/guest.rb +++ b/lib/vagrant/plugin/v1/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V1 diff --git a/lib/vagrant/plugin/v1/host.rb b/lib/vagrant/plugin/v1/host.rb index 93fc8800498..6c05004dade 100644 --- a/lib/vagrant/plugin/v1/host.rb +++ b/lib/vagrant/plugin/v1/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V1 diff --git a/lib/vagrant/plugin/v1/manager.rb b/lib/vagrant/plugin/v1/manager.rb index ce4ab787ac1..071b9180dd8 100644 --- a/lib/vagrant/plugin/v1/manager.rb +++ b/lib/vagrant/plugin/v1/manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/plugin/v1/plugin.rb b/lib/vagrant/plugin/v1/plugin.rb index cbdf08a2ce7..4a5a9de491d 100644 --- a/lib/vagrant/plugin/v1/plugin.rb +++ b/lib/vagrant/plugin/v1/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" require "log4r" diff --git a/lib/vagrant/plugin/v1/provider.rb b/lib/vagrant/plugin/v1/provider.rb index 7f5d0372a72..7b51581041e 100644 --- a/lib/vagrant/plugin/v1/provider.rb +++ b/lib/vagrant/plugin/v1/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V1 diff --git a/lib/vagrant/plugin/v1/provisioner.rb b/lib/vagrant/plugin/v1/provisioner.rb index 9ea705fbab2..cec116114b8 100644 --- a/lib/vagrant/plugin/v1/provisioner.rb +++ b/lib/vagrant/plugin/v1/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V1 diff --git a/lib/vagrant/plugin/v2.rb b/lib/vagrant/plugin/v2.rb index 55ec5ab0d23..4e0d333977c 100644 --- a/lib/vagrant/plugin/v2.rb +++ b/lib/vagrant/plugin/v2.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" # We don't autoload components because if we're loading anything in the diff --git a/lib/vagrant/plugin/v2/command.rb b/lib/vagrant/plugin/v2/command.rb index f61a926edb0..736123c941c 100644 --- a/lib/vagrant/plugin/v2/command.rb +++ b/lib/vagrant/plugin/v2/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require "vagrant/util/safe_puts" diff --git a/lib/vagrant/plugin/v2/communicator.rb b/lib/vagrant/plugin/v2/communicator.rb index 2fc1650d6ca..1550ca19861 100644 --- a/lib/vagrant/plugin/v2/communicator.rb +++ b/lib/vagrant/plugin/v2/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "timeout" module Vagrant diff --git a/lib/vagrant/plugin/v2/components.rb b/lib/vagrant/plugin/v2/components.rb index 973c6cee207..e4ec8aafbd2 100644 --- a/lib/vagrant/plugin/v2/components.rb +++ b/lib/vagrant/plugin/v2/components.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V2 diff --git a/lib/vagrant/plugin/v2/config.rb b/lib/vagrant/plugin/v2/config.rb index 001aaa87409..b2ca12a31c3 100644 --- a/lib/vagrant/plugin/v2/config.rb +++ b/lib/vagrant/plugin/v2/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" module Vagrant diff --git a/lib/vagrant/plugin/v2/errors.rb b/lib/vagrant/plugin/v2/errors.rb index 1a0fb8fa28c..b0fd853783e 100644 --- a/lib/vagrant/plugin/v2/errors.rb +++ b/lib/vagrant/plugin/v2/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This file contains all the errors that the V2 plugin interface # may throw. diff --git a/lib/vagrant/plugin/v2/guest.rb b/lib/vagrant/plugin/v2/guest.rb index 5f6b36fba5b..9fcce2eff4d 100644 --- a/lib/vagrant/plugin/v2/guest.rb +++ b/lib/vagrant/plugin/v2/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V2 diff --git a/lib/vagrant/plugin/v2/host.rb b/lib/vagrant/plugin/v2/host.rb index f00ddf3d1b9..e2288985d56 100644 --- a/lib/vagrant/plugin/v2/host.rb +++ b/lib/vagrant/plugin/v2/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V2 diff --git a/lib/vagrant/plugin/v2/manager.rb b/lib/vagrant/plugin/v2/manager.rb index 0927958ada9..12ec59d49c3 100644 --- a/lib/vagrant/plugin/v2/manager.rb +++ b/lib/vagrant/plugin/v2/manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/plugin/v2/plugin.rb b/lib/vagrant/plugin/v2/plugin.rb index eb8ee7a1b95..af33d32b924 100644 --- a/lib/vagrant/plugin/v2/plugin.rb +++ b/lib/vagrant/plugin/v2/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" require "log4r" diff --git a/lib/vagrant/plugin/v2/provider.rb b/lib/vagrant/plugin/v2/provider.rb index d9dacac11d8..29e5a4e31d4 100644 --- a/lib/vagrant/plugin/v2/provider.rb +++ b/lib/vagrant/plugin/v2/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/capability_host" module Vagrant diff --git a/lib/vagrant/plugin/v2/provisioner.rb b/lib/vagrant/plugin/v2/provisioner.rb index 25a0a6acc4c..76a717fc3bb 100644 --- a/lib/vagrant/plugin/v2/provisioner.rb +++ b/lib/vagrant/plugin/v2/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V2 diff --git a/lib/vagrant/plugin/v2/push.rb b/lib/vagrant/plugin/v2/push.rb index f8bc15d5330..69e658329a0 100644 --- a/lib/vagrant/plugin/v2/push.rb +++ b/lib/vagrant/plugin/v2/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V2 diff --git a/lib/vagrant/plugin/v2/synced_folder.rb b/lib/vagrant/plugin/v2/synced_folder.rb index 2a89b85bae9..89bc3178761 100644 --- a/lib/vagrant/plugin/v2/synced_folder.rb +++ b/lib/vagrant/plugin/v2/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Plugin module V2 diff --git a/lib/vagrant/plugin/v2/trigger.rb b/lib/vagrant/plugin/v2/trigger.rb index 731b5854733..dc8df965d46 100644 --- a/lib/vagrant/plugin/v2/trigger.rb +++ b/lib/vagrant/plugin/v2/trigger.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'fileutils' require 'log4r' require 'shellwords' diff --git a/lib/vagrant/protobufs/proto/plugin/grpc_broker_pb.rb b/lib/vagrant/protobufs/proto/plugin/grpc_broker_pb.rb index 0e6eca8ac94..c6d84318c68 100644 --- a/lib/vagrant/protobufs/proto/plugin/grpc_broker_pb.rb +++ b/lib/vagrant/protobufs/proto/plugin/grpc_broker_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: plugin/grpc_broker.proto diff --git a/lib/vagrant/protobufs/proto/plugin/grpc_broker_services_pb.rb b/lib/vagrant/protobufs/proto/plugin/grpc_broker_services_pb.rb index 0eccb7c4154..f9a1a82e1ee 100644 --- a/lib/vagrant/protobufs/proto/plugin/grpc_broker_services_pb.rb +++ b/lib/vagrant/protobufs/proto/plugin/grpc_broker_services_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: plugin/grpc_broker.proto for package 'plugin' diff --git a/lib/vagrant/protobufs/proto/protostructure_pb.rb b/lib/vagrant/protobufs/proto/protostructure_pb.rb index 9b2a9c0c1ca..a96550c3818 100644 --- a/lib/vagrant/protobufs/proto/protostructure_pb.rb +++ b/lib/vagrant/protobufs/proto/protostructure_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: protostructure.proto diff --git a/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_pb.rb b/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_pb.rb index c271c75024e..cc11ccfefd8 100644 --- a/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_pb.rb +++ b/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/ruby_vagrant/ruby-server.proto diff --git a/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_services_pb.rb b/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_services_pb.rb index 0bbb5d557f1..08cd334ec3c 100644 --- a/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_services_pb.rb +++ b/lib/vagrant/protobufs/proto/ruby_vagrant/ruby-server_services_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: proto/ruby_vagrant/ruby-server.proto for package 'hashicorp.vagrant' diff --git a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb index aa45dab04b3..1a1f08c66a5 100644 --- a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb +++ b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: vagrant_plugin_sdk/plugin.proto diff --git a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb index cdaeb4da720..ec97ba4fc35 100644 --- a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb +++ b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: vagrant_plugin_sdk/plugin.proto for package 'hashicorp.vagrant.sdk' diff --git a/lib/vagrant/protobufs/proto/vagrant_server/server_pb.rb b/lib/vagrant/protobufs/proto/vagrant_server/server_pb.rb index 6e65a5b1071..0fdeb74adb0 100644 --- a/lib/vagrant/protobufs/proto/vagrant_server/server_pb.rb +++ b/lib/vagrant/protobufs/proto/vagrant_server/server_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/vagrant_server/server.proto diff --git a/lib/vagrant/protobufs/proto/vagrant_server/server_services_pb.rb b/lib/vagrant/protobufs/proto/vagrant_server/server_services_pb.rb index a235ffad71f..1dd2f5c1cdd 100644 --- a/lib/vagrant/protobufs/proto/vagrant_server/server_services_pb.rb +++ b/lib/vagrant/protobufs/proto/vagrant_server/server_services_pb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: proto/vagrant_server/server.proto for package 'hashicorp.vagrant' diff --git a/lib/vagrant/registry.rb b/lib/vagrant/registry.rb index 27f6154cdb1..6aaedb54164 100644 --- a/lib/vagrant/registry.rb +++ b/lib/vagrant/registry.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant # Register components in a single location that can be queried. # diff --git a/lib/vagrant/shared_helpers.rb b/lib/vagrant/shared_helpers.rb index 7b0b87ccf2e..37af4c984af 100644 --- a/lib/vagrant/shared_helpers.rb +++ b/lib/vagrant/shared_helpers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tempfile" require "thread" diff --git a/lib/vagrant/ui.rb b/lib/vagrant/ui.rb index 4ed4614c429..d09997fb409 100644 --- a/lib/vagrant/ui.rb +++ b/lib/vagrant/ui.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "delegate" require "io/console" require "thread" diff --git a/lib/vagrant/ui/remote.rb b/lib/vagrant/ui/remote.rb index da6e6fcefb9..5e31e76e1c6 100644 --- a/lib/vagrant/ui/remote.rb +++ b/lib/vagrant/ui/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module UI module Reformatter diff --git a/lib/vagrant/util.rb b/lib/vagrant/util.rb index 8e3cbd2af5c..b21ff93f7b3 100644 --- a/lib/vagrant/util.rb +++ b/lib/vagrant/util.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module Remote diff --git a/lib/vagrant/util/ansi_escape_code_remover.rb b/lib/vagrant/util/ansi_escape_code_remover.rb index 70e2dd05457..fed523f7f86 100644 --- a/lib/vagrant/util/ansi_escape_code_remover.rb +++ b/lib/vagrant/util/ansi_escape_code_remover.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module ANSIEscapeCodeRemover diff --git a/lib/vagrant/util/busy.rb b/lib/vagrant/util/busy.rb index e92ba7f78cb..6c96ba1f742 100644 --- a/lib/vagrant/util/busy.rb +++ b/lib/vagrant/util/busy.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Utility class which allows blocks of code to be marked as "busy" diff --git a/lib/vagrant/util/caps.rb b/lib/vagrant/util/caps.rb index 310add326d6..7b26d248756 100644 --- a/lib/vagrant/util/caps.rb +++ b/lib/vagrant/util/caps.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "fileutils" require "pathname" diff --git a/lib/vagrant/util/checkpoint_client.rb b/lib/vagrant/util/checkpoint_client.rb index e8ff3da54eb..6962628c9b8 100644 --- a/lib/vagrant/util/checkpoint_client.rb +++ b/lib/vagrant/util/checkpoint_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "singleton" diff --git a/lib/vagrant/util/command_deprecation.rb b/lib/vagrant/util/command_deprecation.rb index a0d8b09acce..e1910cd9247 100644 --- a/lib/vagrant/util/command_deprecation.rb +++ b/lib/vagrant/util/command_deprecation.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Automatically add deprecation notices to commands diff --git a/lib/vagrant/util/counter.rb b/lib/vagrant/util/counter.rb index 66c7c284f67..139e475ce71 100644 --- a/lib/vagrant/util/counter.rb +++ b/lib/vagrant/util/counter.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'thread' module Vagrant diff --git a/lib/vagrant/util/credential_scrubber.rb b/lib/vagrant/util/credential_scrubber.rb index dfc9b818e35..9981d25faa1 100644 --- a/lib/vagrant/util/credential_scrubber.rb +++ b/lib/vagrant/util/credential_scrubber.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Utility class to remove credential information from strings diff --git a/lib/vagrant/util/curl_helper.rb b/lib/vagrant/util/curl_helper.rb index 07e0a5dbf31..ae4799cf486 100644 --- a/lib/vagrant/util/curl_helper.rb +++ b/lib/vagrant/util/curl_helper.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class CurlHelper diff --git a/lib/vagrant/util/deep_merge.rb b/lib/vagrant/util/deep_merge.rb index 3fb625d5f2b..41a537cdaaa 100644 --- a/lib/vagrant/util/deep_merge.rb +++ b/lib/vagrant/util/deep_merge.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module DeepMerge diff --git a/lib/vagrant/util/directory.rb b/lib/vagrant/util/directory.rb index 1e5a8cb7e05..ab6fc5027d8 100644 --- a/lib/vagrant/util/directory.rb +++ b/lib/vagrant/util/directory.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'pathname' module Vagrant diff --git a/lib/vagrant/util/downloader.rb b/lib/vagrant/util/downloader.rb index 1f694181f43..0c4b2c5f028 100644 --- a/lib/vagrant/util/downloader.rb +++ b/lib/vagrant/util/downloader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "cgi" require "uri" diff --git a/lib/vagrant/util/env.rb b/lib/vagrant/util/env.rb index dc8ed9f9f88..3641f216896 100644 --- a/lib/vagrant/util/env.rb +++ b/lib/vagrant/util/env.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class Env diff --git a/lib/vagrant/util/experimental.rb b/lib/vagrant/util/experimental.rb index 8888a722470..c662f73fc0b 100644 --- a/lib/vagrant/util/experimental.rb +++ b/lib/vagrant/util/experimental.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class Experimental diff --git a/lib/vagrant/util/file_checksum.rb b/lib/vagrant/util/file_checksum.rb index 060250a8c29..5e45ff9c086 100644 --- a/lib/vagrant/util/file_checksum.rb +++ b/lib/vagrant/util/file_checksum.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This is an "interface" that should be implemented by any digest class # passed into FileChecksum. Note that this isn't strictly enforced at # the moment, and this class isn't directly used. It is merely here for diff --git a/lib/vagrant/util/file_mode.rb b/lib/vagrant/util/file_mode.rb index 0ba30e56208..4b428e63d3b 100644 --- a/lib/vagrant/util/file_mode.rb +++ b/lib/vagrant/util/file_mode.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class FileMode diff --git a/lib/vagrant/util/file_mutex.rb b/lib/vagrant/util/file_mutex.rb index 9eababb1552..0ca8c1ea9e7 100644 --- a/lib/vagrant/util/file_mutex.rb +++ b/lib/vagrant/util/file_mutex.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Utility to provide a simple mutex via file lock diff --git a/lib/vagrant/util/guest_hosts.rb b/lib/vagrant/util/guest_hosts.rb index b6855002ef1..e11b0eea556 100644 --- a/lib/vagrant/util/guest_hosts.rb +++ b/lib/vagrant/util/guest_hosts.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Helper methods for modfiying guests /etc/hosts file diff --git a/lib/vagrant/util/guest_inspection.rb b/lib/vagrant/util/guest_inspection.rb index 46037f9d486..576b37f1b32 100644 --- a/lib/vagrant/util/guest_inspection.rb +++ b/lib/vagrant/util/guest_inspection.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Helper methods for inspecting guests to determine if specific services diff --git a/lib/vagrant/util/hash_with_indifferent_access.rb b/lib/vagrant/util/hash_with_indifferent_access.rb index ae5dcd0251d..d9c0f89be77 100644 --- a/lib/vagrant/util/hash_with_indifferent_access.rb +++ b/lib/vagrant/util/hash_with_indifferent_access.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # A hash with indifferent access. Mostly taken from Thor/Rails (thanks). diff --git a/lib/vagrant/util/install_cli_autocomplete.rb b/lib/vagrant/util/install_cli_autocomplete.rb index 2f457ab772e..5860976ad9c 100644 --- a/lib/vagrant/util/install_cli_autocomplete.rb +++ b/lib/vagrant/util/install_cli_autocomplete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Generic installation of content to shell config file diff --git a/lib/vagrant/util/io.rb b/lib/vagrant/util/io.rb index 5e079c08f86..a910dcd52ef 100644 --- a/lib/vagrant/util/io.rb +++ b/lib/vagrant/util/io.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/platform" module Vagrant diff --git a/lib/vagrant/util/ipv4_interfaces.rb b/lib/vagrant/util/ipv4_interfaces.rb index 7ae486704dd..079a5e5e58d 100644 --- a/lib/vagrant/util/ipv4_interfaces.rb +++ b/lib/vagrant/util/ipv4_interfaces.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module IPv4Interfaces diff --git a/lib/vagrant/util/is_port_open.rb b/lib/vagrant/util/is_port_open.rb index 9c7981b61c2..d673757c06e 100644 --- a/lib/vagrant/util/is_port_open.rb +++ b/lib/vagrant/util/is_port_open.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "socket" module Vagrant diff --git a/lib/vagrant/util/keypair.rb b/lib/vagrant/util/keypair.rb index 31665af29f5..b1a89323c98 100644 --- a/lib/vagrant/util/keypair.rb +++ b/lib/vagrant/util/keypair.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "base64" require "ed25519" require "securerandom" diff --git a/lib/vagrant/util/line_buffer.rb b/lib/vagrant/util/line_buffer.rb index 14271b98d26..f573c3fb269 100644 --- a/lib/vagrant/util/line_buffer.rb +++ b/lib/vagrant/util/line_buffer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class LineBuffer diff --git a/lib/vagrant/util/line_ending_helpers.rb b/lib/vagrant/util/line_ending_helpers.rb index 9a88b8db2a4..24211f382a3 100644 --- a/lib/vagrant/util/line_ending_helpers.rb +++ b/lib/vagrant/util/line_ending_helpers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module LineEndingHelpers diff --git a/lib/vagrant/util/logging_formatter.rb b/lib/vagrant/util/logging_formatter.rb index 36716ac7c04..b8308b06daf 100644 --- a/lib/vagrant/util/logging_formatter.rb +++ b/lib/vagrant/util/logging_formatter.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/credential_scrubber" require "log4r/formatter/formatter" diff --git a/lib/vagrant/util/map_command_options.rb b/lib/vagrant/util/map_command_options.rb index 5accdffacc4..ddf87a12358 100644 --- a/lib/vagrant/util/map_command_options.rb +++ b/lib/vagrant/util/map_command_options.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class MapCommandOptions diff --git a/lib/vagrant/util/mime.rb b/lib/vagrant/util/mime.rb index afec8e25bcf..36f9a0f3cb6 100644 --- a/lib/vagrant/util/mime.rb +++ b/lib/vagrant/util/mime.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'mime/types' require 'securerandom' diff --git a/lib/vagrant/util/network_ip.rb b/lib/vagrant/util/network_ip.rb index 8930bc36a6b..99ecda4a6c0 100644 --- a/lib/vagrant/util/network_ip.rb +++ b/lib/vagrant/util/network_ip.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" module Vagrant diff --git a/lib/vagrant/util/numeric.rb b/lib/vagrant/util/numeric.rb index 93c73e113e0..b4eee012b61 100644 --- a/lib/vagrant/util/numeric.rb +++ b/lib/vagrant/util/numeric.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/util/platform.rb b/lib/vagrant/util/platform.rb index 6091d84dd63..4cf61132a19 100644 --- a/lib/vagrant/util/platform.rb +++ b/lib/vagrant/util/platform.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "rbconfig" require "shellwords" require "tempfile" diff --git a/lib/vagrant/util/powershell.rb b/lib/vagrant/util/powershell.rb index c85f7544ec8..6905fc9a313 100644 --- a/lib/vagrant/util/powershell.rb +++ b/lib/vagrant/util/powershell.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "base64" require "tmpdir" require_relative "subprocess" diff --git a/lib/vagrant/util/presence.rb b/lib/vagrant/util/presence.rb index 8032bf6c19a..2a1ffd2f10c 100644 --- a/lib/vagrant/util/presence.rb +++ b/lib/vagrant/util/presence.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module Presence diff --git a/lib/vagrant/util/remote/safe_puts.rb b/lib/vagrant/util/remote/safe_puts.rb index 1246c5fe1c6..cfec85c6388 100644 --- a/lib/vagrant/util/remote/safe_puts.rb +++ b/lib/vagrant/util/remote/safe_puts.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module Remote diff --git a/lib/vagrant/util/remote/ssh.rb b/lib/vagrant/util/remote/ssh.rb index dd3ef6eaff4..d3922d69273 100644 --- a/lib/vagrant/util/remote/ssh.rb +++ b/lib/vagrant/util/remote/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module Remote diff --git a/lib/vagrant/util/retryable.rb b/lib/vagrant/util/retryable.rb index ac73b20b937..d632361bfd8 100644 --- a/lib/vagrant/util/retryable.rb +++ b/lib/vagrant/util/retryable.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module Vagrant diff --git a/lib/vagrant/util/safe_chdir.rb b/lib/vagrant/util/safe_chdir.rb index 44c2836f2ec..c8bfd90c34b 100644 --- a/lib/vagrant/util/safe_chdir.rb +++ b/lib/vagrant/util/safe_chdir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'thread' module Vagrant diff --git a/lib/vagrant/util/safe_env.rb b/lib/vagrant/util/safe_env.rb index 8d7d8baf1a5..41ff70d9467 100644 --- a/lib/vagrant/util/safe_env.rb +++ b/lib/vagrant/util/safe_env.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util class SafeEnv diff --git a/lib/vagrant/util/safe_exec.rb b/lib/vagrant/util/safe_exec.rb index 1549b39bbb4..a558376d388 100644 --- a/lib/vagrant/util/safe_exec.rb +++ b/lib/vagrant/util/safe_exec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # This module provides a `safe_exec` method which is a drop-in diff --git a/lib/vagrant/util/safe_puts.rb b/lib/vagrant/util/safe_puts.rb index d6381e62b1f..420c863827a 100644 --- a/lib/vagrant/util/safe_puts.rb +++ b/lib/vagrant/util/safe_puts.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # This module provides a `safe_puts` method which outputs to diff --git a/lib/vagrant/util/scoped_hash_override.rb b/lib/vagrant/util/scoped_hash_override.rb index d7c67adf0ac..d4381bf8f4a 100644 --- a/lib/vagrant/util/scoped_hash_override.rb +++ b/lib/vagrant/util/scoped_hash_override.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # This allows for hash options to be overridden by a scope key diff --git a/lib/vagrant/util/shell_quote.rb b/lib/vagrant/util/shell_quote.rb index f3dd39c46e6..c90e4809a48 100644 --- a/lib/vagrant/util/shell_quote.rb +++ b/lib/vagrant/util/shell_quote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module ShellQuote diff --git a/lib/vagrant/util/silence_warnings.rb b/lib/vagrant/util/silence_warnings.rb index c5b251df886..1c6b8d3ef16 100644 --- a/lib/vagrant/util/silence_warnings.rb +++ b/lib/vagrant/util/silence_warnings.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util module SilenceWarnings diff --git a/lib/vagrant/util/ssh.rb b/lib/vagrant/util/ssh.rb index 4378b5fe9d9..56ae5e951df 100644 --- a/lib/vagrant/util/ssh.rb +++ b/lib/vagrant/util/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require 'childprocess' diff --git a/lib/vagrant/util/stacked_proc_runner.rb b/lib/vagrant/util/stacked_proc_runner.rb index f63c770b013..b6b7f07aa3b 100644 --- a/lib/vagrant/util/stacked_proc_runner.rb +++ b/lib/vagrant/util/stacked_proc_runner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # Represents the "stacked proc runner" behavior which is used a diff --git a/lib/vagrant/util/string_block_editor.rb b/lib/vagrant/util/string_block_editor.rb index 23400b44fc4..8c2699bf3f4 100644 --- a/lib/vagrant/util/string_block_editor.rb +++ b/lib/vagrant/util/string_block_editor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant module Util # This class modifies strings by creating and managing Vagrant-owned diff --git a/lib/vagrant/util/subprocess.rb b/lib/vagrant/util/subprocess.rb index d78c996da66..06f1268318d 100644 --- a/lib/vagrant/util/subprocess.rb +++ b/lib/vagrant/util/subprocess.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'thread' require 'childprocess' diff --git a/lib/vagrant/util/template_renderer.rb b/lib/vagrant/util/template_renderer.rb index fa63474a774..ad63d333283 100644 --- a/lib/vagrant/util/template_renderer.rb +++ b/lib/vagrant/util/template_renderer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'ostruct' require "pathname" diff --git a/lib/vagrant/util/uploader.rb b/lib/vagrant/util/uploader.rb index b9bfbecf3c8..dc41b4ff2cc 100644 --- a/lib/vagrant/util/uploader.rb +++ b/lib/vagrant/util/uploader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "uri" require "log4r" diff --git a/lib/vagrant/util/which.rb b/lib/vagrant/util/which.rb index 0e0eb03c494..a59f2a51188 100644 --- a/lib/vagrant/util/which.rb +++ b/lib/vagrant/util/which.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/platform" module Vagrant diff --git a/lib/vagrant/util/windows_path.rb b/lib/vagrant/util/windows_path.rb index d2ea251d5ca..d929c9513b1 100644 --- a/lib/vagrant/util/windows_path.rb +++ b/lib/vagrant/util/windows_path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fiddle/import" module Vagrant diff --git a/lib/vagrant/vagrantfile.rb b/lib/vagrant/vagrantfile.rb index 1d9393ea968..beda9537e75 100644 --- a/lib/vagrant/vagrantfile.rb +++ b/lib/vagrant/vagrantfile.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/template_renderer" require "log4r" diff --git a/lib/vagrant/vagrantfile/remote.rb b/lib/vagrant/vagrantfile/remote.rb index 9b2f2bb7ef4..caa7d88770e 100644 --- a/lib/vagrant/vagrantfile/remote.rb +++ b/lib/vagrant/vagrantfile/remote.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # lib/remote.rb module Vagrant diff --git a/lib/vagrant/version.rb b/lib/vagrant/version.rb index 0640365b72a..0bb4c162d2f 100644 --- a/lib/vagrant/version.rb +++ b/lib/vagrant/version.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module Vagrant # This will always be up to date with the current version of Vagrant, # since it is used to generate the gemspec and is also the source of diff --git a/plugins/commands/autocomplete/command/install.rb b/plugins/commands/autocomplete/command/install.rb index bde978688dd..baba44dcb1b 100644 --- a/plugins/commands/autocomplete/command/install.rb +++ b/plugins/commands/autocomplete/command/install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require 'vagrant/util/install_cli_autocomplete' diff --git a/plugins/commands/autocomplete/command/root.rb b/plugins/commands/autocomplete/command/root.rb index 5406e3c83bc..dbe1bdd47c3 100644 --- a/plugins/commands/autocomplete/command/root.rb +++ b/plugins/commands/autocomplete/command/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "optparse" require 'vagrant/util/install_cli_autocomplete' diff --git a/plugins/commands/autocomplete/plugin.rb b/plugins/commands/autocomplete/plugin.rb index 46255e2174a..dacda247cd9 100644 --- a/plugins/commands/autocomplete/plugin.rb +++ b/plugins/commands/autocomplete/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" diff --git a/plugins/commands/box/command/add.rb b/plugins/commands/box/command/add.rb index be3741e4c35..7b66065a185 100644 --- a/plugins/commands/box/command/add.rb +++ b/plugins/commands/box/command/add.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative 'download_mixins' diff --git a/plugins/commands/box/command/download_mixins.rb b/plugins/commands/box/command/download_mixins.rb index eda31b6bfed..73ef98de072 100644 --- a/plugins/commands/box/command/download_mixins.rb +++ b/plugins/commands/box/command/download_mixins.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandBox module DownloadMixins diff --git a/plugins/commands/box/command/list.rb b/plugins/commands/box/command/list.rb index 3445a00d5ef..e7955341506 100644 --- a/plugins/commands/box/command/list.rb +++ b/plugins/commands/box/command/list.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/box/command/outdated.rb b/plugins/commands/box/command/outdated.rb index 4fb8fd12ab3..db75e417cf0 100644 --- a/plugins/commands/box/command/outdated.rb +++ b/plugins/commands/box/command/outdated.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative 'download_mixins' diff --git a/plugins/commands/box/command/prune.rb b/plugins/commands/box/command/prune.rb index 7acdf96e887..91f5938efba 100644 --- a/plugins/commands/box/command/prune.rb +++ b/plugins/commands/box/command/prune.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/box/command/remove.rb b/plugins/commands/box/command/remove.rb index d7b48ba4a29..eee5ffb227a 100644 --- a/plugins/commands/box/command/remove.rb +++ b/plugins/commands/box/command/remove.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/box/command/repackage.rb b/plugins/commands/box/command/repackage.rb index 2bb32847caa..d0e5d15beb6 100644 --- a/plugins/commands/box/command/repackage.rb +++ b/plugins/commands/box/command/repackage.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require 'optparse' require "pathname" diff --git a/plugins/commands/box/command/root.rb b/plugins/commands/box/command/root.rb index c3aaba988bd..2dfecb7a0c4 100644 --- a/plugins/commands/box/command/root.rb +++ b/plugins/commands/box/command/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/box/command/update.rb b/plugins/commands/box/command/update.rb index e8d4da5b8fa..7c7cac0d86a 100644 --- a/plugins/commands/box/command/update.rb +++ b/plugins/commands/box/command/update.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative 'download_mixins' diff --git a/plugins/commands/box/plugin.rb b/plugins/commands/box/plugin.rb index bc19f99f6bf..8819ab4df63 100644 --- a/plugins/commands/box/plugin.rb +++ b/plugins/commands/box/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/cap/command.rb b/plugins/commands/cap/command.rb index 4a8121cd012..9a714040a66 100644 --- a/plugins/commands/cap/command.rb +++ b/plugins/commands/cap/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cap/plugin.rb b/plugins/commands/cap/plugin.rb index 21199c9a9ba..0ff09642305 100644 --- a/plugins/commands/cap/plugin.rb +++ b/plugins/commands/cap/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/cloud/auth/login.rb b/plugins/commands/cloud/auth/login.rb index 511fb98dd25..1a74b11efe5 100644 --- a/plugins/commands/cloud/auth/login.rb +++ b/plugins/commands/cloud/auth/login.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/auth/logout.rb b/plugins/commands/cloud/auth/logout.rb index 4dbd1783448..516eef1f7af 100644 --- a/plugins/commands/cloud/auth/logout.rb +++ b/plugins/commands/cloud/auth/logout.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/auth/middleware/add_authentication.rb b/plugins/commands/cloud/auth/middleware/add_authentication.rb index 5e7e7a95e34..f88d6527ace 100644 --- a/plugins/commands/cloud/auth/middleware/add_authentication.rb +++ b/plugins/commands/cloud/auth/middleware/add_authentication.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "cgi" require "uri" require "log4r" diff --git a/plugins/commands/cloud/auth/middleware/add_downloader_authentication.rb b/plugins/commands/cloud/auth/middleware/add_downloader_authentication.rb index 1690580f007..64becab6a8f 100644 --- a/plugins/commands/cloud/auth/middleware/add_downloader_authentication.rb +++ b/plugins/commands/cloud/auth/middleware/add_downloader_authentication.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "cgi" require "uri" diff --git a/plugins/commands/cloud/auth/plugin.rb b/plugins/commands/cloud/auth/plugin.rb index 9cb82d5cd9f..ace0dab6a87 100644 --- a/plugins/commands/cloud/auth/plugin.rb +++ b/plugins/commands/cloud/auth/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" diff --git a/plugins/commands/cloud/auth/root.rb b/plugins/commands/cloud/auth/root.rb index a7cdcdddb01..6871a424b55 100644 --- a/plugins/commands/cloud/auth/root.rb +++ b/plugins/commands/cloud/auth/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module AuthCommand diff --git a/plugins/commands/cloud/auth/whoami.rb b/plugins/commands/cloud/auth/whoami.rb index 440f6bd984f..538a1b4a91a 100644 --- a/plugins/commands/cloud/auth/whoami.rb +++ b/plugins/commands/cloud/auth/whoami.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/box/create.rb b/plugins/commands/cloud/box/create.rb index f8d89e7e798..37a0de53d97 100644 --- a/plugins/commands/cloud/box/create.rb +++ b/plugins/commands/cloud/box/create.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/box/delete.rb b/plugins/commands/cloud/box/delete.rb index a326d857672..d66f6619f2b 100644 --- a/plugins/commands/cloud/box/delete.rb +++ b/plugins/commands/cloud/box/delete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/box/plugin.rb b/plugins/commands/cloud/box/plugin.rb index 5277a85a060..aba00b183fe 100644 --- a/plugins/commands/cloud/box/plugin.rb +++ b/plugins/commands/cloud/box/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/cloud/box/root.rb b/plugins/commands/cloud/box/root.rb index b35cf3aa722..03d3df9c0f3 100644 --- a/plugins/commands/cloud/box/root.rb +++ b/plugins/commands/cloud/box/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module BoxCommand diff --git a/plugins/commands/cloud/box/show.rb b/plugins/commands/cloud/box/show.rb index bdafc253767..6bf5aca8629 100644 --- a/plugins/commands/cloud/box/show.rb +++ b/plugins/commands/cloud/box/show.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/box/update.rb b/plugins/commands/cloud/box/update.rb index 5df1a2c7349..12dbd045a91 100644 --- a/plugins/commands/cloud/box/update.rb +++ b/plugins/commands/cloud/box/update.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/client/client.rb b/plugins/commands/cloud/client/client.rb index 3659737062e..3fd33a8a6c9 100644 --- a/plugins/commands/cloud/client/client.rb +++ b/plugins/commands/cloud/client/client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant_cloud" require "vagrant/util/downloader" require "vagrant/util/presence" diff --git a/plugins/commands/cloud/errors.rb b/plugins/commands/cloud/errors.rb index 29210aa2b27..06b97540852 100644 --- a/plugins/commands/cloud/errors.rb +++ b/plugins/commands/cloud/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module Errors diff --git a/plugins/commands/cloud/list.rb b/plugins/commands/cloud/list.rb index 2df3d1bc88b..499659b710d 100644 --- a/plugins/commands/cloud/list.rb +++ b/plugins/commands/cloud/list.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/locales/en.yml b/plugins/commands/cloud/locales/en.yml index c819aaaa5a9..55738363ed6 100644 --- a/plugins/commands/cloud/locales/en.yml +++ b/plugins/commands/cloud/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: cloud_command: middleware: diff --git a/plugins/commands/cloud/plugin.rb b/plugins/commands/cloud/plugin.rb index 62a182e14cc..7988b4e54af 100644 --- a/plugins/commands/cloud/plugin.rb +++ b/plugins/commands/cloud/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require 'vagrant_cloud' require Vagrant.source_root.join("plugins/commands/cloud/util") diff --git a/plugins/commands/cloud/provider/create.rb b/plugins/commands/cloud/provider/create.rb index ce1b66d6b8d..61ee0c86582 100644 --- a/plugins/commands/cloud/provider/create.rb +++ b/plugins/commands/cloud/provider/create.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/provider/delete.rb b/plugins/commands/cloud/provider/delete.rb index 414e0e10462..a4c25b9da43 100644 --- a/plugins/commands/cloud/provider/delete.rb +++ b/plugins/commands/cloud/provider/delete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/provider/plugin.rb b/plugins/commands/cloud/provider/plugin.rb index 5f6e4a9d670..234db826175 100644 --- a/plugins/commands/cloud/provider/plugin.rb +++ b/plugins/commands/cloud/provider/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/cloud/provider/root.rb b/plugins/commands/cloud/provider/root.rb index 3e931ffeda7..d7fbcba4376 100644 --- a/plugins/commands/cloud/provider/root.rb +++ b/plugins/commands/cloud/provider/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module ProviderCommand diff --git a/plugins/commands/cloud/provider/update.rb b/plugins/commands/cloud/provider/update.rb index 3c576081621..47771d35be2 100644 --- a/plugins/commands/cloud/provider/update.rb +++ b/plugins/commands/cloud/provider/update.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/provider/upload.rb b/plugins/commands/cloud/provider/upload.rb index 6cf053b64a5..99f5a9fc302 100644 --- a/plugins/commands/cloud/provider/upload.rb +++ b/plugins/commands/cloud/provider/upload.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant/util/uploader" diff --git a/plugins/commands/cloud/publish.rb b/plugins/commands/cloud/publish.rb index 93acbcef4eb..3cc08b44dc6 100644 --- a/plugins/commands/cloud/publish.rb +++ b/plugins/commands/cloud/publish.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant/util/uploader" diff --git a/plugins/commands/cloud/root.rb b/plugins/commands/cloud/root.rb index afaeefd3497..f964cdeadaa 100644 --- a/plugins/commands/cloud/root.rb +++ b/plugins/commands/cloud/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module Command diff --git a/plugins/commands/cloud/search.rb b/plugins/commands/cloud/search.rb index 5a2f72c9697..bdd5a0a66b2 100644 --- a/plugins/commands/cloud/search.rb +++ b/plugins/commands/cloud/search.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/util.rb b/plugins/commands/cloud/util.rb index 52576211393..dc280307bb9 100644 --- a/plugins/commands/cloud/util.rb +++ b/plugins/commands/cloud/util.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module Util diff --git a/plugins/commands/cloud/version/create.rb b/plugins/commands/cloud/version/create.rb index 264075f6311..95ab0f4338b 100644 --- a/plugins/commands/cloud/version/create.rb +++ b/plugins/commands/cloud/version/create.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/version/delete.rb b/plugins/commands/cloud/version/delete.rb index bf1c9425486..c6292d48676 100644 --- a/plugins/commands/cloud/version/delete.rb +++ b/plugins/commands/cloud/version/delete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/version/plugin.rb b/plugins/commands/cloud/version/plugin.rb index 4054c64cfcf..126e78a8c21 100644 --- a/plugins/commands/cloud/version/plugin.rb +++ b/plugins/commands/cloud/version/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/cloud/version/release.rb b/plugins/commands/cloud/version/release.rb index 777cfc24298..daa3e5d2f7a 100644 --- a/plugins/commands/cloud/version/release.rb +++ b/plugins/commands/cloud/version/release.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/version/revoke.rb b/plugins/commands/cloud/version/revoke.rb index 75d08fbb136..8c5b6564ce2 100644 --- a/plugins/commands/cloud/version/revoke.rb +++ b/plugins/commands/cloud/version/revoke.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/cloud/version/root.rb b/plugins/commands/cloud/version/root.rb index 79c6a5b064e..fed2c49f64e 100644 --- a/plugins/commands/cloud/version/root.rb +++ b/plugins/commands/cloud/version/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CloudCommand module VersionCommand diff --git a/plugins/commands/cloud/version/update.rb b/plugins/commands/cloud/version/update.rb index 5643908fc60..a8dfc4a0aac 100644 --- a/plugins/commands/cloud/version/update.rb +++ b/plugins/commands/cloud/version/update.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/destroy/command.rb b/plugins/commands/destroy/command.rb index b3b472a552d..ac568b21ebc 100644 --- a/plugins/commands/destroy/command.rb +++ b/plugins/commands/destroy/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandDestroy class Command < Vagrant.plugin("2", :command) diff --git a/plugins/commands/destroy/plugin.rb b/plugins/commands/destroy/plugin.rb index 6f24c93b628..7d27e2874cd 100644 --- a/plugins/commands/destroy/plugin.rb +++ b/plugins/commands/destroy/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/global-status/command.rb b/plugins/commands/global-status/command.rb index f9c4207be56..0b47d86d844 100644 --- a/plugins/commands/global-status/command.rb +++ b/plugins/commands/global-status/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/global-status/plugin.rb b/plugins/commands/global-status/plugin.rb index 5eb8b21efb0..882c81c3267 100644 --- a/plugins/commands/global-status/plugin.rb +++ b/plugins/commands/global-status/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/halt/command.rb b/plugins/commands/halt/command.rb index 4ff733d956c..e4e91d5613a 100644 --- a/plugins/commands/halt/command.rb +++ b/plugins/commands/halt/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/halt/plugin.rb b/plugins/commands/halt/plugin.rb index 8bed538301d..47f63e9dfb6 100644 --- a/plugins/commands/halt/plugin.rb +++ b/plugins/commands/halt/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/help/command.rb b/plugins/commands/help/command.rb index 0ce4d859843..8f6b04a2fba 100644 --- a/plugins/commands/help/command.rb +++ b/plugins/commands/help/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/help/plugin.rb b/plugins/commands/help/plugin.rb index 4634a473afd..2dc925d8e13 100644 --- a/plugins/commands/help/plugin.rb +++ b/plugins/commands/help/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/init/command.rb b/plugins/commands/init/command.rb index 04f3e6fb87b..44c4b13cd7e 100644 --- a/plugins/commands/init/command.rb +++ b/plugins/commands/init/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require 'vagrant/util/template_renderer' diff --git a/plugins/commands/init/plugin.rb b/plugins/commands/init/plugin.rb index 08cb2c73dc6..39ff1b4dcaf 100644 --- a/plugins/commands/init/plugin.rb +++ b/plugins/commands/init/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/list-commands/command.rb b/plugins/commands/list-commands/command.rb index cefc7175557..c361f9bf9ce 100644 --- a/plugins/commands/list-commands/command.rb +++ b/plugins/commands/list-commands/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "optparse" module VagrantPlugins diff --git a/plugins/commands/list-commands/plugin.rb b/plugins/commands/list-commands/plugin.rb index 53f4a6a82aa..a65b03c1041 100644 --- a/plugins/commands/list-commands/plugin.rb +++ b/plugins/commands/list-commands/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/login/plugin.rb b/plugins/commands/login/plugin.rb index 7cfbdb01353..52d1bc9ea39 100644 --- a/plugins/commands/login/plugin.rb +++ b/plugins/commands/login/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/package/command.rb b/plugins/commands/package/command.rb index f7b5e49dcaa..36d4c6a23c1 100644 --- a/plugins/commands/package/command.rb +++ b/plugins/commands/package/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require 'securerandom' diff --git a/plugins/commands/package/plugin.rb b/plugins/commands/package/plugin.rb index 5e22f0f72e0..516c24e766c 100644 --- a/plugins/commands/package/plugin.rb +++ b/plugins/commands/package/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/plugin/action.rb b/plugins/commands/plugin/action.rb index d0f9bf8e916..be61a2c025b 100644 --- a/plugins/commands/plugin/action.rb +++ b/plugins/commands/plugin/action.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant/action/builder" diff --git a/plugins/commands/plugin/action/expunge_plugins.rb b/plugins/commands/plugin/action/expunge_plugins.rb index 98b7f6014ea..aafed0c6cdf 100644 --- a/plugins/commands/plugin/action/expunge_plugins.rb +++ b/plugins/commands/plugin/action/expunge_plugins.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/manager" module VagrantPlugins diff --git a/plugins/commands/plugin/action/install_gem.rb b/plugins/commands/plugin/action/install_gem.rb index 6ffabb5abf8..91a54e91b34 100644 --- a/plugins/commands/plugin/action/install_gem.rb +++ b/plugins/commands/plugin/action/install_gem.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/plugin/manager" require "vagrant/util/platform" diff --git a/plugins/commands/plugin/action/license_plugin.rb b/plugins/commands/plugin/action/license_plugin.rb index 6adf12527e8..da04ff1a72e 100644 --- a/plugins/commands/plugin/action/license_plugin.rb +++ b/plugins/commands/plugin/action/license_plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "pathname" require "rubygems" diff --git a/plugins/commands/plugin/action/list_plugins.rb b/plugins/commands/plugin/action/list_plugins.rb index 4ab8f3982d8..17279ef18e8 100644 --- a/plugins/commands/plugin/action/list_plugins.rb +++ b/plugins/commands/plugin/action/list_plugins.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/manager" module VagrantPlugins diff --git a/plugins/commands/plugin/action/plugin_exists_check.rb b/plugins/commands/plugin/action/plugin_exists_check.rb index b7b7b962347..e84ac9fc93b 100644 --- a/plugins/commands/plugin/action/plugin_exists_check.rb +++ b/plugins/commands/plugin/action/plugin_exists_check.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/manager" module VagrantPlugins diff --git a/plugins/commands/plugin/action/repair_plugins.rb b/plugins/commands/plugin/action/repair_plugins.rb index 5421f000d86..38df82cf6ad 100644 --- a/plugins/commands/plugin/action/repair_plugins.rb +++ b/plugins/commands/plugin/action/repair_plugins.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/manager" module VagrantPlugins diff --git a/plugins/commands/plugin/action/uninstall_plugin.rb b/plugins/commands/plugin/action/uninstall_plugin.rb index 5518581f0eb..e6fc45e2c59 100644 --- a/plugins/commands/plugin/action/uninstall_plugin.rb +++ b/plugins/commands/plugin/action/uninstall_plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandPlugin module Action diff --git a/plugins/commands/plugin/action/update_gems.rb b/plugins/commands/plugin/action/update_gems.rb index f59fce996bf..e9a61b3cb9f 100644 --- a/plugins/commands/plugin/action/update_gems.rb +++ b/plugins/commands/plugin/action/update_gems.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/manager" module VagrantPlugins diff --git a/plugins/commands/plugin/command/base.rb b/plugins/commands/plugin/command/base.rb index 5cf522fd201..5cbe4c56a5e 100644 --- a/plugins/commands/plugin/command/base.rb +++ b/plugins/commands/plugin/command/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/state_file" module VagrantPlugins diff --git a/plugins/commands/plugin/command/expunge.rb b/plugins/commands/plugin/command/expunge.rb index 721a441698f..3f25a2353aa 100644 --- a/plugins/commands/plugin/command/expunge.rb +++ b/plugins/commands/plugin/command/expunge.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/command/install.rb b/plugins/commands/plugin/command/install.rb index 3e3e907acf4..ef60cf901f0 100644 --- a/plugins/commands/plugin/command/install.rb +++ b/plugins/commands/plugin/command/install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/command/license.rb b/plugins/commands/plugin/command/license.rb index 89e9ca3ce9c..0f5e63af846 100644 --- a/plugins/commands/plugin/command/license.rb +++ b/plugins/commands/plugin/command/license.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/command/list.rb b/plugins/commands/plugin/command/list.rb index 8e176d6b2c7..d6035d18ca0 100644 --- a/plugins/commands/plugin/command/list.rb +++ b/plugins/commands/plugin/command/list.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/command/mixin_install_opts.rb b/plugins/commands/plugin/command/mixin_install_opts.rb index 74e610be1c8..bbac4397e3d 100644 --- a/plugins/commands/plugin/command/mixin_install_opts.rb +++ b/plugins/commands/plugin/command/mixin_install_opts.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandPlugin module Command diff --git a/plugins/commands/plugin/command/repair.rb b/plugins/commands/plugin/command/repair.rb index 57f90cbb254..2c6bd97f137 100644 --- a/plugins/commands/plugin/command/repair.rb +++ b/plugins/commands/plugin/command/repair.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/command/root.rb b/plugins/commands/plugin/command/root.rb index ebee1d59293..970c6f3e86f 100644 --- a/plugins/commands/plugin/command/root.rb +++ b/plugins/commands/plugin/command/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/plugin/command/uninstall.rb b/plugins/commands/plugin/command/uninstall.rb index 341f4f89316..b3f8a540b1b 100644 --- a/plugins/commands/plugin/command/uninstall.rb +++ b/plugins/commands/plugin/command/uninstall.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/command/update.rb b/plugins/commands/plugin/command/update.rb index 03abf12f365..e45cc7fc087 100644 --- a/plugins/commands/plugin/command/update.rb +++ b/plugins/commands/plugin/command/update.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require_relative "base" diff --git a/plugins/commands/plugin/gem_helper.rb b/plugins/commands/plugin/gem_helper.rb index 1463dfe1f18..324f4bfb6b7 100644 --- a/plugins/commands/plugin/gem_helper.rb +++ b/plugins/commands/plugin/gem_helper.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "rubygems" require "rubygems/config_file" require "rubygems/gem_runner" diff --git a/plugins/commands/plugin/plugin.rb b/plugins/commands/plugin/plugin.rb index 0fd05973baa..1c8f7545bea 100644 --- a/plugins/commands/plugin/plugin.rb +++ b/plugins/commands/plugin/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/port/command.rb b/plugins/commands/port/command.rb index 39fd39c06ee..d847dbbddc5 100644 --- a/plugins/commands/port/command.rb +++ b/plugins/commands/port/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/presence" require "optparse" diff --git a/plugins/commands/port/locales/en.yml b/plugins/commands/port/locales/en.yml index ba1389db74a..876d411131c 100644 --- a/plugins/commands/port/locales/en.yml +++ b/plugins/commands/port/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: port_command: details: |- diff --git a/plugins/commands/port/plugin.rb b/plugins/commands/port/plugin.rb index 7437f04368e..5644e6a4b63 100644 --- a/plugins/commands/port/plugin.rb +++ b/plugins/commands/port/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/powershell/command.rb b/plugins/commands/powershell/command.rb index 06c2b7dc5b7..c0e0ebdb512 100644 --- a/plugins/commands/powershell/command.rb +++ b/plugins/commands/powershell/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "optparse" require "vagrant/util/powershell" diff --git a/plugins/commands/powershell/errors.rb b/plugins/commands/powershell/errors.rb index 769ea6b2ed6..0e757ccfca6 100644 --- a/plugins/commands/powershell/errors.rb +++ b/plugins/commands/powershell/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandPS module Errors diff --git a/plugins/commands/powershell/plugin.rb b/plugins/commands/powershell/plugin.rb index 0bd0e1bd7c8..9cbcd7dc637 100644 --- a/plugins/commands/powershell/plugin.rb +++ b/plugins/commands/powershell/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/powershell/scripts/enable_psremoting.ps1 b/plugins/commands/powershell/scripts/enable_psremoting.ps1 index 7ac11f4dd88..4adf95c69c8 100644 --- a/plugins/commands/powershell/scripts/enable_psremoting.ps1 +++ b/plugins/commands/powershell/scripts/enable_psremoting.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + Param( [string]$hostname, [string]$port, diff --git a/plugins/commands/powershell/scripts/reset_trustedhosts.ps1 b/plugins/commands/powershell/scripts/reset_trustedhosts.ps1 index 5865a4e773a..581b11ebd74 100644 --- a/plugins/commands/powershell/scripts/reset_trustedhosts.ps1 +++ b/plugins/commands/powershell/scripts/reset_trustedhosts.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + Param( [string]$hostname ) diff --git a/plugins/commands/provider/command.rb b/plugins/commands/provider/command.rb index 7fd0ef743bc..9e5ee655e44 100644 --- a/plugins/commands/provider/command.rb +++ b/plugins/commands/provider/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/provider/plugin.rb b/plugins/commands/provider/plugin.rb index 17308886448..a3ca9bc6936 100644 --- a/plugins/commands/provider/plugin.rb +++ b/plugins/commands/provider/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/provision/command.rb b/plugins/commands/provision/command.rb index 0dc5bdf0096..110575bb8c2 100644 --- a/plugins/commands/provision/command.rb +++ b/plugins/commands/provision/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/provision/plugin.rb b/plugins/commands/provision/plugin.rb index ba32dd8833d..88ab000c28f 100644 --- a/plugins/commands/provision/plugin.rb +++ b/plugins/commands/provision/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/push/command.rb b/plugins/commands/push/command.rb index 902a0c94642..2025841edde 100644 --- a/plugins/commands/push/command.rb +++ b/plugins/commands/push/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/push/plugin.rb b/plugins/commands/push/plugin.rb index ecd24dd7a99..327a866a98e 100644 --- a/plugins/commands/push/plugin.rb +++ b/plugins/commands/push/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/rdp/command.rb b/plugins/commands/rdp/command.rb index ea100ff69d4..99c085ba497 100644 --- a/plugins/commands/rdp/command.rb +++ b/plugins/commands/rdp/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "optparse" module VagrantPlugins diff --git a/plugins/commands/rdp/config.rb b/plugins/commands/rdp/config.rb index 720463bd447..f5c624ea7db 100644 --- a/plugins/commands/rdp/config.rb +++ b/plugins/commands/rdp/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandRDP class Config < Vagrant.plugin("2", :config) diff --git a/plugins/commands/rdp/errors.rb b/plugins/commands/rdp/errors.rb index 6147b9fbff3..1cd04991786 100644 --- a/plugins/commands/rdp/errors.rb +++ b/plugins/commands/rdp/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandRDP module Errors diff --git a/plugins/commands/rdp/plugin.rb b/plugins/commands/rdp/plugin.rb index 83e1a023fb3..34c4ddcb1cb 100644 --- a/plugins/commands/rdp/plugin.rb +++ b/plugins/commands/rdp/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/reload/command.rb b/plugins/commands/reload/command.rb index c2968d2af76..78a8e1092d2 100644 --- a/plugins/commands/reload/command.rb +++ b/plugins/commands/reload/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant" diff --git a/plugins/commands/reload/plugin.rb b/plugins/commands/reload/plugin.rb index 8d5e87eaa88..8d9994ec8a0 100644 --- a/plugins/commands/reload/plugin.rb +++ b/plugins/commands/reload/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/resume/command.rb b/plugins/commands/resume/command.rb index 431c18bba9e..12749be5bb2 100644 --- a/plugins/commands/resume/command.rb +++ b/plugins/commands/resume/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require Vagrant.source_root.join("plugins/commands/up/start_mixins") diff --git a/plugins/commands/resume/plugin.rb b/plugins/commands/resume/plugin.rb index 654f04417b7..01e704f31f6 100644 --- a/plugins/commands/resume/plugin.rb +++ b/plugins/commands/resume/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/serve/broker.rb b/plugins/commands/serve/broker.rb index 4b682aa5550..0755e198e83 100644 --- a/plugins/commands/serve/broker.rb +++ b/plugins/commands/serve/broker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "singleton" require "thread" diff --git a/plugins/commands/serve/client.rb b/plugins/commands/serve/client.rb index c8bf5ec41bd..237e4b9ff9c 100644 --- a/plugins/commands/serve/client.rb +++ b/plugins/commands/serve/client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/basis.rb b/plugins/commands/serve/client/basis.rb index 05270f46e95..2ec1715005a 100644 --- a/plugins/commands/serve/client/basis.rb +++ b/plugins/commands/serve/client/basis.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/box.rb b/plugins/commands/serve/client/box.rb index 0b140a50068..d4a054a0425 100644 --- a/plugins/commands/serve/client/box.rb +++ b/plugins/commands/serve/client/box.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/box_collection.rb b/plugins/commands/serve/client/box_collection.rb index 6b1d971af23..73cc03ef4d3 100644 --- a/plugins/commands/serve/client/box_collection.rb +++ b/plugins/commands/serve/client/box_collection.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/box_metadata.rb b/plugins/commands/serve/client/box_metadata.rb index 3df60e57d8e..265c540d6d7 100644 --- a/plugins/commands/serve/client/box_metadata.rb +++ b/plugins/commands/serve/client/box_metadata.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/capability_platform.rb b/plugins/commands/serve/client/capability_platform.rb index fe4f9dbe507..d77a8ec7107 100644 --- a/plugins/commands/serve/client/capability_platform.rb +++ b/plugins/commands/serve/client/capability_platform.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/client/command.rb b/plugins/commands/serve/client/command.rb index c486beeeed4..1b45ebb6b19 100644 --- a/plugins/commands/serve/client/command.rb +++ b/plugins/commands/serve/client/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/communicator.rb b/plugins/commands/serve/client/communicator.rb index e3a26fc46f9..26631571db8 100644 --- a/plugins/commands/serve/client/communicator.rb +++ b/plugins/commands/serve/client/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe diff --git a/plugins/commands/serve/client/core_plugin_manager.rb b/plugins/commands/serve/client/core_plugin_manager.rb index 466be980014..f5b771b6003 100644 --- a/plugins/commands/serve/client/core_plugin_manager.rb +++ b/plugins/commands/serve/client/core_plugin_manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/guest.rb b/plugins/commands/serve/client/guest.rb index e2bbef05784..45722cbeab0 100644 --- a/plugins/commands/serve/client/guest.rb +++ b/plugins/commands/serve/client/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/client/host.rb b/plugins/commands/serve/client/host.rb index 20bb0e83f46..a7776ffcc4a 100644 --- a/plugins/commands/serve/client/host.rb +++ b/plugins/commands/serve/client/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/plugin_manager.rb b/plugins/commands/serve/client/plugin_manager.rb index af3f6843fed..aca25f5e18e 100644 --- a/plugins/commands/serve/client/plugin_manager.rb +++ b/plugins/commands/serve/client/plugin_manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/project.rb b/plugins/commands/serve/client/project.rb index 329776f0113..4718fa38f4e 100644 --- a/plugins/commands/serve/client/project.rb +++ b/plugins/commands/serve/client/project.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/provider.rb b/plugins/commands/serve/client/provider.rb index 49da0965543..feca0664306 100644 --- a/plugins/commands/serve/client/provider.rb +++ b/plugins/commands/serve/client/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/provisioner.rb b/plugins/commands/serve/client/provisioner.rb index 2516ac0458d..4ae5e4557cb 100644 --- a/plugins/commands/serve/client/provisioner.rb +++ b/plugins/commands/serve/client/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/push.rb b/plugins/commands/serve/client/push.rb index e20c77fe2d2..4a1c70e1eb9 100644 --- a/plugins/commands/serve/client/push.rb +++ b/plugins/commands/serve/client/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/state_bag.rb b/plugins/commands/serve/client/state_bag.rb index 39410f5a6f1..2ca82801ff2 100644 --- a/plugins/commands/serve/client/state_bag.rb +++ b/plugins/commands/serve/client/state_bag.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/synced_folder.rb b/plugins/commands/serve/client/synced_folder.rb index 897aae8827d..e173c45ddda 100644 --- a/plugins/commands/serve/client/synced_folder.rb +++ b/plugins/commands/serve/client/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/target.rb b/plugins/commands/serve/client/target.rb index d81297136a2..55dae1c28e6 100644 --- a/plugins/commands/serve/client/target.rb +++ b/plugins/commands/serve/client/target.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "time" module VagrantPlugins diff --git a/plugins/commands/serve/client/target/machine.rb b/plugins/commands/serve/client/target/machine.rb index 843809cda8b..d704f08f747 100644 --- a/plugins/commands/serve/client/target/machine.rb +++ b/plugins/commands/serve/client/target/machine.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/target_index.rb b/plugins/commands/serve/client/target_index.rb index 4e12e9f040c..353461b0672 100644 --- a/plugins/commands/serve/client/target_index.rb +++ b/plugins/commands/serve/client/target_index.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/terminal.rb b/plugins/commands/serve/client/terminal.rb index ea4776fe7e4..aaddeac3242 100644 --- a/plugins/commands/serve/client/terminal.rb +++ b/plugins/commands/serve/client/terminal.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Client diff --git a/plugins/commands/serve/client/vagrantfile.rb b/plugins/commands/serve/client/vagrantfile.rb index 81be57d817c..837118fcd4f 100644 --- a/plugins/commands/serve/client/vagrantfile.rb +++ b/plugins/commands/serve/client/vagrantfile.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'ostruct' module VagrantPlugins diff --git a/plugins/commands/serve/command.rb b/plugins/commands/serve/command.rb index 0692d4f13c0..015df853335 100644 --- a/plugins/commands/serve/command.rb +++ b/plugins/commands/serve/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "optparse" module VagrantPlugins diff --git a/plugins/commands/serve/constants.rb b/plugins/commands/serve/constants.rb index 6d8efd3591a..9fc271b1f2c 100644 --- a/plugins/commands/serve/constants.rb +++ b/plugins/commands/serve/constants.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe # Simple constant aliases to reduce namespace typing diff --git a/plugins/commands/serve/mappers.rb b/plugins/commands/serve/mappers.rb index 7083f665af1..02c0877cd91 100644 --- a/plugins/commands/serve/mappers.rb +++ b/plugins/commands/serve/mappers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/sha2" require "google/protobuf/wrappers_pb" require "google/protobuf/well_known_types" diff --git a/plugins/commands/serve/mappers/basis.rb b/plugins/commands/serve/mappers/basis.rb index c112c563b6e..b3456b97dd2 100644 --- a/plugins/commands/serve/mappers/basis.rb +++ b/plugins/commands/serve/mappers/basis.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/box.rb b/plugins/commands/serve/mappers/box.rb index 1b7ffa5e146..cb3fc0043bb 100644 --- a/plugins/commands/serve/mappers/box.rb +++ b/plugins/commands/serve/mappers/box.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/capabilities.rb b/plugins/commands/serve/mappers/capabilities.rb index 7faaa7fec0c..7d333f21ef3 100644 --- a/plugins/commands/serve/mappers/capabilities.rb +++ b/plugins/commands/serve/mappers/capabilities.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/command.rb b/plugins/commands/serve/mappers/command.rb index efc179905e5..ea341e72863 100644 --- a/plugins/commands/serve/mappers/command.rb +++ b/plugins/commands/serve/mappers/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/communicator.rb b/plugins/commands/serve/mappers/communicator.rb index f86a9158a89..a2b90599aa3 100644 --- a/plugins/commands/serve/mappers/communicator.rb +++ b/plugins/commands/serve/mappers/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/config_data.rb b/plugins/commands/serve/mappers/config_data.rb index 23f586d1216..e3123bfdf5a 100644 --- a/plugins/commands/serve/mappers/config_data.rb +++ b/plugins/commands/serve/mappers/config_data.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/core_plugin_manager.rb b/plugins/commands/serve/mappers/core_plugin_manager.rb index 4c7b5487973..1db2c7a6685 100644 --- a/plugins/commands/serve/mappers/core_plugin_manager.rb +++ b/plugins/commands/serve/mappers/core_plugin_manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/direct.rb b/plugins/commands/serve/mappers/direct.rb index 6ca23d85270..2955579f90e 100644 --- a/plugins/commands/serve/mappers/direct.rb +++ b/plugins/commands/serve/mappers/direct.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pp" require "google/protobuf/well_known_types" require "google/protobuf/wrappers_pb" diff --git a/plugins/commands/serve/mappers/duration.rb b/plugins/commands/serve/mappers/duration.rb index 3ea7060d953..2264f045c54 100644 --- a/plugins/commands/serve/mappers/duration.rb +++ b/plugins/commands/serve/mappers/duration.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/environment.rb b/plugins/commands/serve/mappers/environment.rb index 3f5e1a23743..d0d050a2110 100644 --- a/plugins/commands/serve/mappers/environment.rb +++ b/plugins/commands/serve/mappers/environment.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/folders.rb b/plugins/commands/serve/mappers/folders.rb index b518b4e8f95..43133b8a5e7 100644 --- a/plugins/commands/serve/mappers/folders.rb +++ b/plugins/commands/serve/mappers/folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/guest.rb b/plugins/commands/serve/mappers/guest.rb index 5d5956960e4..56255980a3e 100644 --- a/plugins/commands/serve/mappers/guest.rb +++ b/plugins/commands/serve/mappers/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/host.rb b/plugins/commands/serve/mappers/host.rb index 26274f451b5..815af89eb03 100644 --- a/plugins/commands/serve/mappers/host.rb +++ b/plugins/commands/serve/mappers/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal.rb b/plugins/commands/serve/mappers/internal.rb index fe557d0227d..d658d2a51f5 100644 --- a/plugins/commands/serve/mappers/internal.rb +++ b/plugins/commands/serve/mappers/internal.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph.rb b/plugins/commands/serve/mappers/internal/graph.rb index 632c3379fbe..237565f58d7 100644 --- a/plugins/commands/serve/mappers/internal/graph.rb +++ b/plugins/commands/serve/mappers/internal/graph.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "rgl/adjacency" require "rgl/traversal" require "rgl/dijkstra" diff --git a/plugins/commands/serve/mappers/internal/graph/mappers.rb b/plugins/commands/serve/mappers/internal/graph/mappers.rb index 7ce158cec9c..5ee72c0059f 100644 --- a/plugins/commands/serve/mappers/internal/graph/mappers.rb +++ b/plugins/commands/serve/mappers/internal/graph/mappers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/search.rb b/plugins/commands/serve/mappers/internal/graph/search.rb index 7dd565e7888..e52fc677e4a 100644 --- a/plugins/commands/serve/mappers/internal/graph/search.rb +++ b/plugins/commands/serve/mappers/internal/graph/search.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex.rb b/plugins/commands/serve/mappers/internal/graph/vertex.rb index 5e058c29f06..c8e71deebdc 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/final.rb b/plugins/commands/serve/mappers/internal/graph/vertex/final.rb index 2c1e74ed2f0..d2c0091bd15 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/final.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/final.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/input.rb b/plugins/commands/serve/mappers/internal/graph/vertex/input.rb index 2dd950786a7..688575af501 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/input.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/input.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/method.rb b/plugins/commands/serve/mappers/internal/graph/vertex/method.rb index 70ad9c5be99..1fc07103898 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/method.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/method.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/named_value.rb b/plugins/commands/serve/mappers/internal/graph/vertex/named_value.rb index 6f3e5c13082..9031ff84ddf 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/named_value.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/named_value.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/output.rb b/plugins/commands/serve/mappers/internal/graph/vertex/output.rb index 59450cd46c4..71027e90d6a 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/output.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/output.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/root.rb b/plugins/commands/serve/mappers/internal/graph/vertex/root.rb index 636010eec3d..027e96bfbef 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/root.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/vertex/value.rb b/plugins/commands/serve/mappers/internal/graph/vertex/value.rb index b470f822846..dd81912326f 100644 --- a/plugins/commands/serve/mappers/internal/graph/vertex/value.rb +++ b/plugins/commands/serve/mappers/internal/graph/vertex/value.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/internal/graph/weighted_vertex.rb b/plugins/commands/serve/mappers/internal/graph/weighted_vertex.rb index 65964cf2f49..2e74b93e697 100644 --- a/plugins/commands/serve/mappers/internal/graph/weighted_vertex.rb +++ b/plugins/commands/serve/mappers/internal/graph/weighted_vertex.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "delegate" require "forwardable" diff --git a/plugins/commands/serve/mappers/known_types.rb b/plugins/commands/serve/mappers/known_types.rb index 16ac9e61945..f6a0860883c 100644 --- a/plugins/commands/serve/mappers/known_types.rb +++ b/plugins/commands/serve/mappers/known_types.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/mappers/machine.rb b/plugins/commands/serve/mappers/machine.rb index 52f5b3b6a3b..20b0f883527 100644 --- a/plugins/commands/serve/mappers/machine.rb +++ b/plugins/commands/serve/mappers/machine.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/mapper.rb b/plugins/commands/serve/mappers/mapper.rb index 0b973399ff6..5e17e2afbcb 100644 --- a/plugins/commands/serve/mappers/mapper.rb +++ b/plugins/commands/serve/mappers/mapper.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/options.rb b/plugins/commands/serve/mappers/options.rb index 0dfa32102eb..23c83b833df 100644 --- a/plugins/commands/serve/mappers/options.rb +++ b/plugins/commands/serve/mappers/options.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/pathname.rb b/plugins/commands/serve/mappers/pathname.rb index 7b26b2c1048..2508d3750d3 100644 --- a/plugins/commands/serve/mappers/pathname.rb +++ b/plugins/commands/serve/mappers/pathname.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/plugin_manager.rb b/plugins/commands/serve/mappers/plugin_manager.rb index c727938d9fd..1327c7f3192 100644 --- a/plugins/commands/serve/mappers/plugin_manager.rb +++ b/plugins/commands/serve/mappers/plugin_manager.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/proc.rb b/plugins/commands/serve/mappers/proc.rb index 631ab25484d..f8f2c114f6f 100644 --- a/plugins/commands/serve/mappers/proc.rb +++ b/plugins/commands/serve/mappers/proc.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "singleton" module VagrantPlugins diff --git a/plugins/commands/serve/mappers/project.rb b/plugins/commands/serve/mappers/project.rb index 1afaaf382c6..4a1f429a1cf 100644 --- a/plugins/commands/serve/mappers/project.rb +++ b/plugins/commands/serve/mappers/project.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/provider.rb b/plugins/commands/serve/mappers/provider.rb index 1b683e96b00..ee4009f5004 100644 --- a/plugins/commands/serve/mappers/provider.rb +++ b/plugins/commands/serve/mappers/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/provisioner.rb b/plugins/commands/serve/mappers/provisioner.rb index 5447e2d6913..c8458cd3b1f 100644 --- a/plugins/commands/serve/mappers/provisioner.rb +++ b/plugins/commands/serve/mappers/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/push.rb b/plugins/commands/serve/mappers/push.rb index 545c5c30dc5..fd07ae6dbc1 100644 --- a/plugins/commands/serve/mappers/push.rb +++ b/plugins/commands/serve/mappers/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/state_bag.rb b/plugins/commands/serve/mappers/state_bag.rb index 759d072d150..9a916d53749 100644 --- a/plugins/commands/serve/mappers/state_bag.rb +++ b/plugins/commands/serve/mappers/state_bag.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/synced_folder.rb b/plugins/commands/serve/mappers/synced_folder.rb index 9379cc22907..0e3dc076b5a 100644 --- a/plugins/commands/serve/mappers/synced_folder.rb +++ b/plugins/commands/serve/mappers/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/target.rb b/plugins/commands/serve/mappers/target.rb index 2d9dd1964b0..dfed945c514 100644 --- a/plugins/commands/serve/mappers/target.rb +++ b/plugins/commands/serve/mappers/target.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/target_index.rb b/plugins/commands/serve/mappers/target_index.rb index 51fc1d1a270..c6b711ed003 100644 --- a/plugins/commands/serve/mappers/target_index.rb +++ b/plugins/commands/serve/mappers/target_index.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/terminal.rb b/plugins/commands/serve/mappers/terminal.rb index 15793864c67..4a34062a08f 100644 --- a/plugins/commands/serve/mappers/terminal.rb +++ b/plugins/commands/serve/mappers/terminal.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/ui.rb b/plugins/commands/serve/mappers/ui.rb index 9b9d973516f..145f9c75d09 100644 --- a/plugins/commands/serve/mappers/ui.rb +++ b/plugins/commands/serve/mappers/ui.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/vagrantfile.rb b/plugins/commands/serve/mappers/vagrantfile.rb index 89aa75453f9..dac1e573194 100644 --- a/plugins/commands/serve/mappers/vagrantfile.rb +++ b/plugins/commands/serve/mappers/vagrantfile.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Mappers diff --git a/plugins/commands/serve/mappers/wrappers.rb b/plugins/commands/serve/mappers/wrappers.rb index 24c9fb45a57..f583e0505d1 100644 --- a/plugins/commands/serve/mappers/wrappers.rb +++ b/plugins/commands/serve/mappers/wrappers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/wrappers_pb" module VagrantPlugins diff --git a/plugins/commands/serve/plugin.rb b/plugins/commands/serve/plugin.rb index e12a42d9738..2a8c40dfc6a 100644 --- a/plugins/commands/serve/plugin.rb +++ b/plugins/commands/serve/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/serve/service.rb b/plugins/commands/serve/service.rb index 31fe795f36f..b0e078dc979 100644 --- a/plugins/commands/serve/service.rb +++ b/plugins/commands/serve/service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ostruct" module VagrantPlugins diff --git a/plugins/commands/serve/service/capability_platform_service.rb b/plugins/commands/serve/service/capability_platform_service.rb index c40ec04ebfa..fcdd2362079 100644 --- a/plugins/commands/serve/service/capability_platform_service.rb +++ b/plugins/commands/serve/service/capability_platform_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/service/command_service.rb b/plugins/commands/serve/service/command_service.rb index bffd64af5ce..a812f48dc3c 100644 --- a/plugins/commands/serve/service/command_service.rb +++ b/plugins/commands/serve/service/command_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'google/protobuf/well_known_types' module VagrantPlugins diff --git a/plugins/commands/serve/service/communicator_service.rb b/plugins/commands/serve/service/communicator_service.rb index 3ea407bd41b..fa597fa3169 100644 --- a/plugins/commands/serve/service/communicator_service.rb +++ b/plugins/commands/serve/service/communicator_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/service/config_service.rb b/plugins/commands/serve/service/config_service.rb index 8666dd1537a..d6d7011a5ec 100644 --- a/plugins/commands/serve/service/config_service.rb +++ b/plugins/commands/serve/service/config_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Service diff --git a/plugins/commands/serve/service/guest_service.rb b/plugins/commands/serve/service/guest_service.rb index ded12103b81..633af86b24e 100644 --- a/plugins/commands/serve/service/guest_service.rb +++ b/plugins/commands/serve/service/guest_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/service/host_service.rb b/plugins/commands/serve/service/host_service.rb index 86e7fbb42e2..b62844efce1 100644 --- a/plugins/commands/serve/service/host_service.rb +++ b/plugins/commands/serve/service/host_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "google/protobuf/well_known_types" module VagrantPlugins diff --git a/plugins/commands/serve/service/internal_service.rb b/plugins/commands/serve/service/internal_service.rb index 4b32ddad7fd..5455ff55d17 100644 --- a/plugins/commands/serve/service/internal_service.rb +++ b/plugins/commands/serve/service/internal_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/plugin/v2/plugin" require "vagrant/vagrantfile" require "vagrant/box_collection" diff --git a/plugins/commands/serve/service/provider_service.rb b/plugins/commands/serve/service/provider_service.rb index cf66efe3835..2dcf12d8acb 100644 --- a/plugins/commands/serve/service/provider_service.rb +++ b/plugins/commands/serve/service/provider_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Service diff --git a/plugins/commands/serve/service/provisioner_service.rb b/plugins/commands/serve/service/provisioner_service.rb index 885f77dc6f6..de67a9ae8f8 100644 --- a/plugins/commands/serve/service/provisioner_service.rb +++ b/plugins/commands/serve/service/provisioner_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Service diff --git a/plugins/commands/serve/service/push_service.rb b/plugins/commands/serve/service/push_service.rb index f08bb72d675..6a7d6cff387 100644 --- a/plugins/commands/serve/service/push_service.rb +++ b/plugins/commands/serve/service/push_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Service diff --git a/plugins/commands/serve/service/synced_folder_service.rb b/plugins/commands/serve/service/synced_folder_service.rb index 34ecf05989b..8ea27d4cd2d 100644 --- a/plugins/commands/serve/service/synced_folder_service.rb +++ b/plugins/commands/serve/service/synced_folder_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Service diff --git a/plugins/commands/serve/type.rb b/plugins/commands/serve/type.rb index a80f7792eb4..e33fde0eb5f 100644 --- a/plugins/commands/serve/type.rb +++ b/plugins/commands/serve/type.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/boolean.rb b/plugins/commands/serve/type/boolean.rb index fe7465dcd6b..56be6892cb1 100644 --- a/plugins/commands/serve/type/boolean.rb +++ b/plugins/commands/serve/type/boolean.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/command_arguments.rb b/plugins/commands/serve/type/command_arguments.rb index a4fa4037e51..70f1f62eede 100644 --- a/plugins/commands/serve/type/command_arguments.rb +++ b/plugins/commands/serve/type/command_arguments.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/command_info.rb b/plugins/commands/serve/type/command_info.rb index f153cba02eb..a6c4b399b67 100644 --- a/plugins/commands/serve/type/command_info.rb +++ b/plugins/commands/serve/type/command_info.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/communicator_command_arguments.rb b/plugins/commands/serve/type/communicator_command_arguments.rb index 1cfa0d8ddce..573349ad1b6 100644 --- a/plugins/commands/serve/type/communicator_command_arguments.rb +++ b/plugins/commands/serve/type/communicator_command_arguments.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/direct.rb b/plugins/commands/serve/type/direct.rb index 35c547f1f61..f6c418d53d1 100644 --- a/plugins/commands/serve/type/direct.rb +++ b/plugins/commands/serve/type/direct.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/duration.rb b/plugins/commands/serve/type/duration.rb index c0f936c22b1..b321403e78d 100644 --- a/plugins/commands/serve/type/duration.rb +++ b/plugins/commands/serve/type/duration.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/folders.rb b/plugins/commands/serve/type/folders.rb index 6077e5a030d..a86f2f48109 100644 --- a/plugins/commands/serve/type/folders.rb +++ b/plugins/commands/serve/type/folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/named_argument.rb b/plugins/commands/serve/type/named_argument.rb index 952fbfb91d3..a2c365e4417 100644 --- a/plugins/commands/serve/type/named_argument.rb +++ b/plugins/commands/serve/type/named_argument.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/options.rb b/plugins/commands/serve/type/options.rb index 6b3d035f830..baba023faa2 100644 --- a/plugins/commands/serve/type/options.rb +++ b/plugins/commands/serve/type/options.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #require "ostruct" module VagrantPlugins diff --git a/plugins/commands/serve/type/ssh_info.rb b/plugins/commands/serve/type/ssh_info.rb index 10c5af876dc..e9387ab83f4 100644 --- a/plugins/commands/serve/type/ssh_info.rb +++ b/plugins/commands/serve/type/ssh_info.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/type/winrm_info.rb b/plugins/commands/serve/type/winrm_info.rb index a3c4c66ad89..39fde94c5a0 100644 --- a/plugins/commands/serve/type/winrm_info.rb +++ b/plugins/commands/serve/type/winrm_info.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe class Type diff --git a/plugins/commands/serve/util.rb b/plugins/commands/serve/util.rb index a8f963df771..1b16f826cb9 100644 --- a/plugins/commands/serve/util.rb +++ b/plugins/commands/serve/util.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/cacher.rb b/plugins/commands/serve/util/cacher.rb index fc07c2e1bb9..2e36ba961f3 100644 --- a/plugins/commands/serve/util/cacher.rb +++ b/plugins/commands/serve/util/cacher.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/client_setup.rb b/plugins/commands/serve/util/client_setup.rb index 30e6e4cc051..34153cd93a4 100644 --- a/plugins/commands/serve/util/client_setup.rb +++ b/plugins/commands/serve/util/client_setup.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/connector.rb b/plugins/commands/serve/util/connector.rb index 11763632bf7..61eeecda768 100644 --- a/plugins/commands/serve/util/connector.rb +++ b/plugins/commands/serve/util/connector.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/direct_conversions.rb b/plugins/commands/serve/util/direct_conversions.rb index 9dd9fb7c23c..974883369a7 100644 --- a/plugins/commands/serve/util/direct_conversions.rb +++ b/plugins/commands/serve/util/direct_conversions.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Patch things to produce proto messages require "pathname" require "securerandom" diff --git a/plugins/commands/serve/util/exception_transformer.rb b/plugins/commands/serve/util/exception_transformer.rb index bf5c61239ac..206988998a7 100644 --- a/plugins/commands/serve/util/exception_transformer.rb +++ b/plugins/commands/serve/util/exception_transformer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'google/protobuf/well_known_types' require 'google/rpc/error_details_pb' diff --git a/plugins/commands/serve/util/func_spec.rb b/plugins/commands/serve/util/func_spec.rb index 9e5f032e5a4..90bed6f403e 100644 --- a/plugins/commands/serve/util/func_spec.rb +++ b/plugins/commands/serve/util/func_spec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/has_broker.rb b/plugins/commands/serve/util/has_broker.rb index 7432716fe8c..9255da7617e 100644 --- a/plugins/commands/serve/util/has_broker.rb +++ b/plugins/commands/serve/util/has_broker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/has_logger.rb b/plugins/commands/serve/util/has_logger.rb index 8737d921043..b3d530f819b 100644 --- a/plugins/commands/serve/util/has_logger.rb +++ b/plugins/commands/serve/util/has_logger.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/has_mapper.rb b/plugins/commands/serve/util/has_mapper.rb index ba8c3361d85..adacae1a4d2 100644 --- a/plugins/commands/serve/util/has_mapper.rb +++ b/plugins/commands/serve/util/has_mapper.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/has_seeds.rb b/plugins/commands/serve/util/has_seeds.rb index ba39b5b4a95..8e24b965d09 100644 --- a/plugins/commands/serve/util/has_seeds.rb +++ b/plugins/commands/serve/util/has_seeds.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/named_plugin.rb b/plugins/commands/serve/util/named_plugin.rb index 4e23d087169..fbb72e10218 100644 --- a/plugins/commands/serve/util/named_plugin.rb +++ b/plugins/commands/serve/util/named_plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/service_info.rb b/plugins/commands/serve/util/service_info.rb index 33086205e87..b397cddfbb0 100644 --- a/plugins/commands/serve/util/service_info.rb +++ b/plugins/commands/serve/util/service_info.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommandServe module Util diff --git a/plugins/commands/serve/util/usage_tracker.rb b/plugins/commands/serve/util/usage_tracker.rb index 5b543d2926d..beb9bbf9a0c 100644 --- a/plugins/commands/serve/util/usage_tracker.rb +++ b/plugins/commands/serve/util/usage_tracker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "mutex_m" module VagrantPlugins diff --git a/plugins/commands/snapshot/command/delete.rb b/plugins/commands/snapshot/command/delete.rb index aa822b28d40..92b8a0ad019 100644 --- a/plugins/commands/snapshot/command/delete.rb +++ b/plugins/commands/snapshot/command/delete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/snapshot/command/list.rb b/plugins/commands/snapshot/command/list.rb index 32f5dcb0f01..18ea23e8ed1 100644 --- a/plugins/commands/snapshot/command/list.rb +++ b/plugins/commands/snapshot/command/list.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/snapshot/command/pop.rb b/plugins/commands/snapshot/command/pop.rb index ef185ee95de..ae372182c0c 100644 --- a/plugins/commands/snapshot/command/pop.rb +++ b/plugins/commands/snapshot/command/pop.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'json' require 'optparse' diff --git a/plugins/commands/snapshot/command/push.rb b/plugins/commands/snapshot/command/push.rb index c1168bcf293..86fdc42e904 100644 --- a/plugins/commands/snapshot/command/push.rb +++ b/plugins/commands/snapshot/command/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'json' require 'optparse' diff --git a/plugins/commands/snapshot/command/push_shared.rb b/plugins/commands/snapshot/command/push_shared.rb index 8a6368551f8..99752e63f04 100644 --- a/plugins/commands/snapshot/command/push_shared.rb +++ b/plugins/commands/snapshot/command/push_shared.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'json' module VagrantPlugins diff --git a/plugins/commands/snapshot/command/restore.rb b/plugins/commands/snapshot/command/restore.rb index 0788212bf3d..790066b1623 100644 --- a/plugins/commands/snapshot/command/restore.rb +++ b/plugins/commands/snapshot/command/restore.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require 'vagrant' diff --git a/plugins/commands/snapshot/command/root.rb b/plugins/commands/snapshot/command/root.rb index ec3751a355c..92a7b5320fd 100644 --- a/plugins/commands/snapshot/command/root.rb +++ b/plugins/commands/snapshot/command/root.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/snapshot/command/save.rb b/plugins/commands/snapshot/command/save.rb index bd4e56c6830..02d62630c42 100644 --- a/plugins/commands/snapshot/command/save.rb +++ b/plugins/commands/snapshot/command/save.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/snapshot/plugin.rb b/plugins/commands/snapshot/plugin.rb index 5b2af81df4f..b361d8230b5 100644 --- a/plugins/commands/snapshot/plugin.rb +++ b/plugins/commands/snapshot/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/ssh/command.rb b/plugins/commands/ssh/command.rb index 1e153d2be27..f7fe5568313 100644 --- a/plugins/commands/ssh/command.rb +++ b/plugins/commands/ssh/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/ssh/plugin.rb b/plugins/commands/ssh/plugin.rb index 78f5178a9f6..524d7aea72f 100644 --- a/plugins/commands/ssh/plugin.rb +++ b/plugins/commands/ssh/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/ssh_config/command.rb b/plugins/commands/ssh_config/command.rb index 4e350ecf132..04ccede0472 100644 --- a/plugins/commands/ssh_config/command.rb +++ b/plugins/commands/ssh_config/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant/util/safe_puts" diff --git a/plugins/commands/ssh_config/plugin.rb b/plugins/commands/ssh_config/plugin.rb index cfbeab0f837..f753eb282e2 100644 --- a/plugins/commands/ssh_config/plugin.rb +++ b/plugins/commands/ssh_config/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/status/command.rb b/plugins/commands/status/command.rb index 7b3229b003f..7dcd24a658f 100644 --- a/plugins/commands/status/command.rb +++ b/plugins/commands/status/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/status/plugin.rb b/plugins/commands/status/plugin.rb index 66f9c0dcade..cf6a31fd1cb 100644 --- a/plugins/commands/status/plugin.rb +++ b/plugins/commands/status/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/suspend/command.rb b/plugins/commands/suspend/command.rb index 5195379680f..4fcf1e1cd5a 100644 --- a/plugins/commands/suspend/command.rb +++ b/plugins/commands/suspend/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/suspend/plugin.rb b/plugins/commands/suspend/plugin.rb index d4a64f81840..54cc72648e8 100644 --- a/plugins/commands/suspend/plugin.rb +++ b/plugins/commands/suspend/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/up/command.rb b/plugins/commands/up/command.rb index 78f7573022a..5fa98585b4c 100644 --- a/plugins/commands/up/command.rb +++ b/plugins/commands/up/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require 'set' diff --git a/plugins/commands/up/middleware/store_box_metadata.rb b/plugins/commands/up/middleware/store_box_metadata.rb index f3520c4a75f..71254b76857 100644 --- a/plugins/commands/up/middleware/store_box_metadata.rb +++ b/plugins/commands/up/middleware/store_box_metadata.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" module VagrantPlugins diff --git a/plugins/commands/up/plugin.rb b/plugins/commands/up/plugin.rb index 34df73f9245..a343354a957 100644 --- a/plugins/commands/up/plugin.rb +++ b/plugins/commands/up/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/up/start_mixins.rb b/plugins/commands/up/start_mixins.rb index bb397346cab..a313f7403f1 100644 --- a/plugins/commands/up/start_mixins.rb +++ b/plugins/commands/up/start_mixins.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" module VagrantPlugins diff --git a/plugins/commands/upload/command.rb b/plugins/commands/upload/command.rb index 6bf3e92bfce..4fd9408ec96 100644 --- a/plugins/commands/upload/command.rb +++ b/plugins/commands/upload/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "rubygems/package" diff --git a/plugins/commands/upload/plugin.rb b/plugins/commands/upload/plugin.rb index ec1c648040b..628797b7b02 100644 --- a/plugins/commands/upload/plugin.rb +++ b/plugins/commands/upload/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/validate/command.rb b/plugins/commands/validate/command.rb index a68deb87aa9..a6a6ac4ae84 100644 --- a/plugins/commands/validate/command.rb +++ b/plugins/commands/validate/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' module VagrantPlugins diff --git a/plugins/commands/validate/plugin.rb b/plugins/commands/validate/plugin.rb index 31a558b77d4..b539f2d9929 100644 --- a/plugins/commands/validate/plugin.rb +++ b/plugins/commands/validate/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/version/command.rb b/plugins/commands/version/command.rb index 95c818b489e..b1c46dc157c 100644 --- a/plugins/commands/version/command.rb +++ b/plugins/commands/version/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "optparse" module VagrantPlugins diff --git a/plugins/commands/version/plugin.rb b/plugins/commands/version/plugin.rb index a5498bb8684..e5b84fdf808 100644 --- a/plugins/commands/version/plugin.rb +++ b/plugins/commands/version/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/winrm/command.rb b/plugins/commands/winrm/command.rb index dd19109dbab..e1a66bfb83b 100644 --- a/plugins/commands/winrm/command.rb +++ b/plugins/commands/winrm/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant/util/safe_puts" diff --git a/plugins/commands/winrm/plugin.rb b/plugins/commands/winrm/plugin.rb index 5a578ff4f8d..abc261d4957 100644 --- a/plugins/commands/winrm/plugin.rb +++ b/plugins/commands/winrm/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/commands/winrm_config/command.rb b/plugins/commands/winrm_config/command.rb index 995eccf552a..2273f9b2695 100644 --- a/plugins/commands/winrm_config/command.rb +++ b/plugins/commands/winrm_config/command.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant/util/safe_puts" require_relative "../../communicators/winrm/helper" diff --git a/plugins/commands/winrm_config/plugin.rb b/plugins/commands/winrm_config/plugin.rb index 2b0b8e37e6c..7db79959f96 100644 --- a/plugins/commands/winrm_config/plugin.rb +++ b/plugins/commands/winrm_config/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/communicators/ssh/communicator.rb b/plugins/communicators/ssh/communicator.rb index e8667165186..50aaef31f14 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'etc' require 'logger' require 'pathname' diff --git a/plugins/communicators/ssh/plugin.rb b/plugins/communicators/ssh/plugin.rb index 47719590bf0..63bfd2e0cf9 100644 --- a/plugins/communicators/ssh/plugin.rb +++ b/plugins/communicators/ssh/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/communicators/winrm/command_filter.rb b/plugins/communicators/winrm/command_filter.rb index 66a8b1d473b..1acfb4a681b 100644 --- a/plugins/communicators/winrm/command_filter.rb +++ b/plugins/communicators/winrm/command_filter.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM # Handles loading and applying all available WinRM command filters diff --git a/plugins/communicators/winrm/command_filters/cat.rb b/plugins/communicators/winrm/command_filters/cat.rb index c32e408e28a..f68277d08dc 100644 --- a/plugins/communicators/winrm/command_filters/cat.rb +++ b/plugins/communicators/winrm/command_filters/cat.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM module CommandFilters diff --git a/plugins/communicators/winrm/command_filters/chmod.rb b/plugins/communicators/winrm/command_filters/chmod.rb index 842e636c2ee..575155de821 100644 --- a/plugins/communicators/winrm/command_filters/chmod.rb +++ b/plugins/communicators/winrm/command_filters/chmod.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM module CommandFilters diff --git a/plugins/communicators/winrm/command_filters/chown.rb b/plugins/communicators/winrm/command_filters/chown.rb index 77d34bf1023..1bccf26339b 100644 --- a/plugins/communicators/winrm/command_filters/chown.rb +++ b/plugins/communicators/winrm/command_filters/chown.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM module CommandFilters diff --git a/plugins/communicators/winrm/command_filters/grep.rb b/plugins/communicators/winrm/command_filters/grep.rb index ad091d9f368..6c648f18612 100644 --- a/plugins/communicators/winrm/command_filters/grep.rb +++ b/plugins/communicators/winrm/command_filters/grep.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM module CommandFilters diff --git a/plugins/communicators/winrm/command_filters/mkdir.rb b/plugins/communicators/winrm/command_filters/mkdir.rb index d14ccbc2325..0fb1072adca 100644 --- a/plugins/communicators/winrm/command_filters/mkdir.rb +++ b/plugins/communicators/winrm/command_filters/mkdir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" module VagrantPlugins diff --git a/plugins/communicators/winrm/command_filters/rm.rb b/plugins/communicators/winrm/command_filters/rm.rb index 755a4889691..2e1fe5eb73f 100644 --- a/plugins/communicators/winrm/command_filters/rm.rb +++ b/plugins/communicators/winrm/command_filters/rm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" module VagrantPlugins diff --git a/plugins/communicators/winrm/command_filters/test.rb b/plugins/communicators/winrm/command_filters/test.rb index 58b7fbf0d43..3229c4cc178 100644 --- a/plugins/communicators/winrm/command_filters/test.rb +++ b/plugins/communicators/winrm/command_filters/test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" module VagrantPlugins diff --git a/plugins/communicators/winrm/command_filters/uname.rb b/plugins/communicators/winrm/command_filters/uname.rb index b661accd073..6cbcf97cb73 100644 --- a/plugins/communicators/winrm/command_filters/uname.rb +++ b/plugins/communicators/winrm/command_filters/uname.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM module CommandFilters diff --git a/plugins/communicators/winrm/command_filters/which.rb b/plugins/communicators/winrm/command_filters/which.rb index 1d7a12bdcce..4a70092adf6 100644 --- a/plugins/communicators/winrm/command_filters/which.rb +++ b/plugins/communicators/winrm/command_filters/which.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" module VagrantPlugins diff --git a/plugins/communicators/winrm/communicator.rb b/plugins/communicators/winrm/communicator.rb index 4c1fa875807..11efc29f984 100644 --- a/plugins/communicators/winrm/communicator.rb +++ b/plugins/communicators/winrm/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "tempfile" require "timeout" diff --git a/plugins/communicators/winrm/config.rb b/plugins/communicators/winrm/config.rb index 723b8dc86d3..5f332bb47f3 100644 --- a/plugins/communicators/winrm/config.rb +++ b/plugins/communicators/winrm/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM class Config < Vagrant.plugin("2", :config) diff --git a/plugins/communicators/winrm/errors.rb b/plugins/communicators/winrm/errors.rb index 6a5df1be1ed..6a1b8804d70 100644 --- a/plugins/communicators/winrm/errors.rb +++ b/plugins/communicators/winrm/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM module Errors diff --git a/plugins/communicators/winrm/helper.rb b/plugins/communicators/winrm/helper.rb index f1fe8a4d082..de8cb3f52ec 100644 --- a/plugins/communicators/winrm/helper.rb +++ b/plugins/communicators/winrm/helper.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CommunicatorWinRM # This is a helper module that provides some functions to the diff --git a/plugins/communicators/winrm/plugin.rb b/plugins/communicators/winrm/plugin.rb index 5e69cb03ad3..b68d3fe158c 100644 --- a/plugins/communicators/winrm/plugin.rb +++ b/plugins/communicators/winrm/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/communicators/winrm/shell.rb b/plugins/communicators/winrm/shell.rb index 9b0cf66d121..65727b581a1 100644 --- a/plugins/communicators/winrm/shell.rb +++ b/plugins/communicators/winrm/shell.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "timeout" require "log4r" diff --git a/plugins/communicators/winssh/communicator.rb b/plugins/communicators/winssh/communicator.rb index 3ea012f6185..75a8794d88d 100644 --- a/plugins/communicators/winssh/communicator.rb +++ b/plugins/communicators/winssh/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../ssh/communicator", __FILE__) require 'net/sftp' diff --git a/plugins/communicators/winssh/config.rb b/plugins/communicators/winssh/config.rb index 3b3f034e53c..f5982735395 100644 --- a/plugins/communicators/winssh/config.rb +++ b/plugins/communicators/winssh/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../kernel_v2/config/ssh", __FILE__) module VagrantPlugins diff --git a/plugins/communicators/winssh/plugin.rb b/plugins/communicators/winssh/plugin.rb index 6fd4d023da7..7fc2d5cbeb0 100644 --- a/plugins/communicators/winssh/plugin.rb +++ b/plugins/communicators/winssh/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/alma/cap/flavor.rb b/plugins/guests/alma/cap/flavor.rb index 89d519e6080..44b9e46e4a2 100644 --- a/plugins/guests/alma/cap/flavor.rb +++ b/plugins/guests/alma/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAlma module Cap diff --git a/plugins/guests/alma/guest.rb b/plugins/guests/alma/guest.rb index 557047ab02d..d44152f17f7 100644 --- a/plugins/guests/alma/guest.rb +++ b/plugins/guests/alma/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../linux/guest" module VagrantPlugins diff --git a/plugins/guests/alma/plugin.rb b/plugins/guests/alma/plugin.rb index 5f4d3bbbbfc..e913deb2d65 100644 --- a/plugins/guests/alma/plugin.rb +++ b/plugins/guests/alma/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/alpine/cap/change_host_name.rb b/plugins/guests/alpine/cap/change_host_name.rb index e139caaa417..16c441529dd 100644 --- a/plugins/guests/alpine/cap/change_host_name.rb +++ b/plugins/guests/alpine/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' module VagrantPlugins diff --git a/plugins/guests/alpine/cap/configure_networks.rb b/plugins/guests/alpine/cap/configure_networks.rb index 83b72e7d9a2..e4e2a7f2c23 100644 --- a/plugins/guests/alpine/cap/configure_networks.rb +++ b/plugins/guests/alpine/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # rubocop:disable Metrics/MethodLength # rubocop:disable Metrics/AbcSize # rubocop:disable Style/BracesAroundHashParameters diff --git a/plugins/guests/alpine/cap/halt.rb b/plugins/guests/alpine/cap/halt.rb index 550c154523e..d8a3e34f3f5 100644 --- a/plugins/guests/alpine/cap/halt.rb +++ b/plugins/guests/alpine/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # rubocop:disable Style/RedundantBegin # rubocop:disable Lint/HandleExceptions # diff --git a/plugins/guests/alpine/cap/nfs_client.rb b/plugins/guests/alpine/cap/nfs_client.rb index b9d80313454..0811d215cd5 100644 --- a/plugins/guests/alpine/cap/nfs_client.rb +++ b/plugins/guests/alpine/cap/nfs_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAlpine module Cap diff --git a/plugins/guests/alpine/cap/rsync.rb b/plugins/guests/alpine/cap/rsync.rb index ba61a4fcc44..cc740f1027f 100644 --- a/plugins/guests/alpine/cap/rsync.rb +++ b/plugins/guests/alpine/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAlpine module Cap diff --git a/plugins/guests/alpine/cap/smb.rb b/plugins/guests/alpine/cap/smb.rb index 55e52394c6d..7013949e0cf 100644 --- a/plugins/guests/alpine/cap/smb.rb +++ b/plugins/guests/alpine/cap/smb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAlpine module Cap diff --git a/plugins/guests/alpine/guest.rb b/plugins/guests/alpine/guest.rb index e0330f91647..a7cf1407df7 100644 --- a/plugins/guests/alpine/guest.rb +++ b/plugins/guests/alpine/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant' module VagrantPlugins diff --git a/plugins/guests/alpine/plugin.rb b/plugins/guests/alpine/plugin.rb index 2597004ffe0..e5c8e423ab5 100644 --- a/plugins/guests/alpine/plugin.rb +++ b/plugins/guests/alpine/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant' module VagrantPlugins diff --git a/plugins/guests/alt/cap/change_host_name.rb b/plugins/guests/alt/cap/change_host_name.rb index 5e3ce51e3f2..826d981758b 100644 --- a/plugins/guests/alt/cap/change_host_name.rb +++ b/plugins/guests/alt/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/alt/cap/configure_networks.rb b/plugins/guests/alt/cap/configure_networks.rb index e9f64a940e1..b3d0877cddd 100644 --- a/plugins/guests/alt/cap/configure_networks.rb +++ b/plugins/guests/alt/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/alt/cap/flavor.rb b/plugins/guests/alt/cap/flavor.rb index 9cbff908c1b..c7b08e3c16a 100644 --- a/plugins/guests/alt/cap/flavor.rb +++ b/plugins/guests/alt/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestALT module Cap diff --git a/plugins/guests/alt/cap/network_scripts_dir.rb b/plugins/guests/alt/cap/network_scripts_dir.rb index 1a867c4e9d4..1f8bada26c6 100644 --- a/plugins/guests/alt/cap/network_scripts_dir.rb +++ b/plugins/guests/alt/cap/network_scripts_dir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestALT module Cap diff --git a/plugins/guests/alt/cap/rsync.rb b/plugins/guests/alt/cap/rsync.rb index 9983151429d..34e78a14cd9 100644 --- a/plugins/guests/alt/cap/rsync.rb +++ b/plugins/guests/alt/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestALT module Cap diff --git a/plugins/guests/alt/guest.rb b/plugins/guests/alt/guest.rb index 08525d5e60d..1351d4247f9 100644 --- a/plugins/guests/alt/guest.rb +++ b/plugins/guests/alt/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestALT class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/alt/plugin.rb b/plugins/guests/alt/plugin.rb index d6375f5eab9..cb6b957003a 100644 --- a/plugins/guests/alt/plugin.rb +++ b/plugins/guests/alt/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/amazon/cap/flavor.rb b/plugins/guests/amazon/cap/flavor.rb index 1f141f8c6e3..beb6a009d75 100644 --- a/plugins/guests/amazon/cap/flavor.rb +++ b/plugins/guests/amazon/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAmazon module Cap diff --git a/plugins/guests/amazon/guest.rb b/plugins/guests/amazon/guest.rb index 92ea236b857..8afb6cf7ea0 100644 --- a/plugins/guests/amazon/guest.rb +++ b/plugins/guests/amazon/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAmazon class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/amazon/plugin.rb b/plugins/guests/amazon/plugin.rb index 92e0900875d..0eeb695e52a 100644 --- a/plugins/guests/amazon/plugin.rb +++ b/plugins/guests/amazon/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/arch/cap/change_host_name.rb b/plugins/guests/arch/cap/change_host_name.rb index c01500df2d8..0407adf4f11 100644 --- a/plugins/guests/arch/cap/change_host_name.rb +++ b/plugins/guests/arch/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/arch/cap/configure_networks.rb b/plugins/guests/arch/cap/configure_networks.rb index 79f14213a47..3af782791fe 100644 --- a/plugins/guests/arch/cap/configure_networks.rb +++ b/plugins/guests/arch/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" require "socket" require "tempfile" diff --git a/plugins/guests/arch/cap/nfs.rb b/plugins/guests/arch/cap/nfs.rb index 5ac5dfe679f..cc7e814d6c2 100644 --- a/plugins/guests/arch/cap/nfs.rb +++ b/plugins/guests/arch/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestArch module Cap diff --git a/plugins/guests/arch/cap/rsync.rb b/plugins/guests/arch/cap/rsync.rb index 991a19478b7..c1cd4e52e39 100644 --- a/plugins/guests/arch/cap/rsync.rb +++ b/plugins/guests/arch/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestArch module Cap diff --git a/plugins/guests/arch/cap/smb.rb b/plugins/guests/arch/cap/smb.rb index 9283a86161d..423d34b6c10 100644 --- a/plugins/guests/arch/cap/smb.rb +++ b/plugins/guests/arch/cap/smb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestArch module Cap diff --git a/plugins/guests/arch/guest.rb b/plugins/guests/arch/guest.rb index 116484fd878..0b0a2df8b0c 100644 --- a/plugins/guests/arch/guest.rb +++ b/plugins/guests/arch/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/arch/plugin.rb b/plugins/guests/arch/plugin.rb index d35bb84f31f..91246f70321 100644 --- a/plugins/guests/arch/plugin.rb +++ b/plugins/guests/arch/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/atomic/cap/change_host_name.rb b/plugins/guests/atomic/cap/change_host_name.rb index 054db5ad68e..78f4a2171fd 100644 --- a/plugins/guests/atomic/cap/change_host_name.rb +++ b/plugins/guests/atomic/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/atomic/cap/docker.rb b/plugins/guests/atomic/cap/docker.rb index 55052c8a779..9f84705a316 100644 --- a/plugins/guests/atomic/cap/docker.rb +++ b/plugins/guests/atomic/cap/docker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestAtomic module Cap diff --git a/plugins/guests/atomic/guest.rb b/plugins/guests/atomic/guest.rb index 433a08274aa..c3c19f80771 100644 --- a/plugins/guests/atomic/guest.rb +++ b/plugins/guests/atomic/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/atomic/plugin.rb b/plugins/guests/atomic/plugin.rb index ba40183a359..67930809d70 100644 --- a/plugins/guests/atomic/plugin.rb +++ b/plugins/guests/atomic/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/bsd/cap/file_system.rb b/plugins/guests/bsd/cap/file_system.rb index c14f7b376b6..0240a5c846c 100644 --- a/plugins/guests/bsd/cap/file_system.rb +++ b/plugins/guests/bsd/cap/file_system.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestBSD module Cap diff --git a/plugins/guests/bsd/cap/halt.rb b/plugins/guests/bsd/cap/halt.rb index 25fa3ef38b7..a6a23cd94e6 100644 --- a/plugins/guests/bsd/cap/halt.rb +++ b/plugins/guests/bsd/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestBSD module Cap diff --git a/plugins/guests/bsd/cap/mount_virtualbox_shared_folder.rb b/plugins/guests/bsd/cap/mount_virtualbox_shared_folder.rb index 83bb26699ed..ac51b779a9b 100644 --- a/plugins/guests/bsd/cap/mount_virtualbox_shared_folder.rb +++ b/plugins/guests/bsd/cap/mount_virtualbox_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestBSD module Cap diff --git a/plugins/guests/bsd/cap/nfs.rb b/plugins/guests/bsd/cap/nfs.rb index 458ebcfbeef..b8f7291513a 100644 --- a/plugins/guests/bsd/cap/nfs.rb +++ b/plugins/guests/bsd/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" require "vagrant/util/retryable" diff --git a/plugins/guests/bsd/cap/public_key.rb b/plugins/guests/bsd/cap/public_key.rb index 4f25aa967ea..06b1b715a2d 100644 --- a/plugins/guests/bsd/cap/public_key.rb +++ b/plugins/guests/bsd/cap/public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "vagrant/util/shell_quote" diff --git a/plugins/guests/bsd/guest.rb b/plugins/guests/bsd/guest.rb index e1391601c90..c048ee6a86c 100644 --- a/plugins/guests/bsd/guest.rb +++ b/plugins/guests/bsd/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestBSD class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/bsd/plugin.rb b/plugins/guests/bsd/plugin.rb index 9bd2ae7a324..795ea2d638b 100644 --- a/plugins/guests/bsd/plugin.rb +++ b/plugins/guests/bsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/centos/cap/flavor.rb b/plugins/guests/centos/cap/flavor.rb index 101690be89f..14507cbb6e0 100644 --- a/plugins/guests/centos/cap/flavor.rb +++ b/plugins/guests/centos/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestCentos module Cap diff --git a/plugins/guests/centos/guest.rb b/plugins/guests/centos/guest.rb index 997d334cbed..61f586d2a7b 100644 --- a/plugins/guests/centos/guest.rb +++ b/plugins/guests/centos/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require_relative '../linux/guest' diff --git a/plugins/guests/centos/plugin.rb b/plugins/guests/centos/plugin.rb index fc07dafd613..06b41b2b8d4 100644 --- a/plugins/guests/centos/plugin.rb +++ b/plugins/guests/centos/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/coreos/cap/change_host_name.rb b/plugins/guests/coreos/cap/change_host_name.rb index f43d604c8d8..d436084159e 100644 --- a/plugins/guests/coreos/cap/change_host_name.rb +++ b/plugins/guests/coreos/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "yaml" diff --git a/plugins/guests/coreos/cap/configure_networks.rb b/plugins/guests/coreos/cap/configure_networks.rb index 5ccd23e8082..305e475657d 100644 --- a/plugins/guests/coreos/cap/configure_networks.rb +++ b/plugins/guests/coreos/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "yaml" diff --git a/plugins/guests/coreos/cap/docker.rb b/plugins/guests/coreos/cap/docker.rb index ba2d76b0808..bb389cd6a6e 100644 --- a/plugins/guests/coreos/cap/docker.rb +++ b/plugins/guests/coreos/cap/docker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestCoreOS module Cap diff --git a/plugins/guests/coreos/guest.rb b/plugins/guests/coreos/guest.rb index c38ed047828..882973a4a36 100644 --- a/plugins/guests/coreos/guest.rb +++ b/plugins/guests/coreos/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/coreos/plugin.rb b/plugins/guests/coreos/plugin.rb index 9ac64915c73..891dc79323f 100644 --- a/plugins/guests/coreos/plugin.rb +++ b/plugins/guests/coreos/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/darwin/cap/change_host_name.rb b/plugins/guests/darwin/cap/change_host_name.rb index 37d549570ac..caafd4fb042 100644 --- a/plugins/guests/darwin/cap/change_host_name.rb +++ b/plugins/guests/darwin/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' module VagrantPlugins diff --git a/plugins/guests/darwin/cap/choose_addressable_ip_addr.rb b/plugins/guests/darwin/cap/choose_addressable_ip_addr.rb index d7327d6f7fe..b8566f1dc63 100644 --- a/plugins/guests/darwin/cap/choose_addressable_ip_addr.rb +++ b/plugins/guests/darwin/cap/choose_addressable_ip_addr.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDarwin module Cap diff --git a/plugins/guests/darwin/cap/configure_networks.rb b/plugins/guests/darwin/cap/configure_networks.rb index 36487cd08a0..47ea2fb6506 100644 --- a/plugins/guests/darwin/cap/configure_networks.rb +++ b/plugins/guests/darwin/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "vagrant/util/template_renderer" diff --git a/plugins/guests/darwin/cap/darwin_version.rb b/plugins/guests/darwin/cap/darwin_version.rb index 5168c6f55c9..90e36635d94 100644 --- a/plugins/guests/darwin/cap/darwin_version.rb +++ b/plugins/guests/darwin/cap/darwin_version.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDarwin module Cap diff --git a/plugins/guests/darwin/cap/halt.rb b/plugins/guests/darwin/cap/halt.rb index 7e381e21dcd..0393222f601 100644 --- a/plugins/guests/darwin/cap/halt.rb +++ b/plugins/guests/darwin/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDarwin module Cap diff --git a/plugins/guests/darwin/cap/mount_smb_shared_folder.rb b/plugins/guests/darwin/cap/mount_smb_shared_folder.rb index 95c1ff15f42..fd2636afe2a 100644 --- a/plugins/guests/darwin/cap/mount_smb_shared_folder.rb +++ b/plugins/guests/darwin/cap/mount_smb_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/retryable" require "shellwords" diff --git a/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb b/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb index d4c6e24132f..5e0d4b2a04b 100644 --- a/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb +++ b/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "securerandom" module VagrantPlugins diff --git a/plugins/guests/darwin/cap/rsync.rb b/plugins/guests/darwin/cap/rsync.rb index 6ab88a8986d..895703af8f4 100644 --- a/plugins/guests/darwin/cap/rsync.rb +++ b/plugins/guests/darwin/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/darwin/cap/shell_expand_guest_path.rb b/plugins/guests/darwin/cap/shell_expand_guest_path.rb index f4c89291182..8a8c4caa359 100644 --- a/plugins/guests/darwin/cap/shell_expand_guest_path.rb +++ b/plugins/guests/darwin/cap/shell_expand_guest_path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDarwin module Cap diff --git a/plugins/guests/darwin/cap/verify_vmware_hgfs.rb b/plugins/guests/darwin/cap/verify_vmware_hgfs.rb index e49bd124c4f..9e6819c5815 100644 --- a/plugins/guests/darwin/cap/verify_vmware_hgfs.rb +++ b/plugins/guests/darwin/cap/verify_vmware_hgfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDarwin module Cap diff --git a/plugins/guests/darwin/guest.rb b/plugins/guests/darwin/guest.rb index 22af43aee69..5d1784c8456 100644 --- a/plugins/guests/darwin/guest.rb +++ b/plugins/guests/darwin/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/darwin/plugin.rb b/plugins/guests/darwin/plugin.rb index d61a2d89028..360cb4ac452 100644 --- a/plugins/guests/darwin/plugin.rb +++ b/plugins/guests/darwin/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/debian/cap/change_host_name.rb b/plugins/guests/debian/cap/change_host_name.rb index 5c8f1de69a3..dc36de944eb 100644 --- a/plugins/guests/debian/cap/change_host_name.rb +++ b/plugins/guests/debian/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require 'vagrant/util/guest_hosts' require 'vagrant/util/guest_inspection' diff --git a/plugins/guests/debian/cap/configure_networks.rb b/plugins/guests/debian/cap/configure_networks.rb index bb1ff69f987..ca437b8a9f5 100644 --- a/plugins/guests/debian/cap/configure_networks.rb +++ b/plugins/guests/debian/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/debian/cap/nfs.rb b/plugins/guests/debian/cap/nfs.rb index de9da66678d..b075c1e16ca 100644 --- a/plugins/guests/debian/cap/nfs.rb +++ b/plugins/guests/debian/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDebian module Cap diff --git a/plugins/guests/debian/cap/rsync.rb b/plugins/guests/debian/cap/rsync.rb index 6fca5d4f1cf..da062bc67b4 100644 --- a/plugins/guests/debian/cap/rsync.rb +++ b/plugins/guests/debian/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDebian module Cap diff --git a/plugins/guests/debian/cap/smb.rb b/plugins/guests/debian/cap/smb.rb index e1f3b700066..b626c3c32f1 100644 --- a/plugins/guests/debian/cap/smb.rb +++ b/plugins/guests/debian/cap/smb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDebian module Cap diff --git a/plugins/guests/debian/guest.rb b/plugins/guests/debian/guest.rb index 9fb54c670b2..b440e0da8f2 100644 --- a/plugins/guests/debian/guest.rb +++ b/plugins/guests/debian/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../linux/guest' module VagrantPlugins diff --git a/plugins/guests/debian/plugin.rb b/plugins/guests/debian/plugin.rb index 705cb655747..3f55a807ac6 100644 --- a/plugins/guests/debian/plugin.rb +++ b/plugins/guests/debian/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/dragonflybsd/guest.rb b/plugins/guests/dragonflybsd/guest.rb index 94b6ea137cb..cef649c9388 100644 --- a/plugins/guests/dragonflybsd/guest.rb +++ b/plugins/guests/dragonflybsd/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestDragonFlyBSD class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/dragonflybsd/plugin.rb b/plugins/guests/dragonflybsd/plugin.rb index f5fc94a8005..6efa05a3b0c 100644 --- a/plugins/guests/dragonflybsd/plugin.rb +++ b/plugins/guests/dragonflybsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/elementary/guest.rb b/plugins/guests/elementary/guest.rb index 386d330a472..d61c6a0c58e 100644 --- a/plugins/guests/elementary/guest.rb +++ b/plugins/guests/elementary/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../linux/guest' module VagrantPlugins diff --git a/plugins/guests/elementary/plugin.rb b/plugins/guests/elementary/plugin.rb index 574cfc4e3d6..759b382a0ad 100644 --- a/plugins/guests/elementary/plugin.rb +++ b/plugins/guests/elementary/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/esxi/cap/change_host_name.rb b/plugins/guests/esxi/cap/change_host_name.rb index 1d1585b85f9..a4f1f22effe 100644 --- a/plugins/guests/esxi/cap/change_host_name.rb +++ b/plugins/guests/esxi/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestEsxi module Cap diff --git a/plugins/guests/esxi/cap/configure_networks.rb b/plugins/guests/esxi/cap/configure_networks.rb index b97fddf986e..e1cc33ef6ad 100644 --- a/plugins/guests/esxi/cap/configure_networks.rb +++ b/plugins/guests/esxi/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestEsxi module Cap diff --git a/plugins/guests/esxi/cap/halt.rb b/plugins/guests/esxi/cap/halt.rb index d95fb76367a..6688abdd6ff 100644 --- a/plugins/guests/esxi/cap/halt.rb +++ b/plugins/guests/esxi/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestEsxi module Cap diff --git a/plugins/guests/esxi/cap/mount_nfs_folder.rb b/plugins/guests/esxi/cap/mount_nfs_folder.rb index 3fe7e2a3b9b..43aee75357d 100644 --- a/plugins/guests/esxi/cap/mount_nfs_folder.rb +++ b/plugins/guests/esxi/cap/mount_nfs_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestEsxi module Cap diff --git a/plugins/guests/esxi/cap/public_key.rb b/plugins/guests/esxi/cap/public_key.rb index cd898ad7bf2..65fd2fe46d1 100644 --- a/plugins/guests/esxi/cap/public_key.rb +++ b/plugins/guests/esxi/cap/public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "vagrant/util/shell_quote" diff --git a/plugins/guests/esxi/guest.rb b/plugins/guests/esxi/guest.rb index 2fb4722b463..ffeedbcdd3c 100644 --- a/plugins/guests/esxi/guest.rb +++ b/plugins/guests/esxi/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/esxi/plugin.rb b/plugins/guests/esxi/plugin.rb index 8d68e187339..7a810eedf7d 100644 --- a/plugins/guests/esxi/plugin.rb +++ b/plugins/guests/esxi/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/fedora/cap/flavor.rb b/plugins/guests/fedora/cap/flavor.rb index fa5bf24633f..e28f4e8fec7 100644 --- a/plugins/guests/fedora/cap/flavor.rb +++ b/plugins/guests/fedora/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestFedora module Cap diff --git a/plugins/guests/fedora/guest.rb b/plugins/guests/fedora/guest.rb index fa82667af92..3dce3dd7820 100644 --- a/plugins/guests/fedora/guest.rb +++ b/plugins/guests/fedora/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require_relative '../linux/guest' diff --git a/plugins/guests/fedora/plugin.rb b/plugins/guests/fedora/plugin.rb index 9a9241b0cae..d0b95a423f2 100644 --- a/plugins/guests/fedora/plugin.rb +++ b/plugins/guests/fedora/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/freebsd/cap/change_host_name.rb b/plugins/guests/freebsd/cap/change_host_name.rb index 0f707bbe432..34e19c4b276 100644 --- a/plugins/guests/freebsd/cap/change_host_name.rb +++ b/plugins/guests/freebsd/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' module VagrantPlugins diff --git a/plugins/guests/freebsd/cap/configure_networks.rb b/plugins/guests/freebsd/cap/configure_networks.rb index 5020eebe876..7defb3251b0 100644 --- a/plugins/guests/freebsd/cap/configure_networks.rb +++ b/plugins/guests/freebsd/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/freebsd/cap/mount_virtualbox_shared_folder.rb b/plugins/guests/freebsd/cap/mount_virtualbox_shared_folder.rb index 1ee10a53da3..ba75ade8d51 100644 --- a/plugins/guests/freebsd/cap/mount_virtualbox_shared_folder.rb +++ b/plugins/guests/freebsd/cap/mount_virtualbox_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/unix_mount_helpers" module VagrantPlugins diff --git a/plugins/guests/freebsd/cap/rsync.rb b/plugins/guests/freebsd/cap/rsync.rb index 7766d64a243..fec415d1cbd 100644 --- a/plugins/guests/freebsd/cap/rsync.rb +++ b/plugins/guests/freebsd/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/freebsd/cap/shell_expand_guest_path.rb b/plugins/guests/freebsd/cap/shell_expand_guest_path.rb index aee7600fbf3..343bee3afa3 100644 --- a/plugins/guests/freebsd/cap/shell_expand_guest_path.rb +++ b/plugins/guests/freebsd/cap/shell_expand_guest_path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestFreeBSD module Cap diff --git a/plugins/guests/freebsd/guest.rb b/plugins/guests/freebsd/guest.rb index edf290f3151..431f83f81b8 100644 --- a/plugins/guests/freebsd/guest.rb +++ b/plugins/guests/freebsd/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/template_renderer' module VagrantPlugins diff --git a/plugins/guests/freebsd/plugin.rb b/plugins/guests/freebsd/plugin.rb index 4e571de820e..d4fe517eda2 100644 --- a/plugins/guests/freebsd/plugin.rb +++ b/plugins/guests/freebsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/funtoo/cap/configure_networks.rb b/plugins/guests/funtoo/cap/configure_networks.rb index 6e20dc23799..c82186bb85a 100644 --- a/plugins/guests/funtoo/cap/configure_networks.rb +++ b/plugins/guests/funtoo/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/funtoo/guest.rb b/plugins/guests/funtoo/guest.rb index adffd194e21..922d365ae99 100644 --- a/plugins/guests/funtoo/guest.rb +++ b/plugins/guests/funtoo/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestFuntoo class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/funtoo/plugin.rb b/plugins/guests/funtoo/plugin.rb index 2f768d669a4..a680a310e36 100644 --- a/plugins/guests/funtoo/plugin.rb +++ b/plugins/guests/funtoo/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/gentoo/cap/change_host_name.rb b/plugins/guests/gentoo/cap/change_host_name.rb index 75202e29a52..72debdc3994 100644 --- a/plugins/guests/gentoo/cap/change_host_name.rb +++ b/plugins/guests/gentoo/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/gentoo/cap/configure_networks.rb b/plugins/guests/gentoo/cap/configure_networks.rb index f7464432c83..6869682dc8c 100644 --- a/plugins/guests/gentoo/cap/configure_networks.rb +++ b/plugins/guests/gentoo/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "ipaddr" diff --git a/plugins/guests/gentoo/guest.rb b/plugins/guests/gentoo/guest.rb index a4c77e9e600..97e7e90d88e 100644 --- a/plugins/guests/gentoo/guest.rb +++ b/plugins/guests/gentoo/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestGentoo class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/gentoo/plugin.rb b/plugins/guests/gentoo/plugin.rb index 25c655f4f36..87a545c818c 100644 --- a/plugins/guests/gentoo/plugin.rb +++ b/plugins/guests/gentoo/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/haiku/cap/change_host_name.rb b/plugins/guests/haiku/cap/change_host_name.rb index 88e3164c577..2e91cb7b323 100644 --- a/plugins/guests/haiku/cap/change_host_name.rb +++ b/plugins/guests/haiku/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestHaiku module Cap diff --git a/plugins/guests/haiku/cap/halt.rb b/plugins/guests/haiku/cap/halt.rb index 96ed0191844..122167720da 100644 --- a/plugins/guests/haiku/cap/halt.rb +++ b/plugins/guests/haiku/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestHaiku module Cap diff --git a/plugins/guests/haiku/cap/insert_public_key.rb b/plugins/guests/haiku/cap/insert_public_key.rb index 089da5e0370..77b047ca443 100644 --- a/plugins/guests/haiku/cap/insert_public_key.rb +++ b/plugins/guests/haiku/cap/insert_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/haiku/cap/remove_public_key.rb b/plugins/guests/haiku/cap/remove_public_key.rb index bb823dcc1f3..86064f7f8b9 100644 --- a/plugins/guests/haiku/cap/remove_public_key.rb +++ b/plugins/guests/haiku/cap/remove_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/haiku/cap/rsync.rb b/plugins/guests/haiku/cap/rsync.rb index e0c2112f71d..4ef4cff478c 100644 --- a/plugins/guests/haiku/cap/rsync.rb +++ b/plugins/guests/haiku/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestHaiku module Cap diff --git a/plugins/guests/haiku/guest.rb b/plugins/guests/haiku/guest.rb index bd5c687a3f2..a764851e40e 100644 --- a/plugins/guests/haiku/guest.rb +++ b/plugins/guests/haiku/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/haiku/plugin.rb b/plugins/guests/haiku/plugin.rb index b000bb61632..8e00ad9cfe3 100644 --- a/plugins/guests/haiku/plugin.rb +++ b/plugins/guests/haiku/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/kali/guest.rb b/plugins/guests/kali/guest.rb index fbc12ae3c42..029355a66d0 100644 --- a/plugins/guests/kali/guest.rb +++ b/plugins/guests/kali/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../linux/guest' module VagrantPlugins diff --git a/plugins/guests/kali/plugin.rb b/plugins/guests/kali/plugin.rb index 44565f89926..7626497a5ba 100644 --- a/plugins/guests/kali/plugin.rb +++ b/plugins/guests/kali/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/linux/cap/change_host_name.rb b/plugins/guests/linux/cap/change_host_name.rb index 90315ebbbf1..ba2e0bf2334 100644 --- a/plugins/guests/linux/cap/change_host_name.rb +++ b/plugins/guests/linux/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' module VagrantPlugins diff --git a/plugins/guests/linux/cap/choose_addressable_ip_addr.rb b/plugins/guests/linux/cap/choose_addressable_ip_addr.rb index 2d889ee546c..e882014941d 100644 --- a/plugins/guests/linux/cap/choose_addressable_ip_addr.rb +++ b/plugins/guests/linux/cap/choose_addressable_ip_addr.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux module Cap diff --git a/plugins/guests/linux/cap/file_system.rb b/plugins/guests/linux/cap/file_system.rb index abff30e37df..4adf0eb0336 100644 --- a/plugins/guests/linux/cap/file_system.rb +++ b/plugins/guests/linux/cap/file_system.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux module Cap diff --git a/plugins/guests/linux/cap/halt.rb b/plugins/guests/linux/cap/halt.rb index 81be3980b87..67891428fa0 100644 --- a/plugins/guests/linux/cap/halt.rb +++ b/plugins/guests/linux/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_inspection' module VagrantPlugins diff --git a/plugins/guests/linux/cap/mount_smb_shared_folder.rb b/plugins/guests/linux/cap/mount_smb_shared_folder.rb index bf0fe457d52..8286a945492 100644 --- a/plugins/guests/linux/cap/mount_smb_shared_folder.rb +++ b/plugins/guests/linux/cap/mount_smb_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "shellwords" require_relative "../../../synced_folders/unix_mount_helpers" diff --git a/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb b/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb index 74a4c99280a..64922e9aa31 100644 --- a/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +++ b/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/unix_mount_helpers" module VagrantPlugins diff --git a/plugins/guests/linux/cap/network_interfaces.rb b/plugins/guests/linux/cap/network_interfaces.rb index c8b82376b24..2f8da25c309 100644 --- a/plugins/guests/linux/cap/network_interfaces.rb +++ b/plugins/guests/linux/cap/network_interfaces.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux module Cap diff --git a/plugins/guests/linux/cap/nfs.rb b/plugins/guests/linux/cap/nfs.rb index 9263688e5b7..6c7550c3c70 100644 --- a/plugins/guests/linux/cap/nfs.rb +++ b/plugins/guests/linux/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/unix_mount_helpers" module VagrantPlugins diff --git a/plugins/guests/linux/cap/persist_mount_shared_folder.rb b/plugins/guests/linux/cap/persist_mount_shared_folder.rb index c69d953092a..9cfcfe708d7 100644 --- a/plugins/guests/linux/cap/persist_mount_shared_folder.rb +++ b/plugins/guests/linux/cap/persist_mount_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util" require_relative "../../../synced_folders/unix_mount_helpers" diff --git a/plugins/guests/linux/cap/port.rb b/plugins/guests/linux/cap/port.rb index 556127117a0..34fa5e12d04 100644 --- a/plugins/guests/linux/cap/port.rb +++ b/plugins/guests/linux/cap/port.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux module Cap diff --git a/plugins/guests/linux/cap/public_key.rb b/plugins/guests/linux/cap/public_key.rb index fb8301caea2..287042aa70b 100644 --- a/plugins/guests/linux/cap/public_key.rb +++ b/plugins/guests/linux/cap/public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "vagrant/util/shell_quote" diff --git a/plugins/guests/linux/cap/read_ip_address.rb b/plugins/guests/linux/cap/read_ip_address.rb index 4ccc1c566ca..2a043892167 100644 --- a/plugins/guests/linux/cap/read_ip_address.rb +++ b/plugins/guests/linux/cap/read_ip_address.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux module Cap diff --git a/plugins/guests/linux/cap/reboot.rb b/plugins/guests/linux/cap/reboot.rb index 3b3eb19a8a7..69caae8f9ce 100644 --- a/plugins/guests/linux/cap/reboot.rb +++ b/plugins/guests/linux/cap/reboot.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_inspection' require "log4r" diff --git a/plugins/guests/linux/cap/rsync.rb b/plugins/guests/linux/cap/rsync.rb index 17ff0bbaaa5..4076801a84e 100644 --- a/plugins/guests/linux/cap/rsync.rb +++ b/plugins/guests/linux/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/linux/cap/shell_expand_guest_path.rb b/plugins/guests/linux/cap/shell_expand_guest_path.rb index 085866deb8d..d541ef2b474 100644 --- a/plugins/guests/linux/cap/shell_expand_guest_path.rb +++ b/plugins/guests/linux/cap/shell_expand_guest_path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux module Cap diff --git a/plugins/guests/linux/guest.rb b/plugins/guests/linux/guest.rb index a79bb65c431..65e4f36cfcf 100644 --- a/plugins/guests/linux/guest.rb +++ b/plugins/guests/linux/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestLinux class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/linux/plugin.rb b/plugins/guests/linux/plugin.rb index d4c1f9f71ad..0913b0c0425 100644 --- a/plugins/guests/linux/plugin.rb +++ b/plugins/guests/linux/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/mint/guest.rb b/plugins/guests/mint/guest.rb index b03d43c832b..90322650ff6 100644 --- a/plugins/guests/mint/guest.rb +++ b/plugins/guests/mint/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../linux/guest' module VagrantPlugins diff --git a/plugins/guests/mint/plugin.rb b/plugins/guests/mint/plugin.rb index f7d49cecaff..0ce2b2a0195 100644 --- a/plugins/guests/mint/plugin.rb +++ b/plugins/guests/mint/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/netbsd/cap/change_host_name.rb b/plugins/guests/netbsd/cap/change_host_name.rb index 226ee8d8b66..cbb27cabe86 100644 --- a/plugins/guests/netbsd/cap/change_host_name.rb +++ b/plugins/guests/netbsd/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestNetBSD module Cap diff --git a/plugins/guests/netbsd/cap/configure_networks.rb b/plugins/guests/netbsd/cap/configure_networks.rb index d53b6c6e449..5adba1e5568 100644 --- a/plugins/guests/netbsd/cap/configure_networks.rb +++ b/plugins/guests/netbsd/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/netbsd/cap/rsync.rb b/plugins/guests/netbsd/cap/rsync.rb index 9f9337645d1..c3688a85a12 100644 --- a/plugins/guests/netbsd/cap/rsync.rb +++ b/plugins/guests/netbsd/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/netbsd/cap/shell_expand_guest_path.rb b/plugins/guests/netbsd/cap/shell_expand_guest_path.rb index 52712d84f13..cee430727c0 100644 --- a/plugins/guests/netbsd/cap/shell_expand_guest_path.rb +++ b/plugins/guests/netbsd/cap/shell_expand_guest_path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestNetBSD module Cap diff --git a/plugins/guests/netbsd/guest.rb b/plugins/guests/netbsd/guest.rb index b0cbd35d602..211258a5300 100644 --- a/plugins/guests/netbsd/guest.rb +++ b/plugins/guests/netbsd/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/netbsd/plugin.rb b/plugins/guests/netbsd/plugin.rb index a75cbc0836f..fc5b59a7229 100644 --- a/plugins/guests/netbsd/plugin.rb +++ b/plugins/guests/netbsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/nixos/cap/change_host_name.rb b/plugins/guests/nixos/cap/change_host_name.rb index 340eddeabe9..5c4150caa2b 100644 --- a/plugins/guests/nixos/cap/change_host_name.rb +++ b/plugins/guests/nixos/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/nixos/cap/configure_networks.rb b/plugins/guests/nixos/cap/configure_networks.rb index 96458622fdc..133d7463ba9 100644 --- a/plugins/guests/nixos/cap/configure_networks.rb +++ b/plugins/guests/nixos/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" require "tempfile" diff --git a/plugins/guests/nixos/cap/nfs_client.rb b/plugins/guests/nixos/cap/nfs_client.rb index 1d71399e48e..37cc826848c 100644 --- a/plugins/guests/nixos/cap/nfs_client.rb +++ b/plugins/guests/nixos/cap/nfs_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestNixos module Cap diff --git a/plugins/guests/nixos/guest.rb b/plugins/guests/nixos/guest.rb index 54b57e67a9b..fc141765dbd 100644 --- a/plugins/guests/nixos/guest.rb +++ b/plugins/guests/nixos/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/nixos/plugin.rb b/plugins/guests/nixos/plugin.rb index 9f8138d4eae..5b0604565ea 100644 --- a/plugins/guests/nixos/plugin.rb +++ b/plugins/guests/nixos/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/omnios/cap/change_host_name.rb b/plugins/guests/omnios/cap/change_host_name.rb index 42572befd91..d3deb55825a 100644 --- a/plugins/guests/omnios/cap/change_host_name.rb +++ b/plugins/guests/omnios/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/omnios/cap/mount_nfs_folder.rb b/plugins/guests/omnios/cap/mount_nfs_folder.rb index 0dc2c10ad06..fbaa70b6829 100644 --- a/plugins/guests/omnios/cap/mount_nfs_folder.rb +++ b/plugins/guests/omnios/cap/mount_nfs_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOmniOS module Cap diff --git a/plugins/guests/omnios/cap/rsync.rb b/plugins/guests/omnios/cap/rsync.rb index 64cda9177a2..d0095dedf4e 100644 --- a/plugins/guests/omnios/cap/rsync.rb +++ b/plugins/guests/omnios/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOmniOS module Cap diff --git a/plugins/guests/omnios/guest.rb b/plugins/guests/omnios/guest.rb index 7a176cb31ad..9bbc2fd6ecb 100644 --- a/plugins/guests/omnios/guest.rb +++ b/plugins/guests/omnios/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOmniOS class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/omnios/plugin.rb b/plugins/guests/omnios/plugin.rb index a92e5a3efeb..2b1c1cae15f 100644 --- a/plugins/guests/omnios/plugin.rb +++ b/plugins/guests/omnios/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/openbsd/cap/change_host_name.rb b/plugins/guests/openbsd/cap/change_host_name.rb index 7661ad1c9e5..45d18ce15d9 100644 --- a/plugins/guests/openbsd/cap/change_host_name.rb +++ b/plugins/guests/openbsd/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' module VagrantPlugins diff --git a/plugins/guests/openbsd/cap/configure_networks.rb b/plugins/guests/openbsd/cap/configure_networks.rb index fefc05b9e60..11da9f54471 100644 --- a/plugins/guests/openbsd/cap/configure_networks.rb +++ b/plugins/guests/openbsd/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/openbsd/cap/halt.rb b/plugins/guests/openbsd/cap/halt.rb index 654e6153b61..ef1c2b5e484 100644 --- a/plugins/guests/openbsd/cap/halt.rb +++ b/plugins/guests/openbsd/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOpenBSD module Cap diff --git a/plugins/guests/openbsd/cap/rsync.rb b/plugins/guests/openbsd/cap/rsync.rb index ac1e17a1a93..8f7d439616c 100644 --- a/plugins/guests/openbsd/cap/rsync.rb +++ b/plugins/guests/openbsd/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/openbsd/cap/shell_expand_guest_path.rb b/plugins/guests/openbsd/cap/shell_expand_guest_path.rb index 9defdff7794..1c1224d009b 100644 --- a/plugins/guests/openbsd/cap/shell_expand_guest_path.rb +++ b/plugins/guests/openbsd/cap/shell_expand_guest_path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOpenBSD module Cap diff --git a/plugins/guests/openbsd/guest.rb b/plugins/guests/openbsd/guest.rb index fff756b37bf..73125db5af2 100644 --- a/plugins/guests/openbsd/guest.rb +++ b/plugins/guests/openbsd/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/openbsd/plugin.rb b/plugins/guests/openbsd/plugin.rb index 821c99195c9..d3b57a8cb00 100644 --- a/plugins/guests/openbsd/plugin.rb +++ b/plugins/guests/openbsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/openwrt/cap/change_host_name.rb b/plugins/guests/openwrt/cap/change_host_name.rb index c26274b7454..d90362af188 100644 --- a/plugins/guests/openwrt/cap/change_host_name.rb +++ b/plugins/guests/openwrt/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOpenWrt module Cap diff --git a/plugins/guests/openwrt/cap/halt.rb b/plugins/guests/openwrt/cap/halt.rb index 89cfdd16f61..5bd495421df 100644 --- a/plugins/guests/openwrt/cap/halt.rb +++ b/plugins/guests/openwrt/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOpenWrt module Cap diff --git a/plugins/guests/openwrt/cap/insert_public_key.rb b/plugins/guests/openwrt/cap/insert_public_key.rb index 6abbf4504f0..3f9145926f2 100644 --- a/plugins/guests/openwrt/cap/insert_public_key.rb +++ b/plugins/guests/openwrt/cap/insert_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/openwrt/cap/remove_public_key.rb b/plugins/guests/openwrt/cap/remove_public_key.rb index 21981181af8..5ee11b7dd51 100644 --- a/plugins/guests/openwrt/cap/remove_public_key.rb +++ b/plugins/guests/openwrt/cap/remove_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/openwrt/cap/rsync.rb b/plugins/guests/openwrt/cap/rsync.rb index a81dc053bd8..529682608fe 100644 --- a/plugins/guests/openwrt/cap/rsync.rb +++ b/plugins/guests/openwrt/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOpenWrt module Cap diff --git a/plugins/guests/openwrt/guest.rb b/plugins/guests/openwrt/guest.rb index 7455d0cc851..1052765e24b 100644 --- a/plugins/guests/openwrt/guest.rb +++ b/plugins/guests/openwrt/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestOpenWrt class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/openwrt/plugin.rb b/plugins/guests/openwrt/plugin.rb index 0d8eee4812b..5d09e5b3af7 100644 --- a/plugins/guests/openwrt/plugin.rb +++ b/plugins/guests/openwrt/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/photon/cap/change_host_name.rb b/plugins/guests/photon/cap/change_host_name.rb index 269b84eab57..db2f96c84c6 100644 --- a/plugins/guests/photon/cap/change_host_name.rb +++ b/plugins/guests/photon/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/photon/cap/configure_networks.rb b/plugins/guests/photon/cap/configure_networks.rb index fa51f863e88..a199db23c30 100644 --- a/plugins/guests/photon/cap/configure_networks.rb +++ b/plugins/guests/photon/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestPhoton module Cap diff --git a/plugins/guests/photon/cap/docker.rb b/plugins/guests/photon/cap/docker.rb index 954777908fb..1298e3c3c54 100644 --- a/plugins/guests/photon/cap/docker.rb +++ b/plugins/guests/photon/cap/docker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestPhoton module Cap diff --git a/plugins/guests/photon/guest.rb b/plugins/guests/photon/guest.rb index 897cd5e95ab..1dd175ee584 100644 --- a/plugins/guests/photon/guest.rb +++ b/plugins/guests/photon/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestPhoton class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/photon/plugin.rb b/plugins/guests/photon/plugin.rb index 6ca981312bd..ba718207e03 100644 --- a/plugins/guests/photon/plugin.rb +++ b/plugins/guests/photon/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/pld/cap/change_host_name.rb b/plugins/guests/pld/cap/change_host_name.rb index 33f50ca4f52..312bab17ed5 100644 --- a/plugins/guests/pld/cap/change_host_name.rb +++ b/plugins/guests/pld/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/pld/cap/flavor.rb b/plugins/guests/pld/cap/flavor.rb index 5ade9d18c96..fc2d50cea12 100644 --- a/plugins/guests/pld/cap/flavor.rb +++ b/plugins/guests/pld/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestPld module Cap diff --git a/plugins/guests/pld/cap/network_scripts_dir.rb b/plugins/guests/pld/cap/network_scripts_dir.rb index 3a6fbfb438c..50bcd830212 100644 --- a/plugins/guests/pld/cap/network_scripts_dir.rb +++ b/plugins/guests/pld/cap/network_scripts_dir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestPld module Cap diff --git a/plugins/guests/pld/guest.rb b/plugins/guests/pld/guest.rb index a7f163d3b09..2fad3d516a7 100644 --- a/plugins/guests/pld/guest.rb +++ b/plugins/guests/pld/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestPld class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/pld/plugin.rb b/plugins/guests/pld/plugin.rb index 958249059b9..d0926203d0a 100644 --- a/plugins/guests/pld/plugin.rb +++ b/plugins/guests/pld/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/redhat/cap/change_host_name.rb b/plugins/guests/redhat/cap/change_host_name.rb index 44a9dd89f38..02552b61d89 100644 --- a/plugins/guests/redhat/cap/change_host_name.rb +++ b/plugins/guests/redhat/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' module VagrantPlugins diff --git a/plugins/guests/redhat/cap/configure_networks.rb b/plugins/guests/redhat/cap/configure_networks.rb index c618c8e534d..d59d3e5cae9 100644 --- a/plugins/guests/redhat/cap/configure_networks.rb +++ b/plugins/guests/redhat/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/redhat/cap/flavor.rb b/plugins/guests/redhat/cap/flavor.rb index 58074abbc42..ddaa84e7c72 100644 --- a/plugins/guests/redhat/cap/flavor.rb +++ b/plugins/guests/redhat/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRedHat module Cap diff --git a/plugins/guests/redhat/cap/network_scripts_dir.rb b/plugins/guests/redhat/cap/network_scripts_dir.rb index 5b2a26e046e..bacff54d777 100644 --- a/plugins/guests/redhat/cap/network_scripts_dir.rb +++ b/plugins/guests/redhat/cap/network_scripts_dir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRedHat module Cap diff --git a/plugins/guests/redhat/cap/nfs_client.rb b/plugins/guests/redhat/cap/nfs_client.rb index 396c9355e5d..352cb9f7e4f 100644 --- a/plugins/guests/redhat/cap/nfs_client.rb +++ b/plugins/guests/redhat/cap/nfs_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRedHat module Cap diff --git a/plugins/guests/redhat/cap/rsync.rb b/plugins/guests/redhat/cap/rsync.rb index 83804191a8f..4b031b0beda 100644 --- a/plugins/guests/redhat/cap/rsync.rb +++ b/plugins/guests/redhat/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRedHat module Cap diff --git a/plugins/guests/redhat/cap/smb.rb b/plugins/guests/redhat/cap/smb.rb index 84c39c9114b..ac9d6f35c31 100644 --- a/plugins/guests/redhat/cap/smb.rb +++ b/plugins/guests/redhat/cap/smb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRedHat module Cap diff --git a/plugins/guests/redhat/guest.rb b/plugins/guests/redhat/guest.rb index 272ad65ba6a..b18c75a7d23 100644 --- a/plugins/guests/redhat/guest.rb +++ b/plugins/guests/redhat/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRedHat class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/redhat/plugin.rb b/plugins/guests/redhat/plugin.rb index 2a6440d1298..3eafee7f93e 100644 --- a/plugins/guests/redhat/plugin.rb +++ b/plugins/guests/redhat/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/rocky/cap/flavor.rb b/plugins/guests/rocky/cap/flavor.rb index 164e675684f..cffc640b5f7 100644 --- a/plugins/guests/rocky/cap/flavor.rb +++ b/plugins/guests/rocky/cap/flavor.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestRocky module Cap diff --git a/plugins/guests/rocky/guest.rb b/plugins/guests/rocky/guest.rb index c925837bb34..7703116a071 100644 --- a/plugins/guests/rocky/guest.rb +++ b/plugins/guests/rocky/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../linux/guest" module VagrantPlugins diff --git a/plugins/guests/rocky/plugin.rb b/plugins/guests/rocky/plugin.rb index 110bbc41f16..854313da3ac 100644 --- a/plugins/guests/rocky/plugin.rb +++ b/plugins/guests/rocky/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/slackware/cap/change_host_name.rb b/plugins/guests/slackware/cap/change_host_name.rb index ecd299b4314..bd2d36d5543 100644 --- a/plugins/guests/slackware/cap/change_host_name.rb +++ b/plugins/guests/slackware/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../../linux/cap/change_host_name' module VagrantPlugins diff --git a/plugins/guests/slackware/cap/configure_networks.rb b/plugins/guests/slackware/cap/configure_networks.rb index b11b93e98e9..c23e0d5a87e 100644 --- a/plugins/guests/slackware/cap/configure_networks.rb +++ b/plugins/guests/slackware/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/slackware/guest.rb b/plugins/guests/slackware/guest.rb index 5385ae12fbb..c66df78bbfc 100644 --- a/plugins/guests/slackware/guest.rb +++ b/plugins/guests/slackware/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSlackware class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/slackware/plugin.rb b/plugins/guests/slackware/plugin.rb index 91c23319426..0a940b26569 100644 --- a/plugins/guests/slackware/plugin.rb +++ b/plugins/guests/slackware/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/smartos/cap/change_host_name.rb b/plugins/guests/smartos/cap/change_host_name.rb index 7a5f6a351ba..054bb2cb93c 100644 --- a/plugins/guests/smartos/cap/change_host_name.rb +++ b/plugins/guests/smartos/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSmartos module Cap diff --git a/plugins/guests/smartos/cap/configure_networks.rb b/plugins/guests/smartos/cap/configure_networks.rb index dac941dab27..34a20677824 100644 --- a/plugins/guests/smartos/cap/configure_networks.rb +++ b/plugins/guests/smartos/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSmartos module Cap diff --git a/plugins/guests/smartos/cap/halt.rb b/plugins/guests/smartos/cap/halt.rb index bb764b4c342..da71171730d 100644 --- a/plugins/guests/smartos/cap/halt.rb +++ b/plugins/guests/smartos/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSmartos module Cap diff --git a/plugins/guests/smartos/cap/insert_public_key.rb b/plugins/guests/smartos/cap/insert_public_key.rb index 6c0c38dff83..bcc47d7ffaf 100644 --- a/plugins/guests/smartos/cap/insert_public_key.rb +++ b/plugins/guests/smartos/cap/insert_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/smartos/cap/mount_nfs.rb b/plugins/guests/smartos/cap/mount_nfs.rb index 26aab038e02..85995c8db73 100644 --- a/plugins/guests/smartos/cap/mount_nfs.rb +++ b/plugins/guests/smartos/cap/mount_nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSmartos module Cap diff --git a/plugins/guests/smartos/cap/remove_public_key.rb b/plugins/guests/smartos/cap/remove_public_key.rb index d01363dd09f..42f3576fe90 100644 --- a/plugins/guests/smartos/cap/remove_public_key.rb +++ b/plugins/guests/smartos/cap/remove_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/smartos/cap/rsync.rb b/plugins/guests/smartos/cap/rsync.rb index df447db3b2d..147cb9469a5 100644 --- a/plugins/guests/smartos/cap/rsync.rb +++ b/plugins/guests/smartos/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/smartos/config.rb b/plugins/guests/smartos/config.rb index 0250611083c..382de2afc7c 100644 --- a/plugins/guests/smartos/config.rb +++ b/plugins/guests/smartos/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSmartos class Config < Vagrant.plugin("2", :config) diff --git a/plugins/guests/smartos/guest.rb b/plugins/guests/smartos/guest.rb index 1d2a18f02ce..e1092a41a49 100644 --- a/plugins/guests/smartos/guest.rb +++ b/plugins/guests/smartos/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/smartos/plugin.rb b/plugins/guests/smartos/plugin.rb index dcdd6f7b8c3..f90d17609bc 100644 --- a/plugins/guests/smartos/plugin.rb +++ b/plugins/guests/smartos/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/solaris/cap/change_host_name.rb b/plugins/guests/solaris/cap/change_host_name.rb index f9dd1960676..aead7339cdc 100644 --- a/plugins/guests/solaris/cap/change_host_name.rb +++ b/plugins/guests/solaris/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSolaris module Cap diff --git a/plugins/guests/solaris/cap/configure_networks.rb b/plugins/guests/solaris/cap/configure_networks.rb index cff7940d832..6a1dbb3c2df 100644 --- a/plugins/guests/solaris/cap/configure_networks.rb +++ b/plugins/guests/solaris/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSolaris module Cap diff --git a/plugins/guests/solaris/cap/file_system.rb b/plugins/guests/solaris/cap/file_system.rb index d697c9db875..d69715e8649 100644 --- a/plugins/guests/solaris/cap/file_system.rb +++ b/plugins/guests/solaris/cap/file_system.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSolaris module Cap diff --git a/plugins/guests/solaris/cap/halt.rb b/plugins/guests/solaris/cap/halt.rb index eea9a5c96b5..91403a42df7 100644 --- a/plugins/guests/solaris/cap/halt.rb +++ b/plugins/guests/solaris/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSolaris module Cap diff --git a/plugins/guests/solaris/cap/insert_public_key.rb b/plugins/guests/solaris/cap/insert_public_key.rb index b0b13d0414c..b30aca92e7c 100644 --- a/plugins/guests/solaris/cap/insert_public_key.rb +++ b/plugins/guests/solaris/cap/insert_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb b/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb index 9c7369861a4..8e222eb7ac4 100644 --- a/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb +++ b/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSolaris module Cap diff --git a/plugins/guests/solaris/cap/remove_public_key.rb b/plugins/guests/solaris/cap/remove_public_key.rb index 9a5fe7984fe..c0b1a4a7539 100644 --- a/plugins/guests/solaris/cap/remove_public_key.rb +++ b/plugins/guests/solaris/cap/remove_public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/guests/solaris/cap/rsync.rb b/plugins/guests/solaris/cap/rsync.rb index e72c8095d32..d591e1392d0 100644 --- a/plugins/guests/solaris/cap/rsync.rb +++ b/plugins/guests/solaris/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/rsync/default_unix_cap" module VagrantPlugins diff --git a/plugins/guests/solaris/config.rb b/plugins/guests/solaris/config.rb index 5983b683750..6f7b6ef42ee 100644 --- a/plugins/guests/solaris/config.rb +++ b/plugins/guests/solaris/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSolaris class Config < Vagrant.plugin("2", :config) diff --git a/plugins/guests/solaris/guest.rb b/plugins/guests/solaris/guest.rb index d0c84f94a9e..3b99d476285 100644 --- a/plugins/guests/solaris/guest.rb +++ b/plugins/guests/solaris/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/solaris/plugin.rb b/plugins/guests/solaris/plugin.rb index b8c16df1286..fbb2907a819 100644 --- a/plugins/guests/solaris/plugin.rb +++ b/plugins/guests/solaris/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/solaris11/cap/change_host_name.rb b/plugins/guests/solaris11/cap/change_host_name.rb index cf7336e906a..d1ed326c067 100644 --- a/plugins/guests/solaris11/cap/change_host_name.rb +++ b/plugins/guests/solaris11/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # A general Vagrant system implementation for "solaris 11". # # Contributed by Jan Thomas Moldung diff --git a/plugins/guests/solaris11/cap/configure_networks.rb b/plugins/guests/solaris11/cap/configure_networks.rb index ece56d3cdf3..c0000d2739f 100644 --- a/plugins/guests/solaris11/cap/configure_networks.rb +++ b/plugins/guests/solaris11/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # A general Vagrant system implementation for "solaris 11". # # Contributed by Jan Thomas Moldung diff --git a/plugins/guests/solaris11/config.rb b/plugins/guests/solaris11/config.rb index a6051fa957f..2ab3a5fb00a 100644 --- a/plugins/guests/solaris11/config.rb +++ b/plugins/guests/solaris11/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # A general Vagrant system implementation for "solaris 11". # # Contributed by Jan Thomas Moldung diff --git a/plugins/guests/solaris11/guest.rb b/plugins/guests/solaris11/guest.rb index 525a33ade86..44b8c906c0a 100644 --- a/plugins/guests/solaris11/guest.rb +++ b/plugins/guests/solaris11/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # A general Vagrant system implementation for "solaris 11". # # Contributed by Jan Thomas Moldung diff --git a/plugins/guests/solaris11/plugin.rb b/plugins/guests/solaris11/plugin.rb index 2a8728725f7..0348956b2d5 100644 --- a/plugins/guests/solaris11/plugin.rb +++ b/plugins/guests/solaris11/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # A general Vagrant system implementation for "solaris 11". # # Contributed by Jan Thomas Moldung diff --git a/plugins/guests/suse/cap/change_host_name.rb b/plugins/guests/suse/cap/change_host_name.rb index 9cd75d0363d..8a5b3d8fd1d 100644 --- a/plugins/guests/suse/cap/change_host_name.rb +++ b/plugins/guests/suse/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/guest_hosts' require 'vagrant/util/guest_inspection' diff --git a/plugins/guests/suse/cap/configure_networks.rb b/plugins/guests/suse/cap/configure_networks.rb index 2dd14023053..85ea026c443 100644 --- a/plugins/guests/suse/cap/configure_networks.rb +++ b/plugins/guests/suse/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/template_renderer" diff --git a/plugins/guests/suse/cap/halt.rb b/plugins/guests/suse/cap/halt.rb index b81be8531c2..57fad7433d3 100644 --- a/plugins/guests/suse/cap/halt.rb +++ b/plugins/guests/suse/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSUSE module Cap diff --git a/plugins/guests/suse/cap/network_scripts_dir.rb b/plugins/guests/suse/cap/network_scripts_dir.rb index 82b2e7f4a97..9f7c191e1fd 100644 --- a/plugins/guests/suse/cap/network_scripts_dir.rb +++ b/plugins/guests/suse/cap/network_scripts_dir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSUSE module Cap diff --git a/plugins/guests/suse/cap/nfs_client.rb b/plugins/guests/suse/cap/nfs_client.rb index 69e1f598a94..64ae8de0b02 100644 --- a/plugins/guests/suse/cap/nfs_client.rb +++ b/plugins/guests/suse/cap/nfs_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSUSE module Cap diff --git a/plugins/guests/suse/cap/rsync.rb b/plugins/guests/suse/cap/rsync.rb index 2b7bb264664..9a54a7e603a 100644 --- a/plugins/guests/suse/cap/rsync.rb +++ b/plugins/guests/suse/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSUSE module Cap diff --git a/plugins/guests/suse/guest.rb b/plugins/guests/suse/guest.rb index 259f4b617a5..28fd74aeafd 100644 --- a/plugins/guests/suse/guest.rb +++ b/plugins/guests/suse/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestSUSE class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/suse/plugin.rb b/plugins/guests/suse/plugin.rb index ac3ace288f3..a531d4b4bba 100644 --- a/plugins/guests/suse/plugin.rb +++ b/plugins/guests/suse/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/tinycore/cap/change_host_name.rb b/plugins/guests/tinycore/cap/change_host_name.rb index 1c4ec859053..27a67c36fb4 100644 --- a/plugins/guests/tinycore/cap/change_host_name.rb +++ b/plugins/guests/tinycore/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestTinyCore module Cap diff --git a/plugins/guests/tinycore/cap/configure_networks.rb b/plugins/guests/tinycore/cap/configure_networks.rb index 3e267748a8c..b79a181adc6 100644 --- a/plugins/guests/tinycore/cap/configure_networks.rb +++ b/plugins/guests/tinycore/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" module VagrantPlugins diff --git a/plugins/guests/tinycore/cap/halt.rb b/plugins/guests/tinycore/cap/halt.rb index 0789a4fc17a..fedd861d836 100644 --- a/plugins/guests/tinycore/cap/halt.rb +++ b/plugins/guests/tinycore/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestTinyCore module Cap diff --git a/plugins/guests/tinycore/cap/mount_nfs.rb b/plugins/guests/tinycore/cap/mount_nfs.rb index e6896ad6ecc..02f6f88c18c 100644 --- a/plugins/guests/tinycore/cap/mount_nfs.rb +++ b/plugins/guests/tinycore/cap/mount_nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/unix_mount_helpers" module VagrantPlugins diff --git a/plugins/guests/tinycore/cap/rsync.rb b/plugins/guests/tinycore/cap/rsync.rb index 674ba349b40..d3a07fb951b 100644 --- a/plugins/guests/tinycore/cap/rsync.rb +++ b/plugins/guests/tinycore/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestTinyCore module Cap diff --git a/plugins/guests/tinycore/guest.rb b/plugins/guests/tinycore/guest.rb index d1fea1aed56..4ac8f3fa2ca 100644 --- a/plugins/guests/tinycore/guest.rb +++ b/plugins/guests/tinycore/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../linux/guest' module VagrantPlugins diff --git a/plugins/guests/tinycore/plugin.rb b/plugins/guests/tinycore/plugin.rb index f2b1e61b29a..2dca419406f 100644 --- a/plugins/guests/tinycore/plugin.rb +++ b/plugins/guests/tinycore/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/trisquel/guest.rb b/plugins/guests/trisquel/guest.rb index d070ca73a36..55ac71e8c0e 100644 --- a/plugins/guests/trisquel/guest.rb +++ b/plugins/guests/trisquel/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestTrisquel class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/trisquel/plugin.rb b/plugins/guests/trisquel/plugin.rb index d49deff2570..779792b2605 100644 --- a/plugins/guests/trisquel/plugin.rb +++ b/plugins/guests/trisquel/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/ubuntu/guest.rb b/plugins/guests/ubuntu/guest.rb index 09d02b23686..d08ae42a1a5 100644 --- a/plugins/guests/ubuntu/guest.rb +++ b/plugins/guests/ubuntu/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../linux/guest' module VagrantPlugins diff --git a/plugins/guests/ubuntu/plugin.rb b/plugins/guests/ubuntu/plugin.rb index 3147bdd8f9d..53fe42bc159 100644 --- a/plugins/guests/ubuntu/plugin.rb +++ b/plugins/guests/ubuntu/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/windows/cap/change_host_name.rb b/plugins/guests/windows/cap/change_host_name.rb index fdc0e4baa24..d91371f816e 100644 --- a/plugins/guests/windows/cap/change_host_name.rb +++ b/plugins/guests/windows/cap/change_host_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/guests/windows/cap/choose_addressable_ip_addr.rb b/plugins/guests/windows/cap/choose_addressable_ip_addr.rb index 2304246ce5b..a0996ef8555 100644 --- a/plugins/guests/windows/cap/choose_addressable_ip_addr.rb +++ b/plugins/guests/windows/cap/choose_addressable_ip_addr.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows module Cap diff --git a/plugins/guests/windows/cap/configure_networks.rb b/plugins/guests/windows/cap/configure_networks.rb index 7c747926e09..673fa468ae9 100644 --- a/plugins/guests/windows/cap/configure_networks.rb +++ b/plugins/guests/windows/cap/configure_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require_relative "../guest_network" diff --git a/plugins/guests/windows/cap/file_system.rb b/plugins/guests/windows/cap/file_system.rb index 85a7d4a2f52..89d7771256f 100644 --- a/plugins/guests/windows/cap/file_system.rb +++ b/plugins/guests/windows/cap/file_system.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows module Cap diff --git a/plugins/guests/windows/cap/halt.rb b/plugins/guests/windows/cap/halt.rb index a5d6e2125df..090825129e1 100644 --- a/plugins/guests/windows/cap/halt.rb +++ b/plugins/guests/windows/cap/halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows module Cap diff --git a/plugins/guests/windows/cap/mount_shared_folder.rb b/plugins/guests/windows/cap/mount_shared_folder.rb index 03cb120ea2a..a1d7e005daf 100644 --- a/plugins/guests/windows/cap/mount_shared_folder.rb +++ b/plugins/guests/windows/cap/mount_shared_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/template_renderer" require "base64" diff --git a/plugins/guests/windows/cap/public_key.rb b/plugins/guests/windows/cap/public_key.rb index 7ac2a1980a2..eaccb08c0e0 100644 --- a/plugins/guests/windows/cap/public_key.rb +++ b/plugins/guests/windows/cap/public_key.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative '../../../communicators/winssh/communicator' diff --git a/plugins/guests/windows/cap/reboot.rb b/plugins/guests/windows/cap/reboot.rb index 6beab84d5fc..63bc06db306 100644 --- a/plugins/guests/windows/cap/reboot.rb +++ b/plugins/guests/windows/cap/reboot.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/guests/windows/cap/rsync.rb b/plugins/guests/windows/cap/rsync.rb index 5f06928091f..7a00f8884ec 100644 --- a/plugins/guests/windows/cap/rsync.rb +++ b/plugins/guests/windows/cap/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows module Cap diff --git a/plugins/guests/windows/config.rb b/plugins/guests/windows/config.rb index 7eadc601d11..f86b6e539ec 100644 --- a/plugins/guests/windows/config.rb +++ b/plugins/guests/windows/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows class Config < Vagrant.plugin("2", :config) diff --git a/plugins/guests/windows/errors.rb b/plugins/guests/windows/errors.rb index 0b0536ed470..23b3a2ffcb9 100644 --- a/plugins/guests/windows/errors.rb +++ b/plugins/guests/windows/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows module Errors diff --git a/plugins/guests/windows/guest.rb b/plugins/guests/windows/guest.rb index 97e607b051e..2f8ab1d2de8 100644 --- a/plugins/guests/windows/guest.rb +++ b/plugins/guests/windows/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module GuestWindows class Guest < Vagrant.plugin("2", :guest) diff --git a/plugins/guests/windows/guest_network.rb b/plugins/guests/windows/guest_network.rb index dc514a5a697..63cd484963d 100644 --- a/plugins/guests/windows/guest_network.rb +++ b/plugins/guests/windows/guest_network.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/guests/windows/plugin.rb b/plugins/guests/windows/plugin.rb index a4308d4a263..6071b31bf2f 100644 --- a/plugins/guests/windows/plugin.rb +++ b/plugins/guests/windows/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/guests/windows/scripts/reboot_detect.ps1 b/plugins/guests/windows/scripts/reboot_detect.ps1 index 93688ad735b..42db56819cd 100644 --- a/plugins/guests/windows/scripts/reboot_detect.ps1 +++ b/plugins/guests/windows/scripts/reboot_detect.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Function to check whether machine is currently shutting down function ShuttingDown { [string]$sourceCode = @" diff --git a/plugins/guests/windows/scripts/set_work_network.ps1 b/plugins/guests/windows/scripts/set_work_network.ps1 index c184454bb53..6166f3c6358 100644 --- a/plugins/guests/windows/scripts/set_work_network.ps1 +++ b/plugins/guests/windows/scripts/set_work_network.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Get network connections $networkListManager = [Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]"{DCB00C01-570F-4A9B-8D69-199FDBA5723B}")) $connections = $networkListManager.GetNetworkConnections() diff --git a/plugins/guests/windows/scripts/winrs_v3_get_adapters.ps1 b/plugins/guests/windows/scripts/winrs_v3_get_adapters.ps1 index 4a279647940..8b79898c4ea 100644 --- a/plugins/guests/windows/scripts/winrs_v3_get_adapters.ps1 +++ b/plugins/guests/windows/scripts/winrs_v3_get_adapters.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + $adapters = get-ciminstance win32_networkadapter -filter "macaddress is not null" $processed = @() foreach ($adapter in $adapters) { diff --git a/plugins/hosts/alt/cap/nfs.rb b/plugins/hosts/alt/cap/nfs.rb index ed68f4a9288..8c8e5d2b5cb 100644 --- a/plugins/hosts/alt/cap/nfs.rb +++ b/plugins/hosts/alt/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/subprocess" require "vagrant/util/which" diff --git a/plugins/hosts/alt/host.rb b/plugins/hosts/alt/host.rb index 2719f2b7ed1..e73794a3a62 100644 --- a/plugins/hosts/alt/host.rb +++ b/plugins/hosts/alt/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/alt/plugin.rb b/plugins/hosts/alt/plugin.rb index 91520c2bfa7..3bf39a90b69 100644 --- a/plugins/hosts/alt/plugin.rb +++ b/plugins/hosts/alt/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/arch/cap/nfs.rb b/plugins/hosts/arch/cap/nfs.rb index 1a2dd5f1424..4c392486b82 100644 --- a/plugins/hosts/arch/cap/nfs.rb +++ b/plugins/hosts/arch/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostArch module Cap diff --git a/plugins/hosts/arch/host.rb b/plugins/hosts/arch/host.rb index ed633968932..b087202ca1f 100644 --- a/plugins/hosts/arch/host.rb +++ b/plugins/hosts/arch/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/arch/plugin.rb b/plugins/hosts/arch/plugin.rb index 354732a9908..05d4cf6d337 100644 --- a/plugins/hosts/arch/plugin.rb +++ b/plugins/hosts/arch/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/bsd/cap/nfs.rb b/plugins/hosts/bsd/cap/nfs.rb index d25592ba658..740af88b449 100644 --- a/plugins/hosts/bsd/cap/nfs.rb +++ b/plugins/hosts/bsd/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/util" diff --git a/plugins/hosts/bsd/cap/path.rb b/plugins/hosts/bsd/cap/path.rb index 25ca3cd159e..eb18159e7aa 100644 --- a/plugins/hosts/bsd/cap/path.rb +++ b/plugins/hosts/bsd/cap/path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostBSD module Cap diff --git a/plugins/hosts/bsd/cap/ssh.rb b/plugins/hosts/bsd/cap/ssh.rb index 9d38c8bea02..d8eab7b0cf3 100644 --- a/plugins/hosts/bsd/cap/ssh.rb +++ b/plugins/hosts/bsd/cap/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostBSD module Cap diff --git a/plugins/hosts/bsd/host.rb b/plugins/hosts/bsd/host.rb index a0fa6e28514..b40c9ceb7a8 100644 --- a/plugins/hosts/bsd/host.rb +++ b/plugins/hosts/bsd/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/bsd/plugin.rb b/plugins/hosts/bsd/plugin.rb index 1071576758f..14220812785 100644 --- a/plugins/hosts/bsd/plugin.rb +++ b/plugins/hosts/bsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/darwin/cap/configured_ip_addresses.rb b/plugins/hosts/darwin/cap/configured_ip_addresses.rb index 063295ea194..536721cc094 100644 --- a/plugins/hosts/darwin/cap/configured_ip_addresses.rb +++ b/plugins/hosts/darwin/cap/configured_ip_addresses.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "socket" module VagrantPlugins diff --git a/plugins/hosts/darwin/cap/fs_iso.rb b/plugins/hosts/darwin/cap/fs_iso.rb index 477f9c702ad..c3be92c9610 100644 --- a/plugins/hosts/darwin/cap/fs_iso.rb +++ b/plugins/hosts/darwin/cap/fs_iso.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant/util/caps" diff --git a/plugins/hosts/darwin/cap/nfs.rb b/plugins/hosts/darwin/cap/nfs.rb index 8b998e2bcda..aeb9e50a2ce 100644 --- a/plugins/hosts/darwin/cap/nfs.rb +++ b/plugins/hosts/darwin/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostDarwin module Cap diff --git a/plugins/hosts/darwin/cap/path.rb b/plugins/hosts/darwin/cap/path.rb index 2e03040715c..615bc837773 100644 --- a/plugins/hosts/darwin/cap/path.rb +++ b/plugins/hosts/darwin/cap/path.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostDarwin module Cap diff --git a/plugins/hosts/darwin/cap/provider_install_virtualbox.rb b/plugins/hosts/darwin/cap/provider_install_virtualbox.rb index 88a7eefa5b0..42a6a1cf086 100644 --- a/plugins/hosts/darwin/cap/provider_install_virtualbox.rb +++ b/plugins/hosts/darwin/cap/provider_install_virtualbox.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tempfile" diff --git a/plugins/hosts/darwin/cap/rdp.rb b/plugins/hosts/darwin/cap/rdp.rb index 1fb7486b510..6b03b4b35a7 100644 --- a/plugins/hosts/darwin/cap/rdp.rb +++ b/plugins/hosts/darwin/cap/rdp.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/plugins/hosts/darwin/cap/smb.rb b/plugins/hosts/darwin/cap/smb.rb index 2547ca74ec2..1affc3603b9 100644 --- a/plugins/hosts/darwin/cap/smb.rb +++ b/plugins/hosts/darwin/cap/smb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostDarwin module Cap diff --git a/plugins/hosts/darwin/cap/version.rb b/plugins/hosts/darwin/cap/version.rb index 0b655294a78..1e8d85bdd5b 100644 --- a/plugins/hosts/darwin/cap/version.rb +++ b/plugins/hosts/darwin/cap/version.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostDarwin module Cap diff --git a/plugins/hosts/darwin/host.rb b/plugins/hosts/darwin/host.rb index 080d5d4f09b..9335cf14e84 100644 --- a/plugins/hosts/darwin/host.rb +++ b/plugins/hosts/darwin/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/platform" module VagrantPlugins diff --git a/plugins/hosts/darwin/plugin.rb b/plugins/hosts/darwin/plugin.rb index f8d57cfdff1..96406ff7489 100644 --- a/plugins/hosts/darwin/plugin.rb +++ b/plugins/hosts/darwin/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/darwin/scripts/install_virtualbox.sh b/plugins/hosts/darwin/scripts/install_virtualbox.sh index 1ac0da126c2..2b2e2ebd1fd 100755 --- a/plugins/hosts/darwin/scripts/install_virtualbox.sh +++ b/plugins/hosts/darwin/scripts/install_virtualbox.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -e hdiutil attach $1 diff --git a/plugins/hosts/freebsd/cap/nfs.rb b/plugins/hosts/freebsd/cap/nfs.rb index ea723dd7934..c2097148905 100644 --- a/plugins/hosts/freebsd/cap/nfs.rb +++ b/plugins/hosts/freebsd/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util" require "vagrant/util/retryable" diff --git a/plugins/hosts/freebsd/host.rb b/plugins/hosts/freebsd/host.rb index 21460a08ed1..c7dbd1d0204 100644 --- a/plugins/hosts/freebsd/host.rb +++ b/plugins/hosts/freebsd/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require 'vagrant/util/platform' diff --git a/plugins/hosts/freebsd/plugin.rb b/plugins/hosts/freebsd/plugin.rb index 4e966837ba0..f639e116b29 100644 --- a/plugins/hosts/freebsd/plugin.rb +++ b/plugins/hosts/freebsd/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/gentoo/cap/nfs.rb b/plugins/hosts/gentoo/cap/nfs.rb index bc490220638..6d7a72d91e2 100644 --- a/plugins/hosts/gentoo/cap/nfs.rb +++ b/plugins/hosts/gentoo/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/subprocess" require "vagrant/util/which" diff --git a/plugins/hosts/gentoo/host.rb b/plugins/hosts/gentoo/host.rb index 6d8b88a6a35..aeb7ff7c76e 100644 --- a/plugins/hosts/gentoo/host.rb +++ b/plugins/hosts/gentoo/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/gentoo/plugin.rb b/plugins/hosts/gentoo/plugin.rb index 3d84c59bfd6..7a49d9fce8a 100644 --- a/plugins/hosts/gentoo/plugin.rb +++ b/plugins/hosts/gentoo/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/linux/cap/fs_iso.rb b/plugins/hosts/linux/cap/fs_iso.rb index 4aebc90d066..9bf5730a43a 100644 --- a/plugins/hosts/linux/cap/fs_iso.rb +++ b/plugins/hosts/linux/cap/fs_iso.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant/util/caps" diff --git a/plugins/hosts/linux/cap/nfs.rb b/plugins/hosts/linux/cap/nfs.rb index 4a551606578..9bf96fbd6f7 100644 --- a/plugins/hosts/linux/cap/nfs.rb +++ b/plugins/hosts/linux/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" require "vagrant/util" require "vagrant/util/shell_quote" diff --git a/plugins/hosts/linux/cap/rdp.rb b/plugins/hosts/linux/cap/rdp.rb index 3a2229bc6b0..c47130aec3a 100644 --- a/plugins/hosts/linux/cap/rdp.rb +++ b/plugins/hosts/linux/cap/rdp.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/which" module VagrantPlugins diff --git a/plugins/hosts/linux/cap/ssh.rb b/plugins/hosts/linux/cap/ssh.rb index c3a17a5f702..055a5af16f9 100644 --- a/plugins/hosts/linux/cap/ssh.rb +++ b/plugins/hosts/linux/cap/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostLinux module Cap diff --git a/plugins/hosts/linux/host.rb b/plugins/hosts/linux/host.rb index 334e62452de..b209137b98d 100644 --- a/plugins/hosts/linux/host.rb +++ b/plugins/hosts/linux/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/linux/plugin.rb b/plugins/hosts/linux/plugin.rb index e2fb24c671d..c57beec49ed 100644 --- a/plugins/hosts/linux/plugin.rb +++ b/plugins/hosts/linux/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/null/host.rb b/plugins/hosts/null/host.rb index f965452bfed..e0f839d9c8b 100644 --- a/plugins/hosts/null/host.rb +++ b/plugins/hosts/null/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/null/plugin.rb b/plugins/hosts/null/plugin.rb index 2c72912fb01..def6c4652ec 100644 --- a/plugins/hosts/null/plugin.rb +++ b/plugins/hosts/null/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/redhat/cap/nfs.rb b/plugins/hosts/redhat/cap/nfs.rb index 8bc4e5411dd..574134a1824 100644 --- a/plugins/hosts/redhat/cap/nfs.rb +++ b/plugins/hosts/redhat/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" module VagrantPlugins diff --git a/plugins/hosts/redhat/host.rb b/plugins/hosts/redhat/host.rb index 586686a9a89..e98b845455b 100644 --- a/plugins/hosts/redhat/host.rb +++ b/plugins/hosts/redhat/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant" diff --git a/plugins/hosts/redhat/plugin.rb b/plugins/hosts/redhat/plugin.rb index d4b1981be13..d0a11580ac3 100644 --- a/plugins/hosts/redhat/plugin.rb +++ b/plugins/hosts/redhat/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/slackware/cap/nfs.rb b/plugins/hosts/slackware/cap/nfs.rb index 84413236dad..e3d957b87e6 100644 --- a/plugins/hosts/slackware/cap/nfs.rb +++ b/plugins/hosts/slackware/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostSlackware module Cap diff --git a/plugins/hosts/slackware/host.rb b/plugins/hosts/slackware/host.rb index bea7cab7476..55a8a69b2a5 100644 --- a/plugins/hosts/slackware/host.rb +++ b/plugins/hosts/slackware/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/slackware/plugin.rb b/plugins/hosts/slackware/plugin.rb index 2c377c978ca..dd449410553 100644 --- a/plugins/hosts/slackware/plugin.rb +++ b/plugins/hosts/slackware/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/suse/cap/nfs.rb b/plugins/hosts/suse/cap/nfs.rb index ad71c69ece2..5e3c245abd9 100644 --- a/plugins/hosts/suse/cap/nfs.rb +++ b/plugins/hosts/suse/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostSUSE module Cap diff --git a/plugins/hosts/suse/host.rb b/plugins/hosts/suse/host.rb index 2cc5c24c7ff..35f7afbb872 100644 --- a/plugins/hosts/suse/host.rb +++ b/plugins/hosts/suse/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant" diff --git a/plugins/hosts/suse/plugin.rb b/plugins/hosts/suse/plugin.rb index 3aa1b441fd6..ac9857cc105 100644 --- a/plugins/hosts/suse/plugin.rb +++ b/plugins/hosts/suse/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/void/cap/nfs.rb b/plugins/hosts/void/cap/nfs.rb index 50fa1c810a6..83afca6a782 100644 --- a/plugins/hosts/void/cap/nfs.rb +++ b/plugins/hosts/void/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostVoid module Cap diff --git a/plugins/hosts/void/host.rb b/plugins/hosts/void/host.rb index ea22c9b6a97..f0ea33f9611 100644 --- a/plugins/hosts/void/host.rb +++ b/plugins/hosts/void/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'pathname' require 'vagrant' diff --git a/plugins/hosts/void/plugin.rb b/plugins/hosts/void/plugin.rb index 4b297ab735b..c5f59daceef 100644 --- a/plugins/hosts/void/plugin.rb +++ b/plugins/hosts/void/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/windows/cap/configured_ip_addresses.rb b/plugins/hosts/windows/cap/configured_ip_addresses.rb index cc95775b5eb..6ba2c293f66 100644 --- a/plugins/hosts/windows/cap/configured_ip_addresses.rb +++ b/plugins/hosts/windows/cap/configured_ip_addresses.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tempfile" diff --git a/plugins/hosts/windows/cap/fs_iso.rb b/plugins/hosts/windows/cap/fs_iso.rb index f076f6539d4..14a118d8b57 100644 --- a/plugins/hosts/windows/cap/fs_iso.rb +++ b/plugins/hosts/windows/cap/fs_iso.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant/util/caps" diff --git a/plugins/hosts/windows/cap/nfs.rb b/plugins/hosts/windows/cap/nfs.rb index ee1a405cf84..93961e5f2ff 100644 --- a/plugins/hosts/windows/cap/nfs.rb +++ b/plugins/hosts/windows/cap/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostWindows module Cap diff --git a/plugins/hosts/windows/cap/provider_install_virtualbox.rb b/plugins/hosts/windows/cap/provider_install_virtualbox.rb index 0aaf649e90e..6fd3c537956 100644 --- a/plugins/hosts/windows/cap/provider_install_virtualbox.rb +++ b/plugins/hosts/windows/cap/provider_install_virtualbox.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tempfile" diff --git a/plugins/hosts/windows/cap/ps.rb b/plugins/hosts/windows/cap/ps.rb index ec778359c1b..b789b3b731f 100644 --- a/plugins/hosts/windows/cap/ps.rb +++ b/plugins/hosts/windows/cap/ps.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/plugins/hosts/windows/cap/rdp.rb b/plugins/hosts/windows/cap/rdp.rb index 35805c0262c..c09e7b21065 100644 --- a/plugins/hosts/windows/cap/rdp.rb +++ b/plugins/hosts/windows/cap/rdp.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/plugins/hosts/windows/cap/smb.rb b/plugins/hosts/windows/cap/smb.rb index 02e98da337b..26a5ad44754 100644 --- a/plugins/hosts/windows/cap/smb.rb +++ b/plugins/hosts/windows/cap/smb.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostWindows module Cap diff --git a/plugins/hosts/windows/cap/ssh.rb b/plugins/hosts/windows/cap/ssh.rb index 3cb75d90b59..d7aa106c6b9 100644 --- a/plugins/hosts/windows/cap/ssh.rb +++ b/plugins/hosts/windows/cap/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HostWindows module Cap diff --git a/plugins/hosts/windows/host.rb b/plugins/hosts/windows/host.rb index 5658f9b91a4..81e97bdc6f8 100644 --- a/plugins/hosts/windows/host.rb +++ b/plugins/hosts/windows/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require 'vagrant/util/platform' diff --git a/plugins/hosts/windows/plugin.rb b/plugins/hosts/windows/plugin.rb index 64095104742..6a8e1e1e939 100644 --- a/plugins/hosts/windows/plugin.rb +++ b/plugins/hosts/windows/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/hosts/windows/scripts/check_credentials.ps1 b/plugins/hosts/windows/scripts/check_credentials.ps1 index 41c8c829863..c5a7a5c8ed5 100644 --- a/plugins/hosts/windows/scripts/check_credentials.ps1 +++ b/plugins/hosts/windows/scripts/check_credentials.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + Param( [Parameter(Mandatory=$true)] [string]$username, diff --git a/plugins/hosts/windows/scripts/host_info.ps1 b/plugins/hosts/windows/scripts/host_info.ps1 index c4f13aada1a..d97d59ddef0 100644 --- a/plugins/hosts/windows/scripts/host_info.ps1 +++ b/plugins/hosts/windows/scripts/host_info.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + $ErrorAction = "Stop" # Find all of the NICsq diff --git a/plugins/hosts/windows/scripts/install_virtualbox.ps1 b/plugins/hosts/windows/scripts/install_virtualbox.ps1 index 82a73d4b63e..b52c0956d52 100644 --- a/plugins/hosts/windows/scripts/install_virtualbox.ps1 +++ b/plugins/hosts/windows/scripts/install_virtualbox.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + Param( [Parameter(Mandatory=$True)] [string]$path diff --git a/plugins/hosts/windows/scripts/set_share.ps1 b/plugins/hosts/windows/scripts/set_share.ps1 index b483088af82..17afd4094e6 100644 --- a/plugins/hosts/windows/scripts/set_share.ps1 +++ b/plugins/hosts/windows/scripts/set_share.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # The names of the user are language dependent! $objSID = New-Object System.Security.Principal.SecurityIdentifier("S-1-1-0") $objUser = $objSID.Translate([System.Security.Principal.NTAccount]) diff --git a/plugins/hosts/windows/scripts/set_ssh_key_permissions.ps1 b/plugins/hosts/windows/scripts/set_ssh_key_permissions.ps1 index 9fc5a1d20fe..11d807915ad 100644 --- a/plugins/hosts/windows/scripts/set_ssh_key_permissions.ps1 +++ b/plugins/hosts/windows/scripts/set_ssh_key_permissions.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantSSH param( diff --git a/plugins/hosts/windows/scripts/unset_share.ps1 b/plugins/hosts/windows/scripts/unset_share.ps1 index 69dad89d12c..17fd610065e 100644 --- a/plugins/hosts/windows/scripts/unset_share.ps1 +++ b/plugins/hosts/windows/scripts/unset_share.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + ForEach ($share_name in $args) { $result = net share $share_name /DELETE /YES if ($LastExitCode -ne 0) { diff --git a/plugins/hosts/windows/scripts/utils/VagrantSSH/VagrantSSH.psm1 b/plugins/hosts/windows/scripts/utils/VagrantSSH/VagrantSSH.psm1 index 5d49a93db5d..6d570f0032c 100644 --- a/plugins/hosts/windows/scripts/utils/VagrantSSH/VagrantSSH.psm1 +++ b/plugins/hosts/windows/scripts/utils/VagrantSSH/VagrantSSH.psm1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Vagrant SSH capability functions function Set-SSHKeyPermissions { diff --git a/plugins/kernel_v1/config/nfs.rb b/plugins/kernel_v1/config/nfs.rb index 2faae956ac8..c687b840be2 100644 --- a/plugins/kernel_v1/config/nfs.rb +++ b/plugins/kernel_v1/config/nfs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v1/config/package.rb b/plugins/kernel_v1/config/package.rb index 3b521d785a3..0166c0a9e5b 100644 --- a/plugins/kernel_v1/config/package.rb +++ b/plugins/kernel_v1/config/package.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v1/config/ssh.rb b/plugins/kernel_v1/config/ssh.rb index 7d9b944b5b2..e5a4cabf461 100644 --- a/plugins/kernel_v1/config/ssh.rb +++ b/plugins/kernel_v1/config/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v1/config/vagrant.rb b/plugins/kernel_v1/config/vagrant.rb index 71c3280a40f..7e5be8ae891 100644 --- a/plugins/kernel_v1/config/vagrant.rb +++ b/plugins/kernel_v1/config/vagrant.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v1/config/vm.rb b/plugins/kernel_v1/config/vm.rb index 6e105cc8f4c..fc2df6d18be 100644 --- a/plugins/kernel_v1/config/vm.rb +++ b/plugins/kernel_v1/config/vm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Kernel_V1 # This is the Version 1.0.x Vagrant VM configuration. This is diff --git a/plugins/kernel_v1/plugin.rb b/plugins/kernel_v1/plugin.rb index e4e1134d505..393955329c4 100644 --- a/plugins/kernel_v1/plugin.rb +++ b/plugins/kernel_v1/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v2/config/cloud_init.rb b/plugins/kernel_v2/config/cloud_init.rb index 0eccf2a9b4f..d10c95d4cad 100644 --- a/plugins/kernel_v2/config/cloud_init.rb +++ b/plugins/kernel_v2/config/cloud_init.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "securerandom" diff --git a/plugins/kernel_v2/config/disk.rb b/plugins/kernel_v2/config/disk.rb index 0062d8d354b..e91bb7688b4 100644 --- a/plugins/kernel_v2/config/disk.rb +++ b/plugins/kernel_v2/config/disk.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "securerandom" diff --git a/plugins/kernel_v2/config/package.rb b/plugins/kernel_v2/config/package.rb index 2719d89f2c8..049684936a7 100644 --- a/plugins/kernel_v2/config/package.rb +++ b/plugins/kernel_v2/config/package.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v2/config/push.rb b/plugins/kernel_v2/config/push.rb index 52e4e5ef075..cc28bf9ca31 100644 --- a/plugins/kernel_v2/config/push.rb +++ b/plugins/kernel_v2/config/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v2/config/ssh.rb b/plugins/kernel_v2/config/ssh.rb index 1dc3d51c96b..7e2ea49c199 100644 --- a/plugins/kernel_v2/config/ssh.rb +++ b/plugins/kernel_v2/config/ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require_relative "ssh_connect" diff --git a/plugins/kernel_v2/config/ssh_connect.rb b/plugins/kernel_v2/config/ssh_connect.rb index 2e7e2ed65eb..4dd4323741b 100644 --- a/plugins/kernel_v2/config/ssh_connect.rb +++ b/plugins/kernel_v2/config/ssh_connect.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Kernel_V2 class SSHConnectConfig < Vagrant.plugin("2", :config) diff --git a/plugins/kernel_v2/config/trigger.rb b/plugins/kernel_v2/config/trigger.rb index d3f378b72b0..faec4b3bfb7 100644 --- a/plugins/kernel_v2/config/trigger.rb +++ b/plugins/kernel_v2/config/trigger.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require File.expand_path("../vm_trigger", __FILE__) diff --git a/plugins/kernel_v2/config/vagrant.rb b/plugins/kernel_v2/config/vagrant.rb index 0954d6a4a46..0a20fe79c7e 100644 --- a/plugins/kernel_v2/config/vagrant.rb +++ b/plugins/kernel_v2/config/vagrant.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index e5f1a5f6cc4..2c1f69e2721 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "securerandom" require "set" diff --git a/plugins/kernel_v2/config/vm_provisioner.rb b/plugins/kernel_v2/config/vm_provisioner.rb index 906a37efd9e..2e688465f93 100644 --- a/plugins/kernel_v2/config/vm_provisioner.rb +++ b/plugins/kernel_v2/config/vm_provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' module VagrantPlugins diff --git a/plugins/kernel_v2/config/vm_subvm.rb b/plugins/kernel_v2/config/vm_subvm.rb index a47b92ae579..e2d336eea04 100644 --- a/plugins/kernel_v2/config/vm_subvm.rb +++ b/plugins/kernel_v2/config/vm_subvm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/stacked_proc_runner" module VagrantPlugins diff --git a/plugins/kernel_v2/config/vm_trigger.rb b/plugins/kernel_v2/config/vm_trigger.rb index 18f9e3d6568..438257548a2 100644 --- a/plugins/kernel_v2/config/vm_trigger.rb +++ b/plugins/kernel_v2/config/vm_trigger.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "securerandom" require Vagrant.source_root.join("plugins/provisioners/shell/config") diff --git a/plugins/kernel_v2/plugin.rb b/plugins/kernel_v2/plugin.rb index 280470d19fd..3ce2ac2eafb 100644 --- a/plugins/kernel_v2/plugin.rb +++ b/plugins/kernel_v2/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/providers/docker/action.rb b/plugins/providers/docker/action.rb index f5de581ddde..629f1e3d68e 100644 --- a/plugins/providers/docker/action.rb +++ b/plugins/providers/docker/action.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/build.rb b/plugins/providers/docker/action/build.rb index 755767a3de6..446bcf64c25 100644 --- a/plugins/providers/docker/action/build.rb +++ b/plugins/providers/docker/action/build.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/util/ansi_escape_code_remover" diff --git a/plugins/providers/docker/action/compare_synced_folders.rb b/plugins/providers/docker/action/compare_synced_folders.rb index 1284a21dd22..34ad4924d40 100644 --- a/plugins/providers/docker/action/compare_synced_folders.rb +++ b/plugins/providers/docker/action/compare_synced_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/action/builtin/mixin_synced_folders" module VagrantPlugins diff --git a/plugins/providers/docker/action/connect_networks.rb b/plugins/providers/docker/action/connect_networks.rb index b1d1670a5f8..2a4335fddd9 100644 --- a/plugins/providers/docker/action/connect_networks.rb +++ b/plugins/providers/docker/action/connect_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'ipaddr' require 'log4r' diff --git a/plugins/providers/docker/action/create.rb b/plugins/providers/docker/action/create.rb index 61afc24b5f6..d99a2767920 100644 --- a/plugins/providers/docker/action/create.rb +++ b/plugins/providers/docker/action/create.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/destroy.rb b/plugins/providers/docker/action/destroy.rb index 37ae14df8f5..16f65abafab 100644 --- a/plugins/providers/docker/action/destroy.rb +++ b/plugins/providers/docker/action/destroy.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/destroy_build_image.rb b/plugins/providers/docker/action/destroy_build_image.rb index 897a7f62517..abb77a746b3 100644 --- a/plugins/providers/docker/action/destroy_build_image.rb +++ b/plugins/providers/docker/action/destroy_build_image.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/docker/action/destroy_network.rb b/plugins/providers/docker/action/destroy_network.rb index d2aa613ec6d..92ee71375d0 100644 --- a/plugins/providers/docker/action/destroy_network.rb +++ b/plugins/providers/docker/action/destroy_network.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' module VagrantPlugins diff --git a/plugins/providers/docker/action/forwarded_ports.rb b/plugins/providers/docker/action/forwarded_ports.rb index 728eead5957..ae6f88b2932 100644 --- a/plugins/providers/docker/action/forwarded_ports.rb +++ b/plugins/providers/docker/action/forwarded_ports.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/has_ssh.rb b/plugins/providers/docker/action/has_ssh.rb index 2f8c461aa1b..60c3f08db7e 100644 --- a/plugins/providers/docker/action/has_ssh.rb +++ b/plugins/providers/docker/action/has_ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/host_machine.rb b/plugins/providers/docker/action/host_machine.rb index 56f4385bb4f..2e82c0baeb7 100644 --- a/plugins/providers/docker/action/host_machine.rb +++ b/plugins/providers/docker/action/host_machine.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/docker/action/host_machine_build_dir.rb b/plugins/providers/docker/action/host_machine_build_dir.rb index 4508e8c243a..5b38caaefde 100644 --- a/plugins/providers/docker/action/host_machine_build_dir.rb +++ b/plugins/providers/docker/action/host_machine_build_dir.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "log4r" diff --git a/plugins/providers/docker/action/host_machine_port_checker.rb b/plugins/providers/docker/action/host_machine_port_checker.rb index 949605ac6c7..c5aa864239a 100644 --- a/plugins/providers/docker/action/host_machine_port_checker.rb +++ b/plugins/providers/docker/action/host_machine_port_checker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/docker/action/host_machine_port_warning.rb b/plugins/providers/docker/action/host_machine_port_warning.rb index 13ad7263656..efe061dc8c1 100644 --- a/plugins/providers/docker/action/host_machine_port_warning.rb +++ b/plugins/providers/docker/action/host_machine_port_warning.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/host_machine_required.rb b/plugins/providers/docker/action/host_machine_required.rb index e02cd10dc59..2feaa894198 100644 --- a/plugins/providers/docker/action/host_machine_required.rb +++ b/plugins/providers/docker/action/host_machine_required.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/host_machine_sync_folders.rb b/plugins/providers/docker/action/host_machine_sync_folders.rb index 38bbcc182c4..50c3c2897b1 100644 --- a/plugins/providers/docker/action/host_machine_sync_folders.rb +++ b/plugins/providers/docker/action/host_machine_sync_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "securerandom" diff --git a/plugins/providers/docker/action/host_machine_sync_folders_disable.rb b/plugins/providers/docker/action/host_machine_sync_folders_disable.rb index 24a0e2d8d6e..219f342b481 100644 --- a/plugins/providers/docker/action/host_machine_sync_folders_disable.rb +++ b/plugins/providers/docker/action/host_machine_sync_folders_disable.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/action/builtin/mixin_synced_folders" diff --git a/plugins/providers/docker/action/init_state.rb b/plugins/providers/docker/action/init_state.rb index cbb444547c8..93145cd9d90 100644 --- a/plugins/providers/docker/action/init_state.rb +++ b/plugins/providers/docker/action/init_state.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/is_build.rb b/plugins/providers/docker/action/is_build.rb index 882e294c84f..be255424867 100644 --- a/plugins/providers/docker/action/is_build.rb +++ b/plugins/providers/docker/action/is_build.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/is_host_machine_created.rb b/plugins/providers/docker/action/is_host_machine_created.rb index 07037b0ff15..dd7f1922847 100644 --- a/plugins/providers/docker/action/is_host_machine_created.rb +++ b/plugins/providers/docker/action/is_host_machine_created.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/login.rb b/plugins/providers/docker/action/login.rb index 56f3b7e2cad..623abed997b 100644 --- a/plugins/providers/docker/action/login.rb +++ b/plugins/providers/docker/action/login.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/docker/action/prepare_forwarded_port_collision_params.rb b/plugins/providers/docker/action/prepare_forwarded_port_collision_params.rb index 2a838a51b53..0626fb2fafb 100644 --- a/plugins/providers/docker/action/prepare_forwarded_port_collision_params.rb +++ b/plugins/providers/docker/action/prepare_forwarded_port_collision_params.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/prepare_networks.rb b/plugins/providers/docker/action/prepare_networks.rb index 03d763abe9c..095670c45f5 100644 --- a/plugins/providers/docker/action/prepare_networks.rb +++ b/plugins/providers/docker/action/prepare_networks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'ipaddr' require 'log4r' diff --git a/plugins/providers/docker/action/prepare_nfs_settings.rb b/plugins/providers/docker/action/prepare_nfs_settings.rb index 860d69facb4..19769001b65 100644 --- a/plugins/providers/docker/action/prepare_nfs_settings.rb +++ b/plugins/providers/docker/action/prepare_nfs_settings.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/prepare_nfs_valid_ids.rb b/plugins/providers/docker/action/prepare_nfs_valid_ids.rb index 6bc79f3b31e..35b05d874fd 100644 --- a/plugins/providers/docker/action/prepare_nfs_valid_ids.rb +++ b/plugins/providers/docker/action/prepare_nfs_valid_ids.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/prepare_ssh.rb b/plugins/providers/docker/action/prepare_ssh.rb index 450b139c69a..dce9a6b6f46 100644 --- a/plugins/providers/docker/action/prepare_ssh.rb +++ b/plugins/providers/docker/action/prepare_ssh.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/pull.rb b/plugins/providers/docker/action/pull.rb index be8875cf796..a8d4229c10b 100644 --- a/plugins/providers/docker/action/pull.rb +++ b/plugins/providers/docker/action/pull.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/start.rb b/plugins/providers/docker/action/start.rb index 5a09b5b5af6..cbf8fe8bf8d 100644 --- a/plugins/providers/docker/action/start.rb +++ b/plugins/providers/docker/action/start.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/stop.rb b/plugins/providers/docker/action/stop.rb index 2a30cf4a301..c0bd18d1445 100644 --- a/plugins/providers/docker/action/stop.rb +++ b/plugins/providers/docker/action/stop.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Action diff --git a/plugins/providers/docker/action/wait_for_running.rb b/plugins/providers/docker/action/wait_for_running.rb index 479af8a140c..71b458ac162 100644 --- a/plugins/providers/docker/action/wait_for_running.rb +++ b/plugins/providers/docker/action/wait_for_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "thread" require "log4r" diff --git a/plugins/providers/docker/cap/has_communicator.rb b/plugins/providers/docker/cap/has_communicator.rb index 42ef6c76312..618a151730b 100644 --- a/plugins/providers/docker/cap/has_communicator.rb +++ b/plugins/providers/docker/cap/has_communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Cap diff --git a/plugins/providers/docker/cap/proxy_machine.rb b/plugins/providers/docker/cap/proxy_machine.rb index 20dd487cc11..2f6550b2f8f 100644 --- a/plugins/providers/docker/cap/proxy_machine.rb +++ b/plugins/providers/docker/cap/proxy_machine.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Cap diff --git a/plugins/providers/docker/cap/public_address.rb b/plugins/providers/docker/cap/public_address.rb index 987cd668c9b..8cd615c51e5 100644 --- a/plugins/providers/docker/cap/public_address.rb +++ b/plugins/providers/docker/cap/public_address.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Cap diff --git a/plugins/providers/docker/command/exec.rb b/plugins/providers/docker/command/exec.rb index fa484705147..742ebc6645f 100644 --- a/plugins/providers/docker/command/exec.rb +++ b/plugins/providers/docker/command/exec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/safe_exec' module VagrantPlugins diff --git a/plugins/providers/docker/command/logs.rb b/plugins/providers/docker/command/logs.rb index a2abab4b2e0..e10a985bad9 100644 --- a/plugins/providers/docker/command/logs.rb +++ b/plugins/providers/docker/command/logs.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Command diff --git a/plugins/providers/docker/command/run.rb b/plugins/providers/docker/command/run.rb index 13f23dcdd63..8ab3e660a87 100644 --- a/plugins/providers/docker/command/run.rb +++ b/plugins/providers/docker/command/run.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Command diff --git a/plugins/providers/docker/communicator.rb b/plugins/providers/docker/communicator.rb index e36a2f366fa..3adf6653347 100644 --- a/plugins/providers/docker/communicator.rb +++ b/plugins/providers/docker/communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "tempfile" diff --git a/plugins/providers/docker/config.rb b/plugins/providers/docker/config.rb index 07c4e533366..7fdff4a0fad 100644 --- a/plugins/providers/docker/config.rb +++ b/plugins/providers/docker/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require_relative "../../../lib/vagrant/util/platform" diff --git a/plugins/providers/docker/driver.rb b/plugins/providers/docker/driver.rb index 41f75c8bcf7..53ec0ca2c35 100644 --- a/plugins/providers/docker/driver.rb +++ b/plugins/providers/docker/driver.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "log4r" diff --git a/plugins/providers/docker/driver/compose.rb b/plugins/providers/docker/driver/compose.rb index 76a00aa57c9..9c9cf8cc121 100644 --- a/plugins/providers/docker/driver/compose.rb +++ b/plugins/providers/docker/driver/compose.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "log4r" diff --git a/plugins/providers/docker/errors.rb b/plugins/providers/docker/errors.rb index 6569f6a3a20..3b6648f8ae5 100644 --- a/plugins/providers/docker/errors.rb +++ b/plugins/providers/docker/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider module Errors diff --git a/plugins/providers/docker/executor/local.rb b/plugins/providers/docker/executor/local.rb index 7825a029238..1a1ceab2986 100644 --- a/plugins/providers/docker/executor/local.rb +++ b/plugins/providers/docker/executor/local.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/busy" require "vagrant/util/subprocess" diff --git a/plugins/providers/docker/executor/vagrant.rb b/plugins/providers/docker/executor/vagrant.rb index dd64ea870a0..7bb1aec2325 100644 --- a/plugins/providers/docker/executor/vagrant.rb +++ b/plugins/providers/docker/executor/vagrant.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/shell_quote" module VagrantPlugins diff --git a/plugins/providers/docker/plugin.rb b/plugins/providers/docker/plugin.rb index b297016ec31..b9ca03c0b4f 100644 --- a/plugins/providers/docker/plugin.rb +++ b/plugins/providers/docker/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider autoload :Action, File.expand_path("../action", __FILE__) diff --git a/plugins/providers/docker/provider.rb b/plugins/providers/docker/provider.rb index 5a4779a0811..eaef1c80faa 100644 --- a/plugins/providers/docker/provider.rb +++ b/plugins/providers/docker/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "fileutils" require "thread" diff --git a/plugins/providers/docker/synced_folder.rb b/plugins/providers/docker/synced_folder.rb index ca382984156..3fb399c64b2 100644 --- a/plugins/providers/docker/synced_folder.rb +++ b/plugins/providers/docker/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvider class SyncedFolder < Vagrant.plugin("2", :synced_folder) diff --git a/plugins/providers/hyperv/action.rb b/plugins/providers/hyperv/action.rb index f6f3ce2805a..720c58b1249 100644 --- a/plugins/providers/hyperv/action.rb +++ b/plugins/providers/hyperv/action.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant/action/builder" diff --git a/plugins/providers/hyperv/action/check_access.rb b/plugins/providers/hyperv/action/check_access.rb index 0d1271cf28f..05b869ccac3 100644 --- a/plugins/providers/hyperv/action/check_access.rb +++ b/plugins/providers/hyperv/action/check_access.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/check_enabled.rb b/plugins/providers/hyperv/action/check_enabled.rb index c4df981cdf9..ee1c0c4d485 100644 --- a/plugins/providers/hyperv/action/check_enabled.rb +++ b/plugins/providers/hyperv/action/check_enabled.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "log4r" diff --git a/plugins/providers/hyperv/action/configure.rb b/plugins/providers/hyperv/action/configure.rb index ba322838f8a..880ed835e84 100644 --- a/plugins/providers/hyperv/action/configure.rb +++ b/plugins/providers/hyperv/action/configure.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "log4r" diff --git a/plugins/providers/hyperv/action/delete_vm.rb b/plugins/providers/hyperv/action/delete_vm.rb index 03d8c0be994..136c5ec88aa 100644 --- a/plugins/providers/hyperv/action/delete_vm.rb +++ b/plugins/providers/hyperv/action/delete_vm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/export.rb b/plugins/providers/hyperv/action/export.rb index 34a5404096a..9483de11bbe 100644 --- a/plugins/providers/hyperv/action/export.rb +++ b/plugins/providers/hyperv/action/export.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" module VagrantPlugins diff --git a/plugins/providers/hyperv/action/import.rb b/plugins/providers/hyperv/action/import.rb index afec6f39a9c..3bf2fc0850a 100644 --- a/plugins/providers/hyperv/action/import.rb +++ b/plugins/providers/hyperv/action/import.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "log4r" diff --git a/plugins/providers/hyperv/action/is_windows.rb b/plugins/providers/hyperv/action/is_windows.rb index 0ea0515a5a5..ea057668be2 100644 --- a/plugins/providers/hyperv/action/is_windows.rb +++ b/plugins/providers/hyperv/action/is_windows.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/message_will_not_destroy.rb b/plugins/providers/hyperv/action/message_will_not_destroy.rb index e7b117a8b03..3c371d81ec2 100644 --- a/plugins/providers/hyperv/action/message_will_not_destroy.rb +++ b/plugins/providers/hyperv/action/message_will_not_destroy.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/net_set_mac.rb b/plugins/providers/hyperv/action/net_set_mac.rb index 633af5ae0e6..36adf164085 100644 --- a/plugins/providers/hyperv/action/net_set_mac.rb +++ b/plugins/providers/hyperv/action/net_set_mac.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/net_set_vlan.rb b/plugins/providers/hyperv/action/net_set_vlan.rb index c65f5a7cb75..50b54c42c70 100644 --- a/plugins/providers/hyperv/action/net_set_vlan.rb +++ b/plugins/providers/hyperv/action/net_set_vlan.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/package.rb b/plugins/providers/hyperv/action/package.rb index 62b1a3774b8..3dbe3799ecc 100644 --- a/plugins/providers/hyperv/action/package.rb +++ b/plugins/providers/hyperv/action/package.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../lib/vagrant/action/general/package" module VagrantPlugins diff --git a/plugins/providers/hyperv/action/package_metadata_json.rb b/plugins/providers/hyperv/action/package_metadata_json.rb index de236426831..5fbc8c4528a 100644 --- a/plugins/providers/hyperv/action/package_metadata_json.rb +++ b/plugins/providers/hyperv/action/package_metadata_json.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" #require 'vagrant/util/template_renderer' diff --git a/plugins/providers/hyperv/action/package_setup_files.rb b/plugins/providers/hyperv/action/package_setup_files.rb index ea0fd1b6c46..d642c029fc1 100644 --- a/plugins/providers/hyperv/action/package_setup_files.rb +++ b/plugins/providers/hyperv/action/package_setup_files.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../lib/vagrant/action/general/package_setup_files" module VagrantPlugins diff --git a/plugins/providers/hyperv/action/package_setup_folders.rb b/plugins/providers/hyperv/action/package_setup_folders.rb index 12a2ff190ae..25c8a63d038 100644 --- a/plugins/providers/hyperv/action/package_setup_folders.rb +++ b/plugins/providers/hyperv/action/package_setup_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require_relative "../../../../lib/vagrant/action/general/package_setup_folders" diff --git a/plugins/providers/hyperv/action/package_vagrantfile.rb b/plugins/providers/hyperv/action/package_vagrantfile.rb index 171daa0656b..289a9923dd2 100644 --- a/plugins/providers/hyperv/action/package_vagrantfile.rb +++ b/plugins/providers/hyperv/action/package_vagrantfile.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/template_renderer' module VagrantPlugins diff --git a/plugins/providers/hyperv/action/read_guest_ip.rb b/plugins/providers/hyperv/action/read_guest_ip.rb index 3f311ddb79f..cbe705af9dd 100644 --- a/plugins/providers/hyperv/action/read_guest_ip.rb +++ b/plugins/providers/hyperv/action/read_guest_ip.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "timeout" diff --git a/plugins/providers/hyperv/action/read_state.rb b/plugins/providers/hyperv/action/read_state.rb index 154e88a8219..0baf09d0117 100644 --- a/plugins/providers/hyperv/action/read_state.rb +++ b/plugins/providers/hyperv/action/read_state.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" diff --git a/plugins/providers/hyperv/action/resume_vm.rb b/plugins/providers/hyperv/action/resume_vm.rb index b872ece4cb2..7cf8559a7db 100644 --- a/plugins/providers/hyperv/action/resume_vm.rb +++ b/plugins/providers/hyperv/action/resume_vm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/set_name.rb b/plugins/providers/hyperv/action/set_name.rb index 91a82695af9..cc9e0093f3a 100644 --- a/plugins/providers/hyperv/action/set_name.rb +++ b/plugins/providers/hyperv/action/set_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/hyperv/action/snapshot_delete.rb b/plugins/providers/hyperv/action/snapshot_delete.rb index 2f249274059..48b4cba2e82 100644 --- a/plugins/providers/hyperv/action/snapshot_delete.rb +++ b/plugins/providers/hyperv/action/snapshot_delete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/snapshot_restore.rb b/plugins/providers/hyperv/action/snapshot_restore.rb index cf5f0a9f972..79e70719328 100644 --- a/plugins/providers/hyperv/action/snapshot_restore.rb +++ b/plugins/providers/hyperv/action/snapshot_restore.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/snapshot_save.rb b/plugins/providers/hyperv/action/snapshot_save.rb index d8164129654..c40b443a078 100644 --- a/plugins/providers/hyperv/action/snapshot_save.rb +++ b/plugins/providers/hyperv/action/snapshot_save.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/start_instance.rb b/plugins/providers/hyperv/action/start_instance.rb index 10b6bceb3aa..8d764958cd1 100644 --- a/plugins/providers/hyperv/action/start_instance.rb +++ b/plugins/providers/hyperv/action/start_instance.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/stop_instance.rb b/plugins/providers/hyperv/action/stop_instance.rb index 59aeef947b1..1dff34bc48d 100644 --- a/plugins/providers/hyperv/action/stop_instance.rb +++ b/plugins/providers/hyperv/action/stop_instance.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/suspend_vm.rb b/plugins/providers/hyperv/action/suspend_vm.rb index d161a951aec..9c693d5ec00 100644 --- a/plugins/providers/hyperv/action/suspend_vm.rb +++ b/plugins/providers/hyperv/action/suspend_vm.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Action diff --git a/plugins/providers/hyperv/action/wait_for_ip_address.rb b/plugins/providers/hyperv/action/wait_for_ip_address.rb index 683b2e01d28..0c0d6b3d0c4 100644 --- a/plugins/providers/hyperv/action/wait_for_ip_address.rb +++ b/plugins/providers/hyperv/action/wait_for_ip_address.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" require "timeout" diff --git a/plugins/providers/hyperv/cap/cleanup_disks.rb b/plugins/providers/hyperv/cap/cleanup_disks.rb index 5ace4422162..795507ef307 100644 --- a/plugins/providers/hyperv/cap/cleanup_disks.rb +++ b/plugins/providers/hyperv/cap/cleanup_disks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/util/experimental" diff --git a/plugins/providers/hyperv/cap/configure_disks.rb b/plugins/providers/hyperv/cap/configure_disks.rb index e7d5fe96a4f..76cf8902f6d 100644 --- a/plugins/providers/hyperv/cap/configure_disks.rb +++ b/plugins/providers/hyperv/cap/configure_disks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "fileutils" require "vagrant/util/numeric" diff --git a/plugins/providers/hyperv/cap/public_address.rb b/plugins/providers/hyperv/cap/public_address.rb index cb7d4f6921b..fd1151189f2 100644 --- a/plugins/providers/hyperv/cap/public_address.rb +++ b/plugins/providers/hyperv/cap/public_address.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Cap diff --git a/plugins/providers/hyperv/cap/snapshot_list.rb b/plugins/providers/hyperv/cap/snapshot_list.rb index adafd35142a..d347470baf3 100644 --- a/plugins/providers/hyperv/cap/snapshot_list.rb +++ b/plugins/providers/hyperv/cap/snapshot_list.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Cap diff --git a/plugins/providers/hyperv/cap/validate_disk_ext.rb b/plugins/providers/hyperv/cap/validate_disk_ext.rb index 74512094aa3..6438d6c5dcd 100644 --- a/plugins/providers/hyperv/cap/validate_disk_ext.rb +++ b/plugins/providers/hyperv/cap/validate_disk_ext.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/hyperv/config.rb b/plugins/providers/hyperv/config.rb index ab56eef33e5..8b474b13f79 100644 --- a/plugins/providers/hyperv/config.rb +++ b/plugins/providers/hyperv/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/providers/hyperv/driver.rb b/plugins/providers/hyperv/driver.rb index 8fa6e8dd4e5..19284fc8cde 100644 --- a/plugins/providers/hyperv/driver.rb +++ b/plugins/providers/hyperv/driver.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "log4r" diff --git a/plugins/providers/hyperv/errors.rb b/plugins/providers/hyperv/errors.rb index 72db0aa5ba9..f9f8e3ed22a 100644 --- a/plugins/providers/hyperv/errors.rb +++ b/plugins/providers/hyperv/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV module Errors diff --git a/plugins/providers/hyperv/plugin.rb b/plugins/providers/hyperv/plugin.rb index c7d6eb2b9ec..5d68af30887 100644 --- a/plugins/providers/hyperv/plugin.rb +++ b/plugins/providers/hyperv/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HyperV autoload :Action, File.expand_path("../action", __FILE__) diff --git a/plugins/providers/hyperv/provider.rb b/plugins/providers/hyperv/provider.rb index 50556456367..21886cd0769 100644 --- a/plugins/providers/hyperv/provider.rb +++ b/plugins/providers/hyperv/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require_relative "driver" diff --git a/plugins/providers/hyperv/scripts/attach_disk_drive.ps1 b/plugins/providers/hyperv/scripts/attach_disk_drive.ps1 index 64ee1ab2729..c73f70fa011 100644 --- a/plugins/providers/hyperv/scripts/attach_disk_drive.ps1 +++ b/plugins/providers/hyperv/scripts/attach_disk_drive.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/check_hyperv.ps1 b/plugins/providers/hyperv/scripts/check_hyperv.ps1 index 9e64bed1480..f201d7c1b62 100644 --- a/plugins/providers/hyperv/scripts/check_hyperv.ps1 +++ b/plugins/providers/hyperv/scripts/check_hyperv.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages $check = $(-Not (-Not (Get-Command "Hyper-V\Get-VMSwitch" -ErrorAction SilentlyContinue))) diff --git a/plugins/providers/hyperv/scripts/check_hyperv_access.ps1 b/plugins/providers/hyperv/scripts/check_hyperv_access.ps1 index 13d2dd8795e..4d33a745d07 100644 --- a/plugins/providers/hyperv/scripts/check_hyperv_access.ps1 +++ b/plugins/providers/hyperv/scripts/check_hyperv_access.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages, VagrantVM param( diff --git a/plugins/providers/hyperv/scripts/clone_vhd.ps1 b/plugins/providers/hyperv/scripts/clone_vhd.ps1 index 1fe4ab3ccc2..cc37db84297 100644 --- a/plugins/providers/hyperv/scripts/clone_vhd.ps1 +++ b/plugins/providers/hyperv/scripts/clone_vhd.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/configure_vm.ps1 b/plugins/providers/hyperv/scripts/configure_vm.ps1 index 4e4639fcc76..b0b35a59288 100644 --- a/plugins/providers/hyperv/scripts/configure_vm.ps1 +++ b/plugins/providers/hyperv/scripts/configure_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantVM, VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/create_snapshot.ps1 b/plugins/providers/hyperv/scripts/create_snapshot.ps1 index 8b98f1c6e4c..240e07ab376 100644 --- a/plugins/providers/hyperv/scripts/create_snapshot.ps1 +++ b/plugins/providers/hyperv/scripts/create_snapshot.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/delete_snapshot.ps1 b/plugins/providers/hyperv/scripts/delete_snapshot.ps1 index 54633fa594c..b2fdcbfd45a 100644 --- a/plugins/providers/hyperv/scripts/delete_snapshot.ps1 +++ b/plugins/providers/hyperv/scripts/delete_snapshot.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/delete_vm.ps1 b/plugins/providers/hyperv/scripts/delete_vm.ps1 index 6e6b59bfa63..9ecf9215dd7 100644 --- a/plugins/providers/hyperv/scripts/delete_vm.ps1 +++ b/plugins/providers/hyperv/scripts/delete_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/dismount_vhd.ps1 b/plugins/providers/hyperv/scripts/dismount_vhd.ps1 index e53e359bf42..0a382d9d120 100644 --- a/plugins/providers/hyperv/scripts/dismount_vhd.ps1 +++ b/plugins/providers/hyperv/scripts/dismount_vhd.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/export_vm.ps1 b/plugins/providers/hyperv/scripts/export_vm.ps1 index 8289922910a..ad2431117c7 100644 --- a/plugins/providers/hyperv/scripts/export_vm.ps1 +++ b/plugins/providers/hyperv/scripts/export_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/get_network_config.ps1 b/plugins/providers/hyperv/scripts/get_network_config.ps1 index 7dbd4c8daff..961f1e45c6e 100644 --- a/plugins/providers/hyperv/scripts/get_network_config.ps1 +++ b/plugins/providers/hyperv/scripts/get_network_config.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/get_network_mac.ps1 b/plugins/providers/hyperv/scripts/get_network_mac.ps1 index c00be744f08..c5fb53d84b0 100644 --- a/plugins/providers/hyperv/scripts/get_network_mac.ps1 +++ b/plugins/providers/hyperv/scripts/get_network_mac.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/get_switches.ps1 b/plugins/providers/hyperv/scripts/get_switches.ps1 index 5c56854fd3e..2115435925f 100644 --- a/plugins/providers/hyperv/scripts/get_switches.ps1 +++ b/plugins/providers/hyperv/scripts/get_switches.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages # This will have a SwitchType property. As far as I know the values are: # diff --git a/plugins/providers/hyperv/scripts/get_vhd.ps1 b/plugins/providers/hyperv/scripts/get_vhd.ps1 index 49124167e51..94a04a979ce 100644 --- a/plugins/providers/hyperv/scripts/get_vhd.ps1 +++ b/plugins/providers/hyperv/scripts/get_vhd.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/get_vm_status.ps1 b/plugins/providers/hyperv/scripts/get_vm_status.ps1 index 5c7630d6436..7f868d9efd3 100644 --- a/plugins/providers/hyperv/scripts/get_vm_status.ps1 +++ b/plugins/providers/hyperv/scripts/get_vm_status.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/has_vmcx_support.ps1 b/plugins/providers/hyperv/scripts/has_vmcx_support.ps1 index 9edba13d8f8..964a1da690d 100644 --- a/plugins/providers/hyperv/scripts/has_vmcx_support.ps1 +++ b/plugins/providers/hyperv/scripts/has_vmcx_support.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages # Windows version 10 and up have support for binary format diff --git a/plugins/providers/hyperv/scripts/import_vm.ps1 b/plugins/providers/hyperv/scripts/import_vm.ps1 index e339a754eab..99b84c53974 100644 --- a/plugins/providers/hyperv/scripts/import_vm.ps1 +++ b/plugins/providers/hyperv/scripts/import_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantVM, VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/list_hdds.ps1 b/plugins/providers/hyperv/scripts/list_hdds.ps1 index 907484a33e6..e027ab6d185 100644 --- a/plugins/providers/hyperv/scripts/list_hdds.ps1 +++ b/plugins/providers/hyperv/scripts/list_hdds.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/list_snapshots.ps1 b/plugins/providers/hyperv/scripts/list_snapshots.ps1 index 33740cc045a..d0439723338 100644 --- a/plugins/providers/hyperv/scripts/list_snapshots.ps1 +++ b/plugins/providers/hyperv/scripts/list_snapshots.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/new_vhd.ps1 b/plugins/providers/hyperv/scripts/new_vhd.ps1 index a8525928c7d..60ff8c8fe29 100644 --- a/plugins/providers/hyperv/scripts/new_vhd.ps1 +++ b/plugins/providers/hyperv/scripts/new_vhd.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/remove_disk_drive.ps1 b/plugins/providers/hyperv/scripts/remove_disk_drive.ps1 index caff08e68b7..49d433eb41b 100644 --- a/plugins/providers/hyperv/scripts/remove_disk_drive.ps1 +++ b/plugins/providers/hyperv/scripts/remove_disk_drive.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/resize_disk_drive.ps1 b/plugins/providers/hyperv/scripts/resize_disk_drive.ps1 index c890ecd4a47..cdfb5353bf5 100644 --- a/plugins/providers/hyperv/scripts/resize_disk_drive.ps1 +++ b/plugins/providers/hyperv/scripts/resize_disk_drive.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/restore_snapshot.ps1 b/plugins/providers/hyperv/scripts/restore_snapshot.ps1 index d8924dc2624..3aba8c2cc9c 100644 --- a/plugins/providers/hyperv/scripts/restore_snapshot.ps1 +++ b/plugins/providers/hyperv/scripts/restore_snapshot.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/resume_vm.ps1 b/plugins/providers/hyperv/scripts/resume_vm.ps1 index 1fe35dd1c55..f48e9b1a019 100644 --- a/plugins/providers/hyperv/scripts/resume_vm.ps1 +++ b/plugins/providers/hyperv/scripts/resume_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/set_enhanced_session_transport_type.ps1 b/plugins/providers/hyperv/scripts/set_enhanced_session_transport_type.ps1 index 6a591816faa..5de55a32409 100644 --- a/plugins/providers/hyperv/scripts/set_enhanced_session_transport_type.ps1 +++ b/plugins/providers/hyperv/scripts/set_enhanced_session_transport_type.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param ( diff --git a/plugins/providers/hyperv/scripts/set_name.ps1 b/plugins/providers/hyperv/scripts/set_name.ps1 index 6cb34286ee1..1e40253958c 100644 --- a/plugins/providers/hyperv/scripts/set_name.ps1 +++ b/plugins/providers/hyperv/scripts/set_name.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param ( diff --git a/plugins/providers/hyperv/scripts/set_network_mac.ps1 b/plugins/providers/hyperv/scripts/set_network_mac.ps1 index 09338a8601e..f172cfbd6fa 100644 --- a/plugins/providers/hyperv/scripts/set_network_mac.ps1 +++ b/plugins/providers/hyperv/scripts/set_network_mac.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param ( diff --git a/plugins/providers/hyperv/scripts/set_network_vlan.ps1 b/plugins/providers/hyperv/scripts/set_network_vlan.ps1 index 025ba8d5770..3d121d108a9 100644 --- a/plugins/providers/hyperv/scripts/set_network_vlan.ps1 +++ b/plugins/providers/hyperv/scripts/set_network_vlan.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param ( diff --git a/plugins/providers/hyperv/scripts/set_vm_integration_services.ps1 b/plugins/providers/hyperv/scripts/set_vm_integration_services.ps1 index f53c97bc58d..5d0689ce22b 100644 --- a/plugins/providers/hyperv/scripts/set_vm_integration_services.ps1 +++ b/plugins/providers/hyperv/scripts/set_vm_integration_services.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantVM, VagrantMessages param ( diff --git a/plugins/providers/hyperv/scripts/start_vm.ps1 b/plugins/providers/hyperv/scripts/start_vm.ps1 index 83ed9b8f599..5f1c2289776 100644 --- a/plugins/providers/hyperv/scripts/start_vm.ps1 +++ b/plugins/providers/hyperv/scripts/start_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param ( diff --git a/plugins/providers/hyperv/scripts/stop_vm.ps1 b/plugins/providers/hyperv/scripts/stop_vm.ps1 index 6624e43cbda..3db1bd1c8d7 100644 --- a/plugins/providers/hyperv/scripts/stop_vm.ps1 +++ b/plugins/providers/hyperv/scripts/stop_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages Param( diff --git a/plugins/providers/hyperv/scripts/suspend_vm.ps1 b/plugins/providers/hyperv/scripts/suspend_vm.ps1 index a56bd76b03d..4e304cb7cf9 100644 --- a/plugins/providers/hyperv/scripts/suspend_vm.ps1 +++ b/plugins/providers/hyperv/scripts/suspend_vm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + #Requires -Modules VagrantMessages param( diff --git a/plugins/providers/hyperv/scripts/utils/VagrantVM/VagrantVM.psm1 b/plugins/providers/hyperv/scripts/utils/VagrantVM/VagrantVM.psm1 index 00852a4006b..ab59585254d 100644 --- a/plugins/providers/hyperv/scripts/utils/VagrantVM/VagrantVM.psm1 +++ b/plugins/providers/hyperv/scripts/utils/VagrantVM/VagrantVM.psm1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Always stop when errors are encountered unless instructed not to $ErrorActionPreference = "Stop" diff --git a/plugins/providers/virtualbox/action.rb b/plugins/providers/virtualbox/action.rb index b8244454c99..f1f41094d61 100644 --- a/plugins/providers/virtualbox/action.rb +++ b/plugins/providers/virtualbox/action.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/action/builder" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/boot.rb b/plugins/providers/virtualbox/action/boot.rb index 589a49d69d7..da39e4938c4 100644 --- a/plugins/providers/virtualbox/action/boot.rb +++ b/plugins/providers/virtualbox/action/boot.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/check_accessible.rb b/plugins/providers/virtualbox/action/check_accessible.rb index e92bcf492bd..3565515f79f 100644 --- a/plugins/providers/virtualbox/action/check_accessible.rb +++ b/plugins/providers/virtualbox/action/check_accessible.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/check_created.rb b/plugins/providers/virtualbox/action/check_created.rb index b1315e7b00d..41876d70759 100644 --- a/plugins/providers/virtualbox/action/check_created.rb +++ b/plugins/providers/virtualbox/action/check_created.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/check_guest_additions.rb b/plugins/providers/virtualbox/action/check_guest_additions.rb index 04a15376bb9..ff6decb7b95 100644 --- a/plugins/providers/virtualbox/action/check_guest_additions.rb +++ b/plugins/providers/virtualbox/action/check_guest_additions.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/check_running.rb b/plugins/providers/virtualbox/action/check_running.rb index 99ac428a4db..a2fe6748178 100644 --- a/plugins/providers/virtualbox/action/check_running.rb +++ b/plugins/providers/virtualbox/action/check_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/check_virtualbox.rb b/plugins/providers/virtualbox/action/check_virtualbox.rb index 1ae3eee30c0..309236196ec 100644 --- a/plugins/providers/virtualbox/action/check_virtualbox.rb +++ b/plugins/providers/virtualbox/action/check_virtualbox.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/platform' module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/clean_machine_folder.rb b/plugins/providers/virtualbox/action/clean_machine_folder.rb index d4fdf52038a..e4a1c6cd3d1 100644 --- a/plugins/providers/virtualbox/action/clean_machine_folder.rb +++ b/plugins/providers/virtualbox/action/clean_machine_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/clear_forwarded_ports.rb b/plugins/providers/virtualbox/action/clear_forwarded_ports.rb index 4252e04da2b..a2b38c4ce54 100644 --- a/plugins/providers/virtualbox/action/clear_forwarded_ports.rb +++ b/plugins/providers/virtualbox/action/clear_forwarded_ports.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/clear_network_interfaces.rb b/plugins/providers/virtualbox/action/clear_network_interfaces.rb index 5bbde065197..c70c8abc4f6 100644 --- a/plugins/providers/virtualbox/action/clear_network_interfaces.rb +++ b/plugins/providers/virtualbox/action/clear_network_interfaces.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/created.rb b/plugins/providers/virtualbox/action/created.rb index f1ff75d9f2c..8b0db1d80b0 100644 --- a/plugins/providers/virtualbox/action/created.rb +++ b/plugins/providers/virtualbox/action/created.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/customize.rb b/plugins/providers/virtualbox/action/customize.rb index 95049c3d0fb..e29bb3d31de 100644 --- a/plugins/providers/virtualbox/action/customize.rb +++ b/plugins/providers/virtualbox/action/customize.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/destroy.rb b/plugins/providers/virtualbox/action/destroy.rb index dcf8a82012a..75796bf4be3 100644 --- a/plugins/providers/virtualbox/action/destroy.rb +++ b/plugins/providers/virtualbox/action/destroy.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb b/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb index 31c34f2c8c2..907a6b9b8b7 100644 --- a/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +++ b/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/discard_state.rb b/plugins/providers/virtualbox/action/discard_state.rb index 3f3d5da97d8..93e843c0733 100644 --- a/plugins/providers/virtualbox/action/discard_state.rb +++ b/plugins/providers/virtualbox/action/discard_state.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/export.rb b/plugins/providers/virtualbox/action/export.rb index 51c1621f367..d2569649953 100644 --- a/plugins/providers/virtualbox/action/export.rb +++ b/plugins/providers/virtualbox/action/export.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require 'vagrant/util/platform' diff --git a/plugins/providers/virtualbox/action/forced_halt.rb b/plugins/providers/virtualbox/action/forced_halt.rb index 8fc20782cd5..3614dcbe5fb 100644 --- a/plugins/providers/virtualbox/action/forced_halt.rb +++ b/plugins/providers/virtualbox/action/forced_halt.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/forward_ports.rb b/plugins/providers/virtualbox/action/forward_ports.rb index a468ae61bcb..c13cdd86421 100644 --- a/plugins/providers/virtualbox/action/forward_ports.rb +++ b/plugins/providers/virtualbox/action/forward_ports.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/import.rb b/plugins/providers/virtualbox/action/import.rb index 3586e90572e..fca4def3fd6 100644 --- a/plugins/providers/virtualbox/action/import.rb +++ b/plugins/providers/virtualbox/action/import.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/import_master.rb b/plugins/providers/virtualbox/action/import_master.rb index 6e2fc28b6cf..ba24342b231 100644 --- a/plugins/providers/virtualbox/action/import_master.rb +++ b/plugins/providers/virtualbox/action/import_master.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "digest/md5" diff --git a/plugins/providers/virtualbox/action/is_paused.rb b/plugins/providers/virtualbox/action/is_paused.rb index f4a0d7c431c..af9196c1858 100644 --- a/plugins/providers/virtualbox/action/is_paused.rb +++ b/plugins/providers/virtualbox/action/is_paused.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/is_running.rb b/plugins/providers/virtualbox/action/is_running.rb index 7aa1488582c..f1e09d87d19 100644 --- a/plugins/providers/virtualbox/action/is_running.rb +++ b/plugins/providers/virtualbox/action/is_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/is_saved.rb b/plugins/providers/virtualbox/action/is_saved.rb index 18474b5eb6a..06619d850ab 100644 --- a/plugins/providers/virtualbox/action/is_saved.rb +++ b/plugins/providers/virtualbox/action/is_saved.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/match_mac_address.rb b/plugins/providers/virtualbox/action/match_mac_address.rb index 5b1f95ab193..81c3c9eb57f 100644 --- a/plugins/providers/virtualbox/action/match_mac_address.rb +++ b/plugins/providers/virtualbox/action/match_mac_address.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/message_already_running.rb b/plugins/providers/virtualbox/action/message_already_running.rb index dd8c30efeab..7b9b3323196 100644 --- a/plugins/providers/virtualbox/action/message_already_running.rb +++ b/plugins/providers/virtualbox/action/message_already_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/message_not_created.rb b/plugins/providers/virtualbox/action/message_not_created.rb index 1bd792c9ede..9ca967334a5 100644 --- a/plugins/providers/virtualbox/action/message_not_created.rb +++ b/plugins/providers/virtualbox/action/message_not_created.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/message_not_running.rb b/plugins/providers/virtualbox/action/message_not_running.rb index fdfff199e4b..3726896604b 100644 --- a/plugins/providers/virtualbox/action/message_not_running.rb +++ b/plugins/providers/virtualbox/action/message_not_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/message_will_not_destroy.rb b/plugins/providers/virtualbox/action/message_will_not_destroy.rb index fe6a8d11962..30bbf757d01 100644 --- a/plugins/providers/virtualbox/action/message_will_not_destroy.rb +++ b/plugins/providers/virtualbox/action/message_will_not_destroy.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/network.rb b/plugins/providers/virtualbox/action/network.rb index a42d62b6653..d8000effc26 100644 --- a/plugins/providers/virtualbox/action/network.rb +++ b/plugins/providers/virtualbox/action/network.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" require "resolv" require "set" diff --git a/plugins/providers/virtualbox/action/network_fix_ipv6.rb b/plugins/providers/virtualbox/action/network_fix_ipv6.rb index 33bcf3e987e..ebfa64714a1 100644 --- a/plugins/providers/virtualbox/action/network_fix_ipv6.rb +++ b/plugins/providers/virtualbox/action/network_fix_ipv6.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" require "socket" diff --git a/plugins/providers/virtualbox/action/package.rb b/plugins/providers/virtualbox/action/package.rb index fb5ebdabfba..b7b0eaa55b7 100644 --- a/plugins/providers/virtualbox/action/package.rb +++ b/plugins/providers/virtualbox/action/package.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../lib/vagrant/action/general/package" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/package_setup_files.rb b/plugins/providers/virtualbox/action/package_setup_files.rb index f256b173d3b..67c61b6e99e 100644 --- a/plugins/providers/virtualbox/action/package_setup_files.rb +++ b/plugins/providers/virtualbox/action/package_setup_files.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../lib/vagrant/action/general/package_setup_files" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/package_setup_folders.rb b/plugins/providers/virtualbox/action/package_setup_folders.rb index a0baf516f03..72cce154616 100644 --- a/plugins/providers/virtualbox/action/package_setup_folders.rb +++ b/plugins/providers/virtualbox/action/package_setup_folders.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require_relative "../../../../lib/vagrant/action/general/package_setup_folders" diff --git a/plugins/providers/virtualbox/action/package_vagrantfile.rb b/plugins/providers/virtualbox/action/package_vagrantfile.rb index f7ab1e22c5b..93ccd1a6b8a 100644 --- a/plugins/providers/virtualbox/action/package_vagrantfile.rb +++ b/plugins/providers/virtualbox/action/package_vagrantfile.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'vagrant/util/template_renderer' module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb b/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb index 653e61a914b..c80f4f4b696 100644 --- a/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb +++ b/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "digest/md5" diff --git a/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb b/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb index 7fad5ee1e04..a96e8c3da7b 100644 --- a/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb +++ b/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/prepare_nfs_settings.rb b/plugins/providers/virtualbox/action/prepare_nfs_settings.rb index 5ddbfb442fe..9854417daff 100644 --- a/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +++ b/plugins/providers/virtualbox/action/prepare_nfs_settings.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ipaddr" require "vagrant/action/builtin/mixin_synced_folders" diff --git a/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb b/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb index 902e27485e1..9b78233f259 100644 --- a/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb +++ b/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/resume.rb b/plugins/providers/virtualbox/action/resume.rb index 5b2e055fc48..63a33b9fd03 100644 --- a/plugins/providers/virtualbox/action/resume.rb +++ b/plugins/providers/virtualbox/action/resume.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/sane_defaults.rb b/plugins/providers/virtualbox/action/sane_defaults.rb index 6bed761df26..05a8933c2cd 100644 --- a/plugins/providers/virtualbox/action/sane_defaults.rb +++ b/plugins/providers/virtualbox/action/sane_defaults.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/set_default_nic_type.rb b/plugins/providers/virtualbox/action/set_default_nic_type.rb index 8d7b18db064..1f5abd84e94 100644 --- a/plugins/providers/virtualbox/action/set_default_nic_type.rb +++ b/plugins/providers/virtualbox/action/set_default_nic_type.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/set_name.rb b/plugins/providers/virtualbox/action/set_name.rb index 0e80f4591b3..00d9abf49b6 100644 --- a/plugins/providers/virtualbox/action/set_name.rb +++ b/plugins/providers/virtualbox/action/set_name.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/action/setup_package_files.rb b/plugins/providers/virtualbox/action/setup_package_files.rb index d7bc93da373..6286ab93ce2 100644 --- a/plugins/providers/virtualbox/action/setup_package_files.rb +++ b/plugins/providers/virtualbox/action/setup_package_files.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require_relative "package_setup_files" diff --git a/plugins/providers/virtualbox/action/snapshot_delete.rb b/plugins/providers/virtualbox/action/snapshot_delete.rb index 74fac9440f7..448cc163948 100644 --- a/plugins/providers/virtualbox/action/snapshot_delete.rb +++ b/plugins/providers/virtualbox/action/snapshot_delete.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/snapshot_restore.rb b/plugins/providers/virtualbox/action/snapshot_restore.rb index 922d51d8466..bd91958d022 100644 --- a/plugins/providers/virtualbox/action/snapshot_restore.rb +++ b/plugins/providers/virtualbox/action/snapshot_restore.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/snapshot_save.rb b/plugins/providers/virtualbox/action/snapshot_save.rb index 98b720763d0..4e8019bf692 100644 --- a/plugins/providers/virtualbox/action/snapshot_save.rb +++ b/plugins/providers/virtualbox/action/snapshot_save.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/action/suspend.rb b/plugins/providers/virtualbox/action/suspend.rb index 53a08edfc6d..6323761b94e 100644 --- a/plugins/providers/virtualbox/action/suspend.rb +++ b/plugins/providers/virtualbox/action/suspend.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Action diff --git a/plugins/providers/virtualbox/cap.rb b/plugins/providers/virtualbox/cap.rb index ab170b28284..89b591d0770 100644 --- a/plugins/providers/virtualbox/cap.rb +++ b/plugins/providers/virtualbox/cap.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Cap diff --git a/plugins/providers/virtualbox/cap/cleanup_disks.rb b/plugins/providers/virtualbox/cap/cleanup_disks.rb index b01a2b5baa6..9c8306fd014 100644 --- a/plugins/providers/virtualbox/cap/cleanup_disks.rb +++ b/plugins/providers/virtualbox/cap/cleanup_disks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/util/experimental" diff --git a/plugins/providers/virtualbox/cap/configure_disks.rb b/plugins/providers/virtualbox/cap/configure_disks.rb index 48dd2a3368c..24d85c8d6f7 100644 --- a/plugins/providers/virtualbox/cap/configure_disks.rb +++ b/plugins/providers/virtualbox/cap/configure_disks.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "fileutils" require "vagrant/util/numeric" diff --git a/plugins/providers/virtualbox/cap/mount_options.rb b/plugins/providers/virtualbox/cap/mount_options.rb index 39bb4c535f3..38889e4d264 100644 --- a/plugins/providers/virtualbox/cap/mount_options.rb +++ b/plugins/providers/virtualbox/cap/mount_options.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../synced_folders/unix_mount_helpers" module VagrantPlugins diff --git a/plugins/providers/virtualbox/cap/public_address.rb b/plugins/providers/virtualbox/cap/public_address.rb index 09dd5408ee8..c62d21f1870 100644 --- a/plugins/providers/virtualbox/cap/public_address.rb +++ b/plugins/providers/virtualbox/cap/public_address.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Cap diff --git a/plugins/providers/virtualbox/cap/validate_disk_ext.rb b/plugins/providers/virtualbox/cap/validate_disk_ext.rb index f5da4e8b4bc..037418ecb31 100644 --- a/plugins/providers/virtualbox/cap/validate_disk_ext.rb +++ b/plugins/providers/virtualbox/cap/validate_disk_ext.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/config.rb b/plugins/providers/virtualbox/config.rb index e785880cef6..530adc3c236 100644 --- a/plugins/providers/virtualbox/config.rb +++ b/plugins/providers/virtualbox/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox class Config < Vagrant.plugin("2", :config) diff --git a/plugins/providers/virtualbox/driver/base.rb b/plugins/providers/virtualbox/driver/base.rb index 1304012516a..5a265d49d8e 100644 --- a/plugins/providers/virtualbox/driver/base.rb +++ b/plugins/providers/virtualbox/driver/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require 'vagrant/util/busy' diff --git a/plugins/providers/virtualbox/driver/meta.rb b/plugins/providers/virtualbox/driver/meta.rb index 04c130c4448..482d21438af 100644 --- a/plugins/providers/virtualbox/driver/meta.rb +++ b/plugins/providers/virtualbox/driver/meta.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "forwardable" require "thread" diff --git a/plugins/providers/virtualbox/driver/version_4_0.rb b/plugins/providers/virtualbox/driver/version_4_0.rb index 43db68f0d7f..f30f16ef305 100644 --- a/plugins/providers/virtualbox/driver/version_4_0.rb +++ b/plugins/providers/virtualbox/driver/version_4_0.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require "vagrant/util/platform" diff --git a/plugins/providers/virtualbox/driver/version_4_1.rb b/plugins/providers/virtualbox/driver/version_4_1.rb index 850684bf61a..a6d73c46258 100644 --- a/plugins/providers/virtualbox/driver/version_4_1.rb +++ b/plugins/providers/virtualbox/driver/version_4_1.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require "vagrant/util/platform" diff --git a/plugins/providers/virtualbox/driver/version_4_2.rb b/plugins/providers/virtualbox/driver/version_4_2.rb index eabd3c78e63..909d9937afe 100644 --- a/plugins/providers/virtualbox/driver/version_4_2.rb +++ b/plugins/providers/virtualbox/driver/version_4_2.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require "vagrant/util/platform" diff --git a/plugins/providers/virtualbox/driver/version_4_3.rb b/plugins/providers/virtualbox/driver/version_4_3.rb index 8e220cb036e..223ba581f29 100644 --- a/plugins/providers/virtualbox/driver/version_4_3.rb +++ b/plugins/providers/virtualbox/driver/version_4_3.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'ipaddr' require 'log4r' diff --git a/plugins/providers/virtualbox/driver/version_5_0.rb b/plugins/providers/virtualbox/driver/version_5_0.rb index 22e4d83f467..836cbe855c3 100644 --- a/plugins/providers/virtualbox/driver/version_5_0.rb +++ b/plugins/providers/virtualbox/driver/version_5_0.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'log4r' require "vagrant/util/platform" diff --git a/plugins/providers/virtualbox/driver/version_5_1.rb b/plugins/providers/virtualbox/driver/version_5_1.rb index cd2e6df40eb..c18d526df34 100644 --- a/plugins/providers/virtualbox/driver/version_5_1.rb +++ b/plugins/providers/virtualbox/driver/version_5_1.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../version_5_0", __FILE__) module VagrantPlugins diff --git a/plugins/providers/virtualbox/driver/version_5_2.rb b/plugins/providers/virtualbox/driver/version_5_2.rb index b67e793c1fb..f95ca5654ef 100644 --- a/plugins/providers/virtualbox/driver/version_5_2.rb +++ b/plugins/providers/virtualbox/driver/version_5_2.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../version_5_0", __FILE__) module VagrantPlugins diff --git a/plugins/providers/virtualbox/driver/version_6_0.rb b/plugins/providers/virtualbox/driver/version_6_0.rb index 37e783326a3..ae5fe9bba9a 100644 --- a/plugins/providers/virtualbox/driver/version_6_0.rb +++ b/plugins/providers/virtualbox/driver/version_6_0.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../version_5_0", __FILE__) module VagrantPlugins diff --git a/plugins/providers/virtualbox/driver/version_6_1.rb b/plugins/providers/virtualbox/driver/version_6_1.rb index 169dadf5495..08063ba2de5 100644 --- a/plugins/providers/virtualbox/driver/version_6_1.rb +++ b/plugins/providers/virtualbox/driver/version_6_1.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../version_6_0", __FILE__) module VagrantPlugins diff --git a/plugins/providers/virtualbox/driver/version_7_0.rb b/plugins/providers/virtualbox/driver/version_7_0.rb index fcb6cbdfbc4..60df8129b68 100644 --- a/plugins/providers/virtualbox/driver/version_7_0.rb +++ b/plugins/providers/virtualbox/driver/version_7_0.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "rexml" require File.expand_path("../version_6_1", __FILE__) diff --git a/plugins/providers/virtualbox/model/forwarded_port.rb b/plugins/providers/virtualbox/model/forwarded_port.rb index 03107408ee7..290591df964 100644 --- a/plugins/providers/virtualbox/model/forwarded_port.rb +++ b/plugins/providers/virtualbox/model/forwarded_port.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Model diff --git a/plugins/providers/virtualbox/model/storage_controller.rb b/plugins/providers/virtualbox/model/storage_controller.rb index bb9adefcbf1..b383c22de0f 100644 --- a/plugins/providers/virtualbox/model/storage_controller.rb +++ b/plugins/providers/virtualbox/model/storage_controller.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ProviderVirtualBox module Model diff --git a/plugins/providers/virtualbox/model/storage_controller_array.rb b/plugins/providers/virtualbox/model/storage_controller_array.rb index 0e86db9fcd8..b580617e30d 100644 --- a/plugins/providers/virtualbox/model/storage_controller_array.rb +++ b/plugins/providers/virtualbox/model/storage_controller_array.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../cap/validate_disk_ext" module VagrantPlugins diff --git a/plugins/providers/virtualbox/plugin.rb b/plugins/providers/virtualbox/plugin.rb index 3b447c5c23a..f39d6b91335 100644 --- a/plugins/providers/virtualbox/plugin.rb +++ b/plugins/providers/virtualbox/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/providers/virtualbox/provider.rb b/plugins/providers/virtualbox/provider.rb index f7a86c920ad..9eea96b41d7 100644 --- a/plugins/providers/virtualbox/provider.rb +++ b/plugins/providers/virtualbox/provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/providers/virtualbox/synced_folder.rb b/plugins/providers/virtualbox/synced_folder.rb index c983f18ff0c..2d1f9879d6f 100644 --- a/plugins/providers/virtualbox/synced_folder.rb +++ b/plugins/providers/virtualbox/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "vagrant/util/platform" diff --git a/plugins/providers/virtualbox/util/compile_forwarded_ports.rb b/plugins/providers/virtualbox/util/compile_forwarded_ports.rb index 99f926c1c29..ca74ad01193 100644 --- a/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +++ b/plugins/providers/virtualbox/util/compile_forwarded_ports.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/scoped_hash_override" module VagrantPlugins diff --git a/plugins/provisioners/ansible/cap/guest/alpine/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/alpine/ansible_install.rb index d422c6a26fe..c2475ef7ed9 100644 --- a/plugins/provisioners/ansible/cap/guest/alpine/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/alpine/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../facts" require_relative "../pip/pip" diff --git a/plugins/provisioners/ansible/cap/guest/arch/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/arch/ansible_install.rb index 9e8b8dd73fc..2bbaae55b8f 100644 --- a/plugins/provisioners/ansible/cap/guest/arch/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/arch/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../errors" require_relative "../pip/pip" diff --git a/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb index ffcb22d581d..36446ff64af 100644 --- a/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../pip/pip" module VagrantPlugins diff --git a/plugins/provisioners/ansible/cap/guest/facts.rb b/plugins/provisioners/ansible/cap/guest/facts.rb index a2471875458..84c9b145969 100644 --- a/plugins/provisioners/ansible/cap/guest/facts.rb +++ b/plugins/provisioners/ansible/cap/guest/facts.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Ansible diff --git a/plugins/provisioners/ansible/cap/guest/fedora/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/fedora/ansible_install.rb index d1778d4e78a..44a6f58bc9b 100644 --- a/plugins/provisioners/ansible/cap/guest/fedora/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/fedora/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../facts" require_relative "../pip/pip" diff --git a/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb index b9cfe1bea69..c7e050df4bf 100644 --- a/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../errors" module VagrantPlugins diff --git a/plugins/provisioners/ansible/cap/guest/pip/pip.rb b/plugins/provisioners/ansible/cap/guest/pip/pip.rb index 31108a9699b..1bce94a76dc 100644 --- a/plugins/provisioners/ansible/cap/guest/pip/pip.rb +++ b/plugins/provisioners/ansible/cap/guest/pip/pip.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Ansible diff --git a/plugins/provisioners/ansible/cap/guest/posix/ansible_installed.rb b/plugins/provisioners/ansible/cap/guest/posix/ansible_installed.rb index ab171ee5daa..761c5f15938 100644 --- a/plugins/provisioners/ansible/cap/guest/posix/ansible_installed.rb +++ b/plugins/provisioners/ansible/cap/guest/posix/ansible_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Ansible module Cap diff --git a/plugins/provisioners/ansible/cap/guest/redhat/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/redhat/ansible_install.rb index 5541bf79d85..d6425d2145e 100644 --- a/plugins/provisioners/ansible/cap/guest/redhat/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/redhat/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../facts" require_relative "../pip/pip" diff --git a/plugins/provisioners/ansible/cap/guest/suse/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/suse/ansible_install.rb index d9b35d97e64..1ac66e44f33 100644 --- a/plugins/provisioners/ansible/cap/guest/suse/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/suse/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../errors" module VagrantPlugins diff --git a/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install.rb b/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install.rb index d2260e95492..91626f94d8a 100644 --- a/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install.rb +++ b/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../debian/ansible_install" module VagrantPlugins diff --git a/plugins/provisioners/ansible/config/base.rb b/plugins/provisioners/ansible/config/base.rb index 201554bdf2a..9d17d6c3561 100644 --- a/plugins/provisioners/ansible/config/base.rb +++ b/plugins/provisioners/ansible/config/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../constants" module VagrantPlugins diff --git a/plugins/provisioners/ansible/config/guest.rb b/plugins/provisioners/ansible/config/guest.rb index 4c825fe125b..7119e18ee18 100644 --- a/plugins/provisioners/ansible/config/guest.rb +++ b/plugins/provisioners/ansible/config/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "base" require_relative "../helpers" diff --git a/plugins/provisioners/ansible/config/host.rb b/plugins/provisioners/ansible/config/host.rb index 8197d8e7be2..e6d783f0326 100644 --- a/plugins/provisioners/ansible/config/host.rb +++ b/plugins/provisioners/ansible/config/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "base" module VagrantPlugins diff --git a/plugins/provisioners/ansible/constants.rb b/plugins/provisioners/ansible/constants.rb index 17f72beb687..a17011dbdcd 100644 --- a/plugins/provisioners/ansible/constants.rb +++ b/plugins/provisioners/ansible/constants.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Ansible diff --git a/plugins/provisioners/ansible/errors.rb b/plugins/provisioners/ansible/errors.rb index d23a2d84be3..a6ce78364e9 100644 --- a/plugins/provisioners/ansible/errors.rb +++ b/plugins/provisioners/ansible/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/ansible/helpers.rb b/plugins/provisioners/ansible/helpers.rb index ce189b6d2f0..828baf7c714 100644 --- a/plugins/provisioners/ansible/helpers.rb +++ b/plugins/provisioners/ansible/helpers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/ansible/plugin.rb b/plugins/provisioners/ansible/plugin.rb index edf8b4de5e3..76747777f63 100644 --- a/plugins/provisioners/ansible/plugin.rb +++ b/plugins/provisioners/ansible/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/ansible/provisioner/base.rb b/plugins/provisioners/ansible/provisioner/base.rb index abf24bbe7fa..f283687e90a 100644 --- a/plugins/provisioners/ansible/provisioner/base.rb +++ b/plugins/provisioners/ansible/provisioner/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../constants" require_relative "../errors" require_relative "../helpers" diff --git a/plugins/provisioners/ansible/provisioner/guest.rb b/plugins/provisioners/ansible/provisioner/guest.rb index 2e800a999e9..773dc2de135 100644 --- a/plugins/provisioners/ansible/provisioner/guest.rb +++ b/plugins/provisioners/ansible/provisioner/guest.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "base" diff --git a/plugins/provisioners/ansible/provisioner/host.rb b/plugins/provisioners/ansible/provisioner/host.rb index ef700f03a3b..0a885fab328 100644 --- a/plugins/provisioners/ansible/provisioner/host.rb +++ b/plugins/provisioners/ansible/provisioner/host.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "thread" require_relative "base" diff --git a/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb b/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb index 8d82d5b12aa..cb7963dbd97 100644 --- a/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb +++ b/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CFEngine module Cap diff --git a/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb b/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb index 002df4af370..4fb01326a1c 100644 --- a/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb +++ b/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CFEngine module Cap diff --git a/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb b/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb index 4319d7a1aa8..3f2b16b5551 100644 --- a/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb +++ b/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb b/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb index f229793883c..7d3ea7a3377 100644 --- a/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb +++ b/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/provisioners/cfengine/cap/suse/cfengine_install.rb b/plugins/provisioners/cfengine/cap/suse/cfengine_install.rb index fd5ef1b30de..a1c090ddbe3 100644 --- a/plugins/provisioners/cfengine/cap/suse/cfengine_install.rb +++ b/plugins/provisioners/cfengine/cap/suse/cfengine_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module CFEngine module Cap diff --git a/plugins/provisioners/cfengine/config.rb b/plugins/provisioners/cfengine/config.rb index 5d2ebbef9a4..0ca0b38c228 100644 --- a/plugins/provisioners/cfengine/config.rb +++ b/plugins/provisioners/cfengine/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant" diff --git a/plugins/provisioners/cfengine/plugin.rb b/plugins/provisioners/cfengine/plugin.rb index ee5d75768d8..881aeace2d7 100644 --- a/plugins/provisioners/cfengine/plugin.rb +++ b/plugins/provisioners/cfengine/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/cfengine/provisioner.rb b/plugins/provisioners/cfengine/provisioner.rb index 0335da8f6b2..29b1984eaf4 100644 --- a/plugins/provisioners/cfengine/provisioner.rb +++ b/plugins/provisioners/cfengine/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant" diff --git a/plugins/provisioners/chef/cap/debian/chef_install.rb b/plugins/provisioners/chef/cap/debian/chef_install.rb index 9e911513dbe..6ae1fd1fa63 100644 --- a/plugins/provisioners/chef/cap/debian/chef_install.rb +++ b/plugins/provisioners/chef/cap/debian/chef_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../omnibus" module VagrantPlugins diff --git a/plugins/provisioners/chef/cap/freebsd/chef_install.rb b/plugins/provisioners/chef/cap/freebsd/chef_install.rb index 3ea8e6e56e8..593b3f0a355 100644 --- a/plugins/provisioners/chef/cap/freebsd/chef_install.rb +++ b/plugins/provisioners/chef/cap/freebsd/chef_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../omnibus" module VagrantPlugins diff --git a/plugins/provisioners/chef/cap/freebsd/chef_installed.rb b/plugins/provisioners/chef/cap/freebsd/chef_installed.rb index c626de4bd2a..acda5fb5924 100644 --- a/plugins/provisioners/chef/cap/freebsd/chef_installed.rb +++ b/plugins/provisioners/chef/cap/freebsd/chef_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef module Cap diff --git a/plugins/provisioners/chef/cap/linux/chef_installed.rb b/plugins/provisioners/chef/cap/linux/chef_installed.rb index 44d7173eeaf..5dd4a0f0a02 100644 --- a/plugins/provisioners/chef/cap/linux/chef_installed.rb +++ b/plugins/provisioners/chef/cap/linux/chef_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef module Cap diff --git a/plugins/provisioners/chef/cap/omnios/chef_install.rb b/plugins/provisioners/chef/cap/omnios/chef_install.rb index 608f5faf9a6..d7275fd5ed4 100644 --- a/plugins/provisioners/chef/cap/omnios/chef_install.rb +++ b/plugins/provisioners/chef/cap/omnios/chef_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../omnibus" module VagrantPlugins diff --git a/plugins/provisioners/chef/cap/omnios/chef_installed.rb b/plugins/provisioners/chef/cap/omnios/chef_installed.rb index 54f1f53ef46..118665fd1b5 100644 --- a/plugins/provisioners/chef/cap/omnios/chef_installed.rb +++ b/plugins/provisioners/chef/cap/omnios/chef_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef module Cap diff --git a/plugins/provisioners/chef/cap/redhat/chef_install.rb b/plugins/provisioners/chef/cap/redhat/chef_install.rb index 26c7a034dee..f1b99ba9c75 100644 --- a/plugins/provisioners/chef/cap/redhat/chef_install.rb +++ b/plugins/provisioners/chef/cap/redhat/chef_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../omnibus" module VagrantPlugins diff --git a/plugins/provisioners/chef/cap/suse/chef_install.rb b/plugins/provisioners/chef/cap/suse/chef_install.rb index 88872709937..04a65559f46 100644 --- a/plugins/provisioners/chef/cap/suse/chef_install.rb +++ b/plugins/provisioners/chef/cap/suse/chef_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../omnibus" module VagrantPlugins diff --git a/plugins/provisioners/chef/cap/windows/chef_install.rb b/plugins/provisioners/chef/cap/windows/chef_install.rb index 7e0a0b42fe4..e15794180df 100644 --- a/plugins/provisioners/chef/cap/windows/chef_install.rb +++ b/plugins/provisioners/chef/cap/windows/chef_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../omnibus" module VagrantPlugins diff --git a/plugins/provisioners/chef/cap/windows/chef_installed.rb b/plugins/provisioners/chef/cap/windows/chef_installed.rb index 0f62fc0efe6..68c0adc5af4 100644 --- a/plugins/provisioners/chef/cap/windows/chef_installed.rb +++ b/plugins/provisioners/chef/cap/windows/chef_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef module Cap diff --git a/plugins/provisioners/chef/command_builder.rb b/plugins/provisioners/chef/command_builder.rb index c74cc1dc858..86218415507 100644 --- a/plugins/provisioners/chef/command_builder.rb +++ b/plugins/provisioners/chef/command_builder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef class CommandBuilder diff --git a/plugins/provisioners/chef/config/base.rb b/plugins/provisioners/chef/config/base.rb index 74780268a3c..9ee4fc00cd5 100644 --- a/plugins/provisioners/chef/config/base.rb +++ b/plugins/provisioners/chef/config/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/presence" module VagrantPlugins diff --git a/plugins/provisioners/chef/config/base_runner.rb b/plugins/provisioners/chef/config/base_runner.rb index e7bc6cb0737..f09ae0a0024 100644 --- a/plugins/provisioners/chef/config/base_runner.rb +++ b/plugins/provisioners/chef/config/base_runner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/counter" require_relative "base" diff --git a/plugins/provisioners/chef/config/chef_apply.rb b/plugins/provisioners/chef/config/chef_apply.rb index b28f13c0b20..77030f01fa7 100644 --- a/plugins/provisioners/chef/config/chef_apply.rb +++ b/plugins/provisioners/chef/config/chef_apply.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/presence" require_relative "base" diff --git a/plugins/provisioners/chef/config/chef_client.rb b/plugins/provisioners/chef/config/chef_client.rb index 34342715593..468f395301b 100644 --- a/plugins/provisioners/chef/config/chef_client.rb +++ b/plugins/provisioners/chef/config/chef_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/presence" require "vagrant/util/which" diff --git a/plugins/provisioners/chef/config/chef_solo.rb b/plugins/provisioners/chef/config/chef_solo.rb index 17a12cb8e0a..1eaac40ec27 100644 --- a/plugins/provisioners/chef/config/chef_solo.rb +++ b/plugins/provisioners/chef/config/chef_solo.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/presence" require_relative "base_runner" diff --git a/plugins/provisioners/chef/config/chef_zero.rb b/plugins/provisioners/chef/config/chef_zero.rb index 84ed08cf5b2..e888e7a5426 100644 --- a/plugins/provisioners/chef/config/chef_zero.rb +++ b/plugins/provisioners/chef/config/chef_zero.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/presence" require_relative "chef_solo" diff --git a/plugins/provisioners/chef/installer.rb b/plugins/provisioners/chef/installer.rb index 11ae7d52666..ab1628d04f8 100644 --- a/plugins/provisioners/chef/installer.rb +++ b/plugins/provisioners/chef/installer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef class Installer diff --git a/plugins/provisioners/chef/omnibus.rb b/plugins/provisioners/chef/omnibus.rb index a971b096255..98ab3ad81eb 100644 --- a/plugins/provisioners/chef/omnibus.rb +++ b/plugins/provisioners/chef/omnibus.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Chef # Read more about the Omnibus installer here: diff --git a/plugins/provisioners/chef/plugin.rb b/plugins/provisioners/chef/plugin.rb index 26bbf1a32cb..2cd0a57cef6 100644 --- a/plugins/provisioners/chef/plugin.rb +++ b/plugins/provisioners/chef/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant" diff --git a/plugins/provisioners/chef/provisioner/base.rb b/plugins/provisioners/chef/provisioner/base.rb index 7bc8ceca02b..84606e50234 100644 --- a/plugins/provisioners/chef/provisioner/base.rb +++ b/plugins/provisioners/chef/provisioner/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../lib/vagrant/util/presence" diff --git a/plugins/provisioners/chef/provisioner/chef_apply.rb b/plugins/provisioners/chef/provisioner/chef_apply.rb index c19c6412a0f..f210a46b8f2 100644 --- a/plugins/provisioners/chef/provisioner/chef_apply.rb +++ b/plugins/provisioners/chef/provisioner/chef_apply.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "tempfile" diff --git a/plugins/provisioners/chef/provisioner/chef_client.rb b/plugins/provisioners/chef/provisioner/chef_client.rb index 10d890176b1..399098f6531 100644 --- a/plugins/provisioners/chef/provisioner/chef_client.rb +++ b/plugins/provisioners/chef/provisioner/chef_client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'pathname' require 'vagrant' diff --git a/plugins/provisioners/chef/provisioner/chef_solo.rb b/plugins/provisioners/chef/provisioner/chef_solo.rb index 170684d9a11..9eef5582495 100644 --- a/plugins/provisioners/chef/provisioner/chef_solo.rb +++ b/plugins/provisioners/chef/provisioner/chef_solo.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "securerandom" require "set" diff --git a/plugins/provisioners/chef/provisioner/chef_zero.rb b/plugins/provisioners/chef/provisioner/chef_zero.rb index b0e181d0ce1..791d3b63313 100644 --- a/plugins/provisioners/chef/provisioner/chef_zero.rb +++ b/plugins/provisioners/chef/provisioner/chef_zero.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "securerandom" require "set" diff --git a/plugins/provisioners/container/client.rb b/plugins/provisioners/container/client.rb index 6eafbe3def4..b60ff8e3d56 100644 --- a/plugins/provisioners/container/client.rb +++ b/plugins/provisioners/container/client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'digest/sha1' module VagrantPlugins diff --git a/plugins/provisioners/container/config.rb b/plugins/provisioners/container/config.rb index 4780d3709e7..135f99f1c71 100644 --- a/plugins/provisioners/container/config.rb +++ b/plugins/provisioners/container/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'set' module VagrantPlugins diff --git a/plugins/provisioners/container/installer.rb b/plugins/provisioners/container/installer.rb index 69663bd525b..3cd4a5726b6 100644 --- a/plugins/provisioners/container/installer.rb +++ b/plugins/provisioners/container/installer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module ContainerProvisioner class Installer diff --git a/plugins/provisioners/container/plugin.rb b/plugins/provisioners/container/plugin.rb index 5b0338bc8a6..f3f357bb506 100644 --- a/plugins/provisioners/container/plugin.rb +++ b/plugins/provisioners/container/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/container/provisioner.rb b/plugins/provisioners/container/provisioner.rb index 1f3dc9998fa..2693bd7205c 100644 --- a/plugins/provisioners/container/provisioner.rb +++ b/plugins/provisioners/container/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "client" require_relative "installer" diff --git a/plugins/provisioners/docker/cap/centos/docker_install.rb b/plugins/provisioners/docker/cap/centos/docker_install.rb index a755320f3aa..f149667ba48 100644 --- a/plugins/provisioners/docker/cap/centos/docker_install.rb +++ b/plugins/provisioners/docker/cap/centos/docker_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/centos/docker_start_service.rb b/plugins/provisioners/docker/cap/centos/docker_start_service.rb index 116d86fcac8..d35b4491cbb 100644 --- a/plugins/provisioners/docker/cap/centos/docker_start_service.rb +++ b/plugins/provisioners/docker/cap/centos/docker_start_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/debian/docker_install.rb b/plugins/provisioners/docker/cap/debian/docker_install.rb index ea20ff179d9..bbb75a9097c 100644 --- a/plugins/provisioners/docker/cap/debian/docker_install.rb +++ b/plugins/provisioners/docker/cap/debian/docker_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/debian/docker_start_service.rb b/plugins/provisioners/docker/cap/debian/docker_start_service.rb index 63c1e318334..a9b91e5e2ec 100644 --- a/plugins/provisioners/docker/cap/debian/docker_start_service.rb +++ b/plugins/provisioners/docker/cap/debian/docker_start_service.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/fedora/docker_install.rb b/plugins/provisioners/docker/cap/fedora/docker_install.rb index 8feb5b0e27e..d124d48ec79 100644 --- a/plugins/provisioners/docker/cap/fedora/docker_install.rb +++ b/plugins/provisioners/docker/cap/fedora/docker_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/linux/docker_configure_vagrant_user.rb b/plugins/provisioners/docker/cap/linux/docker_configure_vagrant_user.rb index a85d8248f0d..4510e286540 100644 --- a/plugins/provisioners/docker/cap/linux/docker_configure_vagrant_user.rb +++ b/plugins/provisioners/docker/cap/linux/docker_configure_vagrant_user.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/linux/docker_daemon_running.rb b/plugins/provisioners/docker/cap/linux/docker_daemon_running.rb index 8d5a18ef079..54561ae5f07 100644 --- a/plugins/provisioners/docker/cap/linux/docker_daemon_running.rb +++ b/plugins/provisioners/docker/cap/linux/docker_daemon_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/linux/docker_installed.rb b/plugins/provisioners/docker/cap/linux/docker_installed.rb index 59e95b2fa36..b2c0bf0d042 100644 --- a/plugins/provisioners/docker/cap/linux/docker_installed.rb +++ b/plugins/provisioners/docker/cap/linux/docker_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/cap/windows/docker_daemon_running.rb b/plugins/provisioners/docker/cap/windows/docker_daemon_running.rb index 2ff750cc39f..1e696e05e19 100644 --- a/plugins/provisioners/docker/cap/windows/docker_daemon_running.rb +++ b/plugins/provisioners/docker/cap/windows/docker_daemon_running.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module DockerProvisioner module Cap diff --git a/plugins/provisioners/docker/client.rb b/plugins/provisioners/docker/client.rb index 010ebeb4191..9f018559ea4 100644 --- a/plugins/provisioners/docker/client.rb +++ b/plugins/provisioners/docker/client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/client" module VagrantPlugins diff --git a/plugins/provisioners/docker/config.rb b/plugins/provisioners/docker/config.rb index 00844e48e93..12401fc33b1 100644 --- a/plugins/provisioners/docker/config.rb +++ b/plugins/provisioners/docker/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/config" module VagrantPlugins diff --git a/plugins/provisioners/docker/installer.rb b/plugins/provisioners/docker/installer.rb index 133622cc126..b29acec51ff 100644 --- a/plugins/provisioners/docker/installer.rb +++ b/plugins/provisioners/docker/installer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/installer" module VagrantPlugins diff --git a/plugins/provisioners/docker/plugin.rb b/plugins/provisioners/docker/plugin.rb index 118b0e343f0..328ab296c27 100644 --- a/plugins/provisioners/docker/plugin.rb +++ b/plugins/provisioners/docker/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/docker/provisioner.rb b/plugins/provisioners/docker/provisioner.rb index 0b0797bdf27..32cbc73cacd 100644 --- a/plugins/provisioners/docker/provisioner.rb +++ b/plugins/provisioners/docker/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/provisioner" require_relative "client" diff --git a/plugins/provisioners/file/config.rb b/plugins/provisioners/file/config.rb index e8e2d6c92e3..0cf95812c49 100644 --- a/plugins/provisioners/file/config.rb +++ b/plugins/provisioners/file/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "vagrant" diff --git a/plugins/provisioners/file/plugin.rb b/plugins/provisioners/file/plugin.rb index 9d7e6f2a85b..bf5d656a9b0 100644 --- a/plugins/provisioners/file/plugin.rb +++ b/plugins/provisioners/file/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/file/provisioner.rb b/plugins/provisioners/file/provisioner.rb index 65851d32b8b..34a05ed801c 100644 --- a/plugins/provisioners/file/provisioner.rb +++ b/plugins/provisioners/file/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module FileUpload class Provisioner < Vagrant.plugin("2", :provisioner) diff --git a/plugins/provisioners/podman/cap/centos/podman_install.rb b/plugins/provisioners/podman/cap/centos/podman_install.rb index b07c1eafeb5..8eb6133f0d0 100644 --- a/plugins/provisioners/podman/cap/centos/podman_install.rb +++ b/plugins/provisioners/podman/cap/centos/podman_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module PodmanProvisioner module Cap diff --git a/plugins/provisioners/podman/cap/linux/podman_installed.rb b/plugins/provisioners/podman/cap/linux/podman_installed.rb index 4552cd4cdf3..675b0f20d6a 100644 --- a/plugins/provisioners/podman/cap/linux/podman_installed.rb +++ b/plugins/provisioners/podman/cap/linux/podman_installed.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module PodmanProvisioner module Cap diff --git a/plugins/provisioners/podman/cap/redhat/podman_install.rb b/plugins/provisioners/podman/cap/redhat/podman_install.rb index ca9bff7f83c..d33351b7a9f 100644 --- a/plugins/provisioners/podman/cap/redhat/podman_install.rb +++ b/plugins/provisioners/podman/cap/redhat/podman_install.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module PodmanProvisioner module Cap diff --git a/plugins/provisioners/podman/client.rb b/plugins/provisioners/podman/client.rb index 087376c12eb..493424aee6e 100644 --- a/plugins/provisioners/podman/client.rb +++ b/plugins/provisioners/podman/client.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/client" module VagrantPlugins diff --git a/plugins/provisioners/podman/config.rb b/plugins/provisioners/podman/config.rb index 389801e9c34..6501eee817a 100644 --- a/plugins/provisioners/podman/config.rb +++ b/plugins/provisioners/podman/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/config" module VagrantPlugins diff --git a/plugins/provisioners/podman/installer.rb b/plugins/provisioners/podman/installer.rb index f7299467434..4a28d6f3438 100644 --- a/plugins/provisioners/podman/installer.rb +++ b/plugins/provisioners/podman/installer.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/installer" module VagrantPlugins diff --git a/plugins/provisioners/podman/plugin.rb b/plugins/provisioners/podman/plugin.rb index 7cdd9d5b252..58c6e38419b 100644 --- a/plugins/provisioners/podman/plugin.rb +++ b/plugins/provisioners/podman/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/podman/provisioner.rb b/plugins/provisioners/podman/provisioner.rb index d31f09a5d0a..7339da910a1 100644 --- a/plugins/provisioners/podman/provisioner.rb +++ b/plugins/provisioners/podman/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../container/provisioner" require_relative "installer" diff --git a/plugins/provisioners/puppet/config/puppet.rb b/plugins/provisioners/puppet/config/puppet.rb index 708f6905a35..cbf54952831 100644 --- a/plugins/provisioners/puppet/config/puppet.rb +++ b/plugins/provisioners/puppet/config/puppet.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Puppet module Config diff --git a/plugins/provisioners/puppet/config/puppet_server.rb b/plugins/provisioners/puppet/config/puppet_server.rb index 5cab589b6af..69954214a08 100644 --- a/plugins/provisioners/puppet/config/puppet_server.rb +++ b/plugins/provisioners/puppet/config/puppet_server.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Puppet module Config diff --git a/plugins/provisioners/puppet/plugin.rb b/plugins/provisioners/puppet/plugin.rb index 4d2b74bbe50..f3988d8e192 100644 --- a/plugins/provisioners/puppet/plugin.rb +++ b/plugins/provisioners/puppet/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb index be4b8c79f0f..e8d9ddd9709 100644 --- a/plugins/provisioners/puppet/provisioner/puppet.rb +++ b/plugins/provisioners/puppet/provisioner/puppet.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "log4r" diff --git a/plugins/provisioners/puppet/provisioner/puppet_server.rb b/plugins/provisioners/puppet/provisioner/puppet_server.rb index 29c1c23dc2c..f0cef2610b5 100644 --- a/plugins/provisioners/puppet/provisioner/puppet_server.rb +++ b/plugins/provisioners/puppet/provisioner/puppet_server.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module Puppet module Provisioner diff --git a/plugins/provisioners/salt/bootstrap_downloader.rb b/plugins/provisioners/salt/bootstrap_downloader.rb index 7f4060e5e25..bafc9c5b161 100644 --- a/plugins/provisioners/salt/bootstrap_downloader.rb +++ b/plugins/provisioners/salt/bootstrap_downloader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'open-uri' require 'digest' require_relative "./errors" diff --git a/plugins/provisioners/salt/config.rb b/plugins/provisioners/salt/config.rb index a09e9d50f50..7edf850a291 100644 --- a/plugins/provisioners/salt/config.rb +++ b/plugins/provisioners/salt/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require "vagrant/util/deep_merge" diff --git a/plugins/provisioners/salt/errors.rb b/plugins/provisioners/salt/errors.rb index f259f78b214..44e8124996b 100644 --- a/plugins/provisioners/salt/errors.rb +++ b/plugins/provisioners/salt/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/salt/plugin.rb b/plugins/provisioners/salt/plugin.rb index 77f52b7168a..5e85a9284ac 100644 --- a/plugins/provisioners/salt/plugin.rb +++ b/plugins/provisioners/salt/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/salt/provisioner.rb b/plugins/provisioners/salt/provisioner.rb index ca77395e77d..25cb31cdd45 100644 --- a/plugins/provisioners/salt/provisioner.rb +++ b/plugins/provisioners/salt/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'json' require_relative "bootstrap_downloader" diff --git a/plugins/provisioners/shell/config.rb b/plugins/provisioners/shell/config.rb index 9f035c1c914..ddef9e08367 100644 --- a/plugins/provisioners/shell/config.rb +++ b/plugins/provisioners/shell/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'uri' module VagrantPlugins diff --git a/plugins/provisioners/shell/plugin.rb b/plugins/provisioners/shell/plugin.rb index 2da0e532018..e2b88f2dcd8 100644 --- a/plugins/provisioners/shell/plugin.rb +++ b/plugins/provisioners/shell/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/provisioners/shell/provisioner.rb b/plugins/provisioners/shell/provisioner.rb index 74191f091dd..4341d088a84 100644 --- a/plugins/provisioners/shell/provisioner.rb +++ b/plugins/provisioners/shell/provisioner.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tempfile" diff --git a/plugins/pushes/atlas/config.rb b/plugins/pushes/atlas/config.rb index 0bedf5d808c..287c2a72918 100644 --- a/plugins/pushes/atlas/config.rb +++ b/plugins/pushes/atlas/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module AtlasPush class Config < Vagrant.plugin("2", :config) diff --git a/plugins/pushes/atlas/errors.rb b/plugins/pushes/atlas/errors.rb index 7ba1d712af2..16bfbcbe9bf 100644 --- a/plugins/pushes/atlas/errors.rb +++ b/plugins/pushes/atlas/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module AtlasPush module Errors diff --git a/plugins/pushes/atlas/locales/en.yml b/plugins/pushes/atlas/locales/en.yml index 3377f62dd81..15da2c83918 100644 --- a/plugins/pushes/atlas/locales/en.yml +++ b/plugins/pushes/atlas/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: atlas_push: errors: diff --git a/plugins/pushes/atlas/plugin.rb b/plugins/pushes/atlas/plugin.rb index 2eee2517db2..6149321d51a 100644 --- a/plugins/pushes/atlas/plugin.rb +++ b/plugins/pushes/atlas/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/pushes/atlas/push.rb b/plugins/pushes/atlas/push.rb index 1cbc18d5540..05421790583 100644 --- a/plugins/pushes/atlas/push.rb +++ b/plugins/pushes/atlas/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/safe_exec" require "vagrant/util/subprocess" require "vagrant/util/which" diff --git a/plugins/pushes/ftp/adapter.rb b/plugins/pushes/ftp/adapter.rb index 731816f0164..b6938512c5b 100644 --- a/plugins/pushes/ftp/adapter.rb +++ b/plugins/pushes/ftp/adapter.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" module VagrantPlugins diff --git a/plugins/pushes/ftp/config.rb b/plugins/pushes/ftp/config.rb index e493259dbc0..88f9387e3f2 100644 --- a/plugins/pushes/ftp/config.rb +++ b/plugins/pushes/ftp/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module FTPPush class Config < Vagrant.plugin("2", :config) diff --git a/plugins/pushes/ftp/errors.rb b/plugins/pushes/ftp/errors.rb index 111dd83afbe..2c718bee58d 100644 --- a/plugins/pushes/ftp/errors.rb +++ b/plugins/pushes/ftp/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module FTPPush module Errors diff --git a/plugins/pushes/ftp/locales/en.yml b/plugins/pushes/ftp/locales/en.yml index c5ba3986977..a14df52e995 100644 --- a/plugins/pushes/ftp/locales/en.yml +++ b/plugins/pushes/ftp/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: ftp_push: errors: diff --git a/plugins/pushes/ftp/plugin.rb b/plugins/pushes/ftp/plugin.rb index ef333807b3f..790c8bf85c3 100644 --- a/plugins/pushes/ftp/plugin.rb +++ b/plugins/pushes/ftp/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/pushes/ftp/push.rb b/plugins/pushes/ftp/push.rb index 5279c253494..d7372e46b19 100644 --- a/plugins/pushes/ftp/push.rb +++ b/plugins/pushes/ftp/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "net/ftp" require "pathname" diff --git a/plugins/pushes/heroku/config.rb b/plugins/pushes/heroku/config.rb index 927c1a7b9a5..4184006ad98 100644 --- a/plugins/pushes/heroku/config.rb +++ b/plugins/pushes/heroku/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HerokuPush class Config < Vagrant.plugin("2", :config) diff --git a/plugins/pushes/heroku/errors.rb b/plugins/pushes/heroku/errors.rb index c92a7b76c32..3324ce189a0 100644 --- a/plugins/pushes/heroku/errors.rb +++ b/plugins/pushes/heroku/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module HerokuPush module Errors diff --git a/plugins/pushes/heroku/locales/en.yml b/plugins/pushes/heroku/locales/en.yml index a39d0e7ab0f..00369f076e8 100644 --- a/plugins/pushes/heroku/locales/en.yml +++ b/plugins/pushes/heroku/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: heroku_push: errors: diff --git a/plugins/pushes/heroku/plugin.rb b/plugins/pushes/heroku/plugin.rb index 40865ee5d69..18b1db1c5fd 100644 --- a/plugins/pushes/heroku/plugin.rb +++ b/plugins/pushes/heroku/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/pushes/heroku/push.rb b/plugins/pushes/heroku/push.rb index 50ea45cd00d..8fe0288ec5b 100644 --- a/plugins/pushes/heroku/push.rb +++ b/plugins/pushes/heroku/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant/util/subprocess" require "vagrant/util/which" diff --git a/plugins/pushes/local-exec/config.rb b/plugins/pushes/local-exec/config.rb index 9ed466088fa..107baade392 100644 --- a/plugins/pushes/local-exec/config.rb +++ b/plugins/pushes/local-exec/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module LocalExecPush class Config < Vagrant.plugin("2", :config) diff --git a/plugins/pushes/local-exec/errors.rb b/plugins/pushes/local-exec/errors.rb index 5e5b71cca47..b725298d09b 100644 --- a/plugins/pushes/local-exec/errors.rb +++ b/plugins/pushes/local-exec/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module LocalExecPush module Errors diff --git a/plugins/pushes/local-exec/locales/en.yml b/plugins/pushes/local-exec/locales/en.yml index 3ae196d9c1b..65b16547d62 100644 --- a/plugins/pushes/local-exec/locales/en.yml +++ b/plugins/pushes/local-exec/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: local_exec_push: errors: diff --git a/plugins/pushes/local-exec/plugin.rb b/plugins/pushes/local-exec/plugin.rb index e58fe4bedf5..f562ed0ffbd 100644 --- a/plugins/pushes/local-exec/plugin.rb +++ b/plugins/pushes/local-exec/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/pushes/local-exec/push.rb b/plugins/pushes/local-exec/push.rb index dcdf963194b..60646354688 100644 --- a/plugins/pushes/local-exec/push.rb +++ b/plugins/pushes/local-exec/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "tempfile" require "vagrant/util/safe_exec" diff --git a/plugins/pushes/noop/config.rb b/plugins/pushes/noop/config.rb index 9b23fb450fc..90c73d87d1c 100644 --- a/plugins/pushes/noop/config.rb +++ b/plugins/pushes/noop/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module NoopDeploy class Config < Vagrant.plugin("2", :config) diff --git a/plugins/pushes/noop/plugin.rb b/plugins/pushes/noop/plugin.rb index d3dc6994dd9..7c4e3202e2c 100644 --- a/plugins/pushes/noop/plugin.rb +++ b/plugins/pushes/noop/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/pushes/noop/push.rb b/plugins/pushes/noop/push.rb index 537ea1c7d3f..e15ea5f3b9b 100644 --- a/plugins/pushes/noop/push.rb +++ b/plugins/pushes/noop/push.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module NoopDeploy class Push < Vagrant.plugin("2", :push) diff --git a/plugins/synced_folders/nfs/action_cleanup.rb b/plugins/synced_folders/nfs/action_cleanup.rb index d2c7f6b429f..d2b1c4878cd 100644 --- a/plugins/synced_folders/nfs/action_cleanup.rb +++ b/plugins/synced_folders/nfs/action_cleanup.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" module VagrantPlugins diff --git a/plugins/synced_folders/nfs/config.rb b/plugins/synced_folders/nfs/config.rb index 4d8cfdbc3d7..eb67200a334 100644 --- a/plugins/synced_folders/nfs/config.rb +++ b/plugins/synced_folders/nfs/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/synced_folders/nfs/plugin.rb b/plugins/synced_folders/nfs/plugin.rb index 6751b790585..1b698196783 100644 --- a/plugins/synced_folders/nfs/plugin.rb +++ b/plugins/synced_folders/nfs/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/synced_folders/nfs/synced_folder.rb b/plugins/synced_folders/nfs/synced_folder.rb index 827412879da..cc2e515fa11 100644 --- a/plugins/synced_folders/nfs/synced_folder.rb +++ b/plugins/synced_folders/nfs/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'fileutils' require 'thread' require 'zlib' diff --git a/plugins/synced_folders/rsync/command/rsync.rb b/plugins/synced_folders/rsync/command/rsync.rb index 0a663295b5f..4b2c4a44569 100644 --- a/plugins/synced_folders/rsync/command/rsync.rb +++ b/plugins/synced_folders/rsync/command/rsync.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'optparse' require "vagrant/action/builtin/mixin_synced_folders" diff --git a/plugins/synced_folders/rsync/command/rsync_auto.rb b/plugins/synced_folders/rsync/command/rsync_auto.rb index c7bd9e09749..98287ee3651 100644 --- a/plugins/synced_folders/rsync/command/rsync_auto.rb +++ b/plugins/synced_folders/rsync/command/rsync_auto.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require 'optparse' require "thread" diff --git a/plugins/synced_folders/rsync/default_unix_cap.rb b/plugins/synced_folders/rsync/default_unix_cap.rb index 1bad2d0a3c4..d4a4558d654 100644 --- a/plugins/synced_folders/rsync/default_unix_cap.rb +++ b/plugins/synced_folders/rsync/default_unix_cap.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" module VagrantPlugins diff --git a/plugins/synced_folders/rsync/helper.rb b/plugins/synced_folders/rsync/helper.rb index 6ee1dea921c..1cca0baa82a 100644 --- a/plugins/synced_folders/rsync/helper.rb +++ b/plugins/synced_folders/rsync/helper.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "ipaddr" require "shellwords" diff --git a/plugins/synced_folders/rsync/plugin.rb b/plugins/synced_folders/rsync/plugin.rb index d4d144613ee..1c385f79e97 100644 --- a/plugins/synced_folders/rsync/plugin.rb +++ b/plugins/synced_folders/rsync/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/synced_folders/rsync/synced_folder.rb b/plugins/synced_folders/rsync/synced_folder.rb index 680870be823..00b021d6aee 100644 --- a/plugins/synced_folders/rsync/synced_folder.rb +++ b/plugins/synced_folders/rsync/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "log4r" require "vagrant/util/subprocess" diff --git a/plugins/synced_folders/smb/cap/default_fstab_modification.rb b/plugins/synced_folders/smb/cap/default_fstab_modification.rb index 12f54ef028a..0419485f1f3 100644 --- a/plugins/synced_folders/smb/cap/default_fstab_modification.rb +++ b/plugins/synced_folders/smb/cap/default_fstab_modification.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module SyncedFolderSMB module Cap diff --git a/plugins/synced_folders/smb/cap/mount_options.rb b/plugins/synced_folders/smb/cap/mount_options.rb index 95e66fe35e4..8eb742f6029 100644 --- a/plugins/synced_folders/smb/cap/mount_options.rb +++ b/plugins/synced_folders/smb/cap/mount_options.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../unix_mount_helpers" module VagrantPlugins diff --git a/plugins/synced_folders/smb/config.rb b/plugins/synced_folders/smb/config.rb index d853092ac55..e8096dae29e 100644 --- a/plugins/synced_folders/smb/config.rb +++ b/plugins/synced_folders/smb/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/synced_folders/smb/errors.rb b/plugins/synced_folders/smb/errors.rb index 423853b1bff..d668e8925b7 100644 --- a/plugins/synced_folders/smb/errors.rb +++ b/plugins/synced_folders/smb/errors.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantPlugins module SyncedFolderSMB module Errors diff --git a/plugins/synced_folders/smb/plugin.rb b/plugins/synced_folders/smb/plugin.rb index 85a1b19977d..6dce29a75a4 100644 --- a/plugins/synced_folders/smb/plugin.rb +++ b/plugins/synced_folders/smb/plugin.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" module VagrantPlugins diff --git a/plugins/synced_folders/smb/synced_folder.rb b/plugins/synced_folders/smb/synced_folder.rb index b6520cd5214..e16ef3d0ae1 100644 --- a/plugins/synced_folders/smb/synced_folder.rb +++ b/plugins/synced_folders/smb/synced_folder.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/md5" require "json" diff --git a/plugins/synced_folders/unix_mount_helpers.rb b/plugins/synced_folders/unix_mount_helpers.rb index a6921ce29e4..16c01827ad4 100644 --- a/plugins/synced_folders/unix_mount_helpers.rb +++ b/plugins/synced_folders/unix_mount_helpers.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "shellwords" require "vagrant/util/retryable" diff --git a/scripts/sign.sh b/scripts/sign.sh index 8bc4d29e492..c877ecf75b4 100755 --- a/scripts/sign.sh +++ b/scripts/sign.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -e # Get the parent directory of where this script is. diff --git a/scripts/website_push_www.sh b/scripts/website_push_www.sh index 6b887252f88..faa152623a1 100755 --- a/scripts/website_push_www.sh +++ b/scripts/website_push_www.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # Set the tmpdir if [ -z "$TMPDIR" ]; then diff --git a/templates/locales/comm_winrm.yml b/templates/locales/comm_winrm.yml index 0f01a275527..2ec6b5e7c78 100644 --- a/templates/locales/comm_winrm.yml +++ b/templates/locales/comm_winrm.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant_winrm: errors: diff --git a/templates/locales/command_ps.yml b/templates/locales/command_ps.yml index f0eef16f9c0..3c3dae628b8 100644 --- a/templates/locales/command_ps.yml +++ b/templates/locales/command_ps.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant_ps: detecting: |- diff --git a/templates/locales/command_rdp.yml b/templates/locales/command_rdp.yml index d04caebfb31..cbc0ab9ca7f 100644 --- a/templates/locales/command_rdp.yml +++ b/templates/locales/command_rdp.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant_rdp: detecting: |- diff --git a/templates/locales/en.yml b/templates/locales/en.yml index bdba9d3ebf1..8c884554725 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant: alert: |- diff --git a/templates/locales/guest_windows.yml b/templates/locales/guest_windows.yml index 98f133284f7..6eeeb612e58 100644 --- a/templates/locales/guest_windows.yml +++ b/templates/locales/guest_windows.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant_windows: errors: diff --git a/templates/locales/providers_docker.yml b/templates/locales/providers_docker.yml index b4709dd2de0..6fc282d2983 100644 --- a/templates/locales/providers_docker.yml +++ b/templates/locales/providers_docker.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: docker_provider: already_built: |- diff --git a/templates/locales/providers_hyperv.yml b/templates/locales/providers_hyperv.yml index dd2a13c4433..8dd906dd21c 100644 --- a/templates/locales/providers_hyperv.yml +++ b/templates/locales/providers_hyperv.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant_hyperv: choose_switch: |- diff --git a/templates/locales/synced_folder_smb.yml b/templates/locales/synced_folder_smb.yml index 3819f8b32e2..eca15269a72 100644 --- a/templates/locales/synced_folder_smb.yml +++ b/templates/locales/synced_folder_smb.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + en: vagrant_sf_smb: mounting: |- diff --git a/templates/rgloader.rb b/templates/rgloader.rb index c3c05b095ed..f4a1ef72d3a 100644 --- a/templates/rgloader.rb +++ b/templates/rgloader.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This file loads the proper rgloader/loader.rb file that comes packaged # with Vagrant so that encoded files can properly run with Vagrant. diff --git a/test/acceptance/base.rb b/test/acceptance/base.rb index ae5d4ff1b72..53753edf63f 100644 --- a/test/acceptance/base.rb +++ b/test/acceptance/base.rb @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant-spec/acceptance" require_relative "shared/context_virtualbox" diff --git a/test/acceptance/provider-docker/lifecycle_spec.rb b/test/acceptance/provider-docker/lifecycle_spec.rb index 6169e182b93..6700f43a59f 100644 --- a/test/acceptance/provider-docker/lifecycle_spec.rb +++ b/test/acceptance/provider-docker/lifecycle_spec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This tests the basic functionality of a provider: that it can run # a machine, provide SSH access, and destroy that machine. shared_examples "provider/docker/lifecycle" do |provider, options| diff --git a/test/acceptance/provider-virtualbox/linked_clone_spec.rb b/test/acceptance/provider-virtualbox/linked_clone_spec.rb index 44d55fa7f87..046378735f5 100644 --- a/test/acceptance/provider-virtualbox/linked_clone_spec.rb +++ b/test/acceptance/provider-virtualbox/linked_clone_spec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This tests that VM is up as a linked clone shared_examples 'provider/linked_clone' do |provider, options| if !options[:box] diff --git a/test/acceptance/provider-virtualbox/network_intnet_spec.rb b/test/acceptance/provider-virtualbox/network_intnet_spec.rb index 1976ceea983..f576eea07d8 100644 --- a/test/acceptance/provider-virtualbox/network_intnet_spec.rb +++ b/test/acceptance/provider-virtualbox/network_intnet_spec.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_examples "provider/network/intnet" do |provider, options| if !options[:box] raise ArgumentError, diff --git a/test/acceptance/shared/context_virtualbox.rb b/test/acceptance/shared/context_virtualbox.rb index d34ccaa912b..427f5082bb6 100644 --- a/test/acceptance/shared/context_virtualbox.rb +++ b/test/acceptance/shared/context_virtualbox.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_context "provider-context/virtualbox" do let(:extra_env) {{ "VBOX_USER_HOME" => "{{homedir}}", diff --git a/test/config/acceptance_boxes.yml b/test/config/acceptance_boxes.yml index 2555407aaf2..155727e6a0a 100644 --- a/test/config/acceptance_boxes.yml +++ b/test/config/acceptance_boxes.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # This is the list of required boxes for acceptance tests, and # their locations. The locations are used to download the boxes # on the fly, if necessary. Additionally, a SHA1 checksum is diff --git a/test/support/isolated_environment.rb b/test/support/isolated_environment.rb index 7e679f2bb3f..ff7cfc884d8 100644 --- a/test/support/isolated_environment.rb +++ b/test/support/isolated_environment.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "pathname" require "tmpdir" diff --git a/test/unit/base.rb b/test/unit/base.rb index 97332a7c8b9..711715cdbff 100644 --- a/test/unit/base.rb +++ b/test/unit/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tmpdir" require "rubygems" diff --git a/test/unit/bin/vagrant_test.rb b/test/unit/bin/vagrant_test.rb index dbbd521129f..edd67b5e741 100644 --- a/test/unit/bin/vagrant_test.rb +++ b/test/unit/bin/vagrant_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe "vagrant bin" do diff --git a/test/unit/plugins/commands/autocomplete/commands/install_test.rb b/test/unit/plugins/commands/autocomplete/commands/install_test.rb index 60be1803f61..4cc42ab3572 100644 --- a/test/unit/plugins/commands/autocomplete/commands/install_test.rb +++ b/test/unit/plugins/commands/autocomplete/commands/install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/autocomplete/command/install") diff --git a/test/unit/plugins/commands/box/command/add_test.rb b/test/unit/plugins/commands/box/command/add_test.rb index ea3c5f33178..13f365c4a53 100644 --- a/test/unit/plugins/commands/box/command/add_test.rb +++ b/test/unit/plugins/commands/box/command/add_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/box/command/add") diff --git a/test/unit/plugins/commands/box/command/outdated_test.rb b/test/unit/plugins/commands/box/command/outdated_test.rb index 6b52614cdce..f8377865734 100644 --- a/test/unit/plugins/commands/box/command/outdated_test.rb +++ b/test/unit/plugins/commands/box/command/outdated_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/box/command/outdated") diff --git a/test/unit/plugins/commands/box/command/prune_test.rb b/test/unit/plugins/commands/box/command/prune_test.rb index d4af650947e..7e88889c7a0 100644 --- a/test/unit/plugins/commands/box/command/prune_test.rb +++ b/test/unit/plugins/commands/box/command/prune_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/box/command/prune") diff --git a/test/unit/plugins/commands/box/command/remove_test.rb b/test/unit/plugins/commands/box/command/remove_test.rb index 0ba3d36e4fb..90b8500cd18 100644 --- a/test/unit/plugins/commands/box/command/remove_test.rb +++ b/test/unit/plugins/commands/box/command/remove_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/box/command/remove") diff --git a/test/unit/plugins/commands/box/command/repackage_test.rb b/test/unit/plugins/commands/box/command/repackage_test.rb index ce21dd941fe..53fe6737496 100644 --- a/test/unit/plugins/commands/box/command/repackage_test.rb +++ b/test/unit/plugins/commands/box/command/repackage_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/box/command/repackage") diff --git a/test/unit/plugins/commands/box/command/update_test.rb b/test/unit/plugins/commands/box/command/update_test.rb index 8e8a1beae0f..179663113e2 100644 --- a/test/unit/plugins/commands/box/command/update_test.rb +++ b/test/unit/plugins/commands/box/command/update_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/plugins/commands/cap/command_test.rb b/test/unit/plugins/commands/cap/command_test.rb index 919485efd1a..2fdef68b743 100644 --- a/test/unit/plugins/commands/cap/command_test.rb +++ b/test/unit/plugins/commands/cap/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cap/command") diff --git a/test/unit/plugins/commands/cloud/auth/login_test.rb b/test/unit/plugins/commands/cloud/auth/login_test.rb index 76433a13bd0..810d17cfb2c 100644 --- a/test/unit/plugins/commands/cloud/auth/login_test.rb +++ b/test/unit/plugins/commands/cloud/auth/login_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/auth/login") diff --git a/test/unit/plugins/commands/cloud/auth/logout_test.rb b/test/unit/plugins/commands/cloud/auth/logout_test.rb index 82c5affd038..5c82a6faf23 100644 --- a/test/unit/plugins/commands/cloud/auth/logout_test.rb +++ b/test/unit/plugins/commands/cloud/auth/logout_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/auth/logout") diff --git a/test/unit/plugins/commands/cloud/auth/middleware/add_authentication_test.rb b/test/unit/plugins/commands/cloud/auth/middleware/add_authentication_test.rb index ffbd5aafa63..9e7859d382e 100644 --- a/test/unit/plugins/commands/cloud/auth/middleware/add_authentication_test.rb +++ b/test/unit/plugins/commands/cloud/auth/middleware/add_authentication_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/auth/middleware/add_authentication") diff --git a/test/unit/plugins/commands/cloud/auth/middleware/add_downloader_authentication_test.rb b/test/unit/plugins/commands/cloud/auth/middleware/add_downloader_authentication_test.rb index 5eca2ef2e64..a7541f4145c 100644 --- a/test/unit/plugins/commands/cloud/auth/middleware/add_downloader_authentication_test.rb +++ b/test/unit/plugins/commands/cloud/auth/middleware/add_downloader_authentication_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/auth/middleware/add_downloader_authentication") diff --git a/test/unit/plugins/commands/cloud/auth/whoami_test.rb b/test/unit/plugins/commands/cloud/auth/whoami_test.rb index 32195e1e402..f5527c32cb5 100644 --- a/test/unit/plugins/commands/cloud/auth/whoami_test.rb +++ b/test/unit/plugins/commands/cloud/auth/whoami_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/auth/whoami") diff --git a/test/unit/plugins/commands/cloud/box/create_test.rb b/test/unit/plugins/commands/cloud/box/create_test.rb index 82fb8b4b869..b1ff8f29c55 100644 --- a/test/unit/plugins/commands/cloud/box/create_test.rb +++ b/test/unit/plugins/commands/cloud/box/create_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/box/create") diff --git a/test/unit/plugins/commands/cloud/box/delete_test.rb b/test/unit/plugins/commands/cloud/box/delete_test.rb index a209cc4ff08..226604d0588 100644 --- a/test/unit/plugins/commands/cloud/box/delete_test.rb +++ b/test/unit/plugins/commands/cloud/box/delete_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/box/delete") diff --git a/test/unit/plugins/commands/cloud/box/show_test.rb b/test/unit/plugins/commands/cloud/box/show_test.rb index b1dde0e340e..03435c4238f 100644 --- a/test/unit/plugins/commands/cloud/box/show_test.rb +++ b/test/unit/plugins/commands/cloud/box/show_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/box/show") diff --git a/test/unit/plugins/commands/cloud/box/update_test.rb b/test/unit/plugins/commands/cloud/box/update_test.rb index deeab535811..f59ec5061fc 100644 --- a/test/unit/plugins/commands/cloud/box/update_test.rb +++ b/test/unit/plugins/commands/cloud/box/update_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/box/update") diff --git a/test/unit/plugins/commands/cloud/client_test.rb b/test/unit/plugins/commands/cloud/client_test.rb index c6be8d8422f..521101ae5e3 100644 --- a/test/unit/plugins/commands/cloud/client_test.rb +++ b/test/unit/plugins/commands/cloud/client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/client/client") diff --git a/test/unit/plugins/commands/cloud/list_test.rb b/test/unit/plugins/commands/cloud/list_test.rb index 4e4375920f5..9ba7cf19373 100644 --- a/test/unit/plugins/commands/cloud/list_test.rb +++ b/test/unit/plugins/commands/cloud/list_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/list") diff --git a/test/unit/plugins/commands/cloud/provider/create_test.rb b/test/unit/plugins/commands/cloud/provider/create_test.rb index 6c2fbe34287..54e40aa942d 100644 --- a/test/unit/plugins/commands/cloud/provider/create_test.rb +++ b/test/unit/plugins/commands/cloud/provider/create_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/provider/create") diff --git a/test/unit/plugins/commands/cloud/provider/delete_test.rb b/test/unit/plugins/commands/cloud/provider/delete_test.rb index caf260892e2..6bd0b8b6822 100644 --- a/test/unit/plugins/commands/cloud/provider/delete_test.rb +++ b/test/unit/plugins/commands/cloud/provider/delete_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/provider/delete") diff --git a/test/unit/plugins/commands/cloud/provider/update_test.rb b/test/unit/plugins/commands/cloud/provider/update_test.rb index 10ac297cd96..55bf0f0fe80 100644 --- a/test/unit/plugins/commands/cloud/provider/update_test.rb +++ b/test/unit/plugins/commands/cloud/provider/update_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/provider/update") diff --git a/test/unit/plugins/commands/cloud/provider/upload_test.rb b/test/unit/plugins/commands/cloud/provider/upload_test.rb index d60f84c2888..c1ba9d5ac67 100644 --- a/test/unit/plugins/commands/cloud/provider/upload_test.rb +++ b/test/unit/plugins/commands/cloud/provider/upload_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/provider/upload") diff --git a/test/unit/plugins/commands/cloud/publish_test.rb b/test/unit/plugins/commands/cloud/publish_test.rb index ba3e96ba83e..7bbbf97de1a 100644 --- a/test/unit/plugins/commands/cloud/publish_test.rb +++ b/test/unit/plugins/commands/cloud/publish_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/publish") diff --git a/test/unit/plugins/commands/cloud/search_test.rb b/test/unit/plugins/commands/cloud/search_test.rb index 6a82533c680..fed0e99bf29 100644 --- a/test/unit/plugins/commands/cloud/search_test.rb +++ b/test/unit/plugins/commands/cloud/search_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/search") diff --git a/test/unit/plugins/commands/cloud/version/create_test.rb b/test/unit/plugins/commands/cloud/version/create_test.rb index 96948f18a95..dd3c7bf7be9 100644 --- a/test/unit/plugins/commands/cloud/version/create_test.rb +++ b/test/unit/plugins/commands/cloud/version/create_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/version/create") diff --git a/test/unit/plugins/commands/cloud/version/delete_test.rb b/test/unit/plugins/commands/cloud/version/delete_test.rb index a1e54ea99ab..85c4a92f4b1 100644 --- a/test/unit/plugins/commands/cloud/version/delete_test.rb +++ b/test/unit/plugins/commands/cloud/version/delete_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/version/delete") diff --git a/test/unit/plugins/commands/cloud/version/release_test.rb b/test/unit/plugins/commands/cloud/version/release_test.rb index 96b32c696c3..c9f7f850694 100644 --- a/test/unit/plugins/commands/cloud/version/release_test.rb +++ b/test/unit/plugins/commands/cloud/version/release_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/version/release") diff --git a/test/unit/plugins/commands/cloud/version/revoke_test.rb b/test/unit/plugins/commands/cloud/version/revoke_test.rb index f735ee1dc84..161a04ffb22 100644 --- a/test/unit/plugins/commands/cloud/version/revoke_test.rb +++ b/test/unit/plugins/commands/cloud/version/revoke_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/version/revoke") diff --git a/test/unit/plugins/commands/cloud/version/update_test.rb b/test/unit/plugins/commands/cloud/version/update_test.rb index b81238ae5fa..6924cb29dc2 100644 --- a/test/unit/plugins/commands/cloud/version/update_test.rb +++ b/test/unit/plugins/commands/cloud/version/update_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/cloud/version/update") diff --git a/test/unit/plugins/commands/destroy/command_test.rb b/test/unit/plugins/commands/destroy/command_test.rb index d21d4239a62..96373c2829c 100644 --- a/test/unit/plugins/commands/destroy/command_test.rb +++ b/test/unit/plugins/commands/destroy/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/destroy/command") diff --git a/test/unit/plugins/commands/global-status/command_test.rb b/test/unit/plugins/commands/global-status/command_test.rb index 8377355512b..33dab96c8bc 100644 --- a/test/unit/plugins/commands/global-status/command_test.rb +++ b/test/unit/plugins/commands/global-status/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/global-status/command") diff --git a/test/unit/plugins/commands/init/command_test.rb b/test/unit/plugins/commands/init/command_test.rb index 6bb86fa830c..27d1d3ab822 100644 --- a/test/unit/plugins/commands/init/command_test.rb +++ b/test/unit/plugins/commands/init/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require_relative "../../../../../plugins/commands/init/command" diff --git a/test/unit/plugins/commands/list-commands/command_test.rb b/test/unit/plugins/commands/list-commands/command_test.rb index e4c4ee0c8ca..518d49a04f4 100644 --- a/test/unit/plugins/commands/list-commands/command_test.rb +++ b/test/unit/plugins/commands/list-commands/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/list-commands/command") diff --git a/test/unit/plugins/commands/package/command_test.rb b/test/unit/plugins/commands/package/command_test.rb index d0f81393bf6..aa3268859a6 100644 --- a/test/unit/plugins/commands/package/command_test.rb +++ b/test/unit/plugins/commands/package/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require_relative "../../../../../plugins/commands/package/command" diff --git a/test/unit/plugins/commands/plugin/action/expunge_plugins_test.rb b/test/unit/plugins/commands/plugin/action/expunge_plugins_test.rb index a58f38d3311..22bbdc6180c 100644 --- a/test/unit/plugins/commands/plugin/action/expunge_plugins_test.rb +++ b/test/unit/plugins/commands/plugin/action/expunge_plugins_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) describe VagrantPlugins::CommandPlugin::Action::ExpungePlugins do diff --git a/test/unit/plugins/commands/plugin/action/install_gem_test.rb b/test/unit/plugins/commands/plugin/action/install_gem_test.rb index 43559504161..17223411cd4 100644 --- a/test/unit/plugins/commands/plugin/action/install_gem_test.rb +++ b/test/unit/plugins/commands/plugin/action/install_gem_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) describe VagrantPlugins::CommandPlugin::Action::InstallGem do diff --git a/test/unit/plugins/commands/plugin/action/plugin_exists_check_test.rb b/test/unit/plugins/commands/plugin/action/plugin_exists_check_test.rb index d332a84d483..405fa9b5bf1 100644 --- a/test/unit/plugins/commands/plugin/action/plugin_exists_check_test.rb +++ b/test/unit/plugins/commands/plugin/action/plugin_exists_check_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) describe VagrantPlugins::CommandPlugin::Action::PluginExistsCheck do diff --git a/test/unit/plugins/commands/plugin/action/uninstall_plugin_test.rb b/test/unit/plugins/commands/plugin/action/uninstall_plugin_test.rb index 39b2790aab1..9292874add3 100644 --- a/test/unit/plugins/commands/plugin/action/uninstall_plugin_test.rb +++ b/test/unit/plugins/commands/plugin/action/uninstall_plugin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) describe VagrantPlugins::CommandPlugin::Action::UninstallPlugin do diff --git a/test/unit/plugins/commands/plugin/action/update_gems_test.rb b/test/unit/plugins/commands/plugin/action/update_gems_test.rb index 37aa5855746..a9615f8436e 100644 --- a/test/unit/plugins/commands/plugin/action/update_gems_test.rb +++ b/test/unit/plugins/commands/plugin/action/update_gems_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) describe VagrantPlugins::CommandPlugin::Action::UpdateGems do diff --git a/test/unit/plugins/commands/port/command_test.rb b/test/unit/plugins/commands/port/command_test.rb index 31496ce8edc..6942382fbef 100644 --- a/test/unit/plugins/commands/port/command_test.rb +++ b/test/unit/plugins/commands/port/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/port/command") diff --git a/test/unit/plugins/commands/powershell/command_test.rb b/test/unit/plugins/commands/powershell/command_test.rb index 9ed5e3a56b3..df05e229ba2 100644 --- a/test/unit/plugins/commands/powershell/command_test.rb +++ b/test/unit/plugins/commands/powershell/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/powershell/command") diff --git a/test/unit/plugins/commands/provider/command_test.rb b/test/unit/plugins/commands/provider/command_test.rb index c1dae2923a7..8580476c26e 100644 --- a/test/unit/plugins/commands/provider/command_test.rb +++ b/test/unit/plugins/commands/provider/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/provider/command") diff --git a/test/unit/plugins/commands/push/command_test.rb b/test/unit/plugins/commands/push/command_test.rb index cba5c46b165..aa62e1ce98d 100644 --- a/test/unit/plugins/commands/push/command_test.rb +++ b/test/unit/plugins/commands/push/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/push/command") diff --git a/test/unit/plugins/commands/reload/command_test.rb b/test/unit/plugins/commands/reload/command_test.rb index d16864d51ce..890b8cdc82b 100644 --- a/test/unit/plugins/commands/reload/command_test.rb +++ b/test/unit/plugins/commands/reload/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/reload/command") diff --git a/test/unit/plugins/commands/serve/mappers_test.rb b/test/unit/plugins/commands/serve/mappers_test.rb index 0d291da6de0..efd8744d3a6 100644 --- a/test/unit/plugins/commands/serve/mappers_test.rb +++ b/test/unit/plugins/commands/serve/mappers_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __dir__) require Vagrant.source_root.join("plugins/commands/serve/command") diff --git a/test/unit/plugins/commands/serve/service/guest_service_test.rb b/test/unit/plugins/commands/serve/service/guest_service_test.rb index ca3eb9e90c2..f75e3265003 100644 --- a/test/unit/plugins/commands/serve/service/guest_service_test.rb +++ b/test/unit/plugins/commands/serve/service/guest_service_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/serve/command") diff --git a/test/unit/plugins/commands/serve/service/host_service_test.rb b/test/unit/plugins/commands/serve/service/host_service_test.rb index 893127a360c..7c48355a04b 100644 --- a/test/unit/plugins/commands/serve/service/host_service_test.rb +++ b/test/unit/plugins/commands/serve/service/host_service_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/serve/command") diff --git a/test/unit/plugins/commands/serve/util/exception_transformer_test.rb b/test/unit/plugins/commands/serve/util/exception_transformer_test.rb index da2121d7f06..252217aadab 100644 --- a/test/unit/plugins/commands/serve/util/exception_transformer_test.rb +++ b/test/unit/plugins/commands/serve/util/exception_transformer_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/serve/command") diff --git a/test/unit/plugins/commands/snapshot/command/delete_test.rb b/test/unit/plugins/commands/snapshot/command/delete_test.rb index 438c9c05e78..55735c2eac1 100644 --- a/test/unit/plugins/commands/snapshot/command/delete_test.rb +++ b/test/unit/plugins/commands/snapshot/command/delete_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/delete") diff --git a/test/unit/plugins/commands/snapshot/command/list_test.rb b/test/unit/plugins/commands/snapshot/command/list_test.rb index 46a56eef92e..2462b8191f5 100644 --- a/test/unit/plugins/commands/snapshot/command/list_test.rb +++ b/test/unit/plugins/commands/snapshot/command/list_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/list") diff --git a/test/unit/plugins/commands/snapshot/command/pop_test.rb b/test/unit/plugins/commands/snapshot/command/pop_test.rb index 1ec6fd6358b..60bb32fc5d7 100644 --- a/test/unit/plugins/commands/snapshot/command/pop_test.rb +++ b/test/unit/plugins/commands/snapshot/command/pop_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/pop") diff --git a/test/unit/plugins/commands/snapshot/command/push_test.rb b/test/unit/plugins/commands/snapshot/command/push_test.rb index 3da907cfa83..f350e24b1fe 100644 --- a/test/unit/plugins/commands/snapshot/command/push_test.rb +++ b/test/unit/plugins/commands/snapshot/command/push_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/push") diff --git a/test/unit/plugins/commands/snapshot/command/restore_test.rb b/test/unit/plugins/commands/snapshot/command/restore_test.rb index dbbb74b4978..528656ccc5c 100644 --- a/test/unit/plugins/commands/snapshot/command/restore_test.rb +++ b/test/unit/plugins/commands/snapshot/command/restore_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/restore") diff --git a/test/unit/plugins/commands/snapshot/command/root_test.rb b/test/unit/plugins/commands/snapshot/command/root_test.rb index 426015f1827..5d760a17a0f 100644 --- a/test/unit/plugins/commands/snapshot/command/root_test.rb +++ b/test/unit/plugins/commands/snapshot/command/root_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/root") diff --git a/test/unit/plugins/commands/snapshot/command/save_test.rb b/test/unit/plugins/commands/snapshot/command/save_test.rb index eef624745fd..8d83af310f3 100644 --- a/test/unit/plugins/commands/snapshot/command/save_test.rb +++ b/test/unit/plugins/commands/snapshot/command/save_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/snapshot/command/save") diff --git a/test/unit/plugins/commands/ssh_config/command_test.rb b/test/unit/plugins/commands/ssh_config/command_test.rb index a22e5bd556d..59d4ca7437e 100644 --- a/test/unit/plugins/commands/ssh_config/command_test.rb +++ b/test/unit/plugins/commands/ssh_config/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/ssh_config/command") diff --git a/test/unit/plugins/commands/suspend/command_test.rb b/test/unit/plugins/commands/suspend/command_test.rb index 3c13c6c5a86..f47cbfdd6c1 100644 --- a/test/unit/plugins/commands/suspend/command_test.rb +++ b/test/unit/plugins/commands/suspend/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/suspend/command") diff --git a/test/unit/plugins/commands/up/command_test.rb b/test/unit/plugins/commands/up/command_test.rb index a51eed55a6e..034690d155c 100644 --- a/test/unit/plugins/commands/up/command_test.rb +++ b/test/unit/plugins/commands/up/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/up/command") diff --git a/test/unit/plugins/commands/up/middleware/store_box_metadata_test.rb b/test/unit/plugins/commands/up/middleware/store_box_metadata_test.rb index 80c831def51..e5010dfa989 100644 --- a/test/unit/plugins/commands/up/middleware/store_box_metadata_test.rb +++ b/test/unit/plugins/commands/up/middleware/store_box_metadata_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/up/middleware/store_box_metadata") diff --git a/test/unit/plugins/commands/upload/command_test.rb b/test/unit/plugins/commands/upload/command_test.rb index c8077d71061..efc2846e69e 100644 --- a/test/unit/plugins/commands/upload/command_test.rb +++ b/test/unit/plugins/commands/upload/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/upload/command") diff --git a/test/unit/plugins/commands/validate/command_test.rb b/test/unit/plugins/commands/validate/command_test.rb index 7ce031b5882..08f040bf105 100644 --- a/test/unit/plugins/commands/validate/command_test.rb +++ b/test/unit/plugins/commands/validate/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require_relative "../../../../../plugins/commands/validate/command" diff --git a/test/unit/plugins/commands/winrm/command_test.rb b/test/unit/plugins/commands/winrm/command_test.rb index 5481296b8c1..5c0b1a273dc 100644 --- a/test/unit/plugins/commands/winrm/command_test.rb +++ b/test/unit/plugins/commands/winrm/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/winrm/command") diff --git a/test/unit/plugins/commands/winrm_config/command_test.rb b/test/unit/plugins/commands/winrm_config/command_test.rb index 95d3be329a9..145a27ac36a 100644 --- a/test/unit/plugins/commands/winrm_config/command_test.rb +++ b/test/unit/plugins/commands/winrm_config/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/commands/winrm_config/command") diff --git a/test/unit/plugins/communicators/ssh/communicator_test.rb b/test/unit/plugins/communicators/ssh/communicator_test.rb index a40f7331c8f..904275aad30 100644 --- a/test/unit/plugins/communicators/ssh/communicator_test.rb +++ b/test/unit/plugins/communicators/ssh/communicator_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/ssh/communicator") diff --git a/test/unit/plugins/communicators/winrm/command_filter_test.rb b/test/unit/plugins/communicators/winrm/command_filter_test.rb index 151227b357b..2c0457eb311 100644 --- a/test/unit/plugins/communicators/winrm/command_filter_test.rb +++ b/test/unit/plugins/communicators/winrm/command_filter_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winrm/command_filter") diff --git a/test/unit/plugins/communicators/winrm/communicator_test.rb b/test/unit/plugins/communicators/winrm/communicator_test.rb index 226125bed02..dc980f166e1 100644 --- a/test/unit/plugins/communicators/winrm/communicator_test.rb +++ b/test/unit/plugins/communicators/winrm/communicator_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winrm/communicator") diff --git a/test/unit/plugins/communicators/winrm/config_test.rb b/test/unit/plugins/communicators/winrm/config_test.rb index ed11358c62f..1b696913941 100644 --- a/test/unit/plugins/communicators/winrm/config_test.rb +++ b/test/unit/plugins/communicators/winrm/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winrm/config") diff --git a/test/unit/plugins/communicators/winrm/helper_test.rb b/test/unit/plugins/communicators/winrm/helper_test.rb index 1b942ac803b..0d52794d78b 100644 --- a/test/unit/plugins/communicators/winrm/helper_test.rb +++ b/test/unit/plugins/communicators/winrm/helper_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winrm/helper") diff --git a/test/unit/plugins/communicators/winrm/plugin_test.rb b/test/unit/plugins/communicators/winrm/plugin_test.rb index 298ef4f7487..95faf2ab8fb 100644 --- a/test/unit/plugins/communicators/winrm/plugin_test.rb +++ b/test/unit/plugins/communicators/winrm/plugin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winrm/plugin") diff --git a/test/unit/plugins/communicators/winrm/shell_test.rb b/test/unit/plugins/communicators/winrm/shell_test.rb index 2e05fb5079b..e30acaa0573 100644 --- a/test/unit/plugins/communicators/winrm/shell_test.rb +++ b/test/unit/plugins/communicators/winrm/shell_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winrm/shell") diff --git a/test/unit/plugins/communicators/winssh/communicator_test.rb b/test/unit/plugins/communicators/winssh/communicator_test.rb index b0c189f4aa6..256328daa2b 100644 --- a/test/unit/plugins/communicators/winssh/communicator_test.rb +++ b/test/unit/plugins/communicators/winssh/communicator_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/communicators/winssh/communicator") diff --git a/test/unit/plugins/guests/alma/cap/flavor_test.rb b/test/unit/plugins/guests/alma/cap/flavor_test.rb index 4ff8adbb6d2..bd5226b7f16 100644 --- a/test/unit/plugins/guests/alma/cap/flavor_test.rb +++ b/test/unit/plugins/guests/alma/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestAlma::Cap::Flavor" do diff --git a/test/unit/plugins/guests/alpine/cap/change_host_name_test.rb b/test/unit/plugins/guests/alpine/cap/change_host_name_test.rb index 65a32fadcf8..94d7f000fdb 100644 --- a/test/unit/plugins/guests/alpine/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/alpine/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::ChangeHostname' do diff --git a/test/unit/plugins/guests/alpine/cap/configure_networks_test.rb b/test/unit/plugins/guests/alpine/cap/configure_networks_test.rb index 56ee605ff6d..64e67c5166f 100644 --- a/test/unit/plugins/guests/alpine/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/alpine/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::ConfigureNetworks' do diff --git a/test/unit/plugins/guests/alpine/cap/halt_test.rb b/test/unit/plugins/guests/alpine/cap/halt_test.rb index e10c7dc9985..5d988f057dc 100644 --- a/test/unit/plugins/guests/alpine/cap/halt_test.rb +++ b/test/unit/plugins/guests/alpine/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::Halt' do diff --git a/test/unit/plugins/guests/alpine/cap/nfs_client_test.rb b/test/unit/plugins/guests/alpine/cap/nfs_client_test.rb index 9273707c317..d383b065c11 100644 --- a/test/unit/plugins/guests/alpine/cap/nfs_client_test.rb +++ b/test/unit/plugins/guests/alpine/cap/nfs_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::NFSClient' do diff --git a/test/unit/plugins/guests/alpine/cap/rsync_test.rb b/test/unit/plugins/guests/alpine/cap/rsync_test.rb index 70253495fbb..8247f947189 100644 --- a/test/unit/plugins/guests/alpine/cap/rsync_test.rb +++ b/test/unit/plugins/guests/alpine/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe 'VagrantPlugins::GuestAlpine::Cap::RSync' do diff --git a/test/unit/plugins/guests/alpine/plugin_test.rb b/test/unit/plugins/guests/alpine/plugin_test.rb index 8e4341c27e6..a2c5696be42 100644 --- a/test/unit/plugins/guests/alpine/plugin_test.rb +++ b/test/unit/plugins/guests/alpine/plugin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) diff --git a/test/unit/plugins/guests/alt/cap/change_host_name_test.rb b/test/unit/plugins/guests/alt/cap/change_host_name_test.rb index 21a8f74799d..bd0ca06a431 100644 --- a/test/unit/plugins/guests/alt/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/alt/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestALT::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/alt/cap/configure_networks_test.rb b/test/unit/plugins/guests/alt/cap/configure_networks_test.rb index c5c4db6ca2b..af88c3221ad 100644 --- a/test/unit/plugins/guests/alt/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/alt/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestALT::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/alt/cap/flavor_test.rb b/test/unit/plugins/guests/alt/cap/flavor_test.rb index 65538f0fed8..464dc549abd 100644 --- a/test/unit/plugins/guests/alt/cap/flavor_test.rb +++ b/test/unit/plugins/guests/alt/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestALT::Cap::Flavor" do diff --git a/test/unit/plugins/guests/alt/cap/network_scripts_dir_test.rb b/test/unit/plugins/guests/alt/cap/network_scripts_dir_test.rb index 4aac580692f..50209ccb23e 100644 --- a/test/unit/plugins/guests/alt/cap/network_scripts_dir_test.rb +++ b/test/unit/plugins/guests/alt/cap/network_scripts_dir_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestALT::Cap::NetworkScriptsDir" do diff --git a/test/unit/plugins/guests/alt/cap/rsync_test.rb b/test/unit/plugins/guests/alt/cap/rsync_test.rb index 126db9963c4..416a8cb8eeb 100644 --- a/test/unit/plugins/guests/alt/cap/rsync_test.rb +++ b/test/unit/plugins/guests/alt/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestALT::Cap:RSync" do diff --git a/test/unit/plugins/guests/amazon/cap/flavor_test.rb b/test/unit/plugins/guests/amazon/cap/flavor_test.rb index d864f79dcba..9ded98af92d 100644 --- a/test/unit/plugins/guests/amazon/cap/flavor_test.rb +++ b/test/unit/plugins/guests/amazon/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestAmazon::Cap::Flavor" do diff --git a/test/unit/plugins/guests/arch/cap/change_host_name_test.rb b/test/unit/plugins/guests/arch/cap/change_host_name_test.rb index d7705227c7f..30ba7e23941 100644 --- a/test/unit/plugins/guests/arch/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/arch/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestArch::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/arch/cap/configure_networks_test.rb b/test/unit/plugins/guests/arch/cap/configure_networks_test.rb index 86805b7d5d9..a7745c921ed 100644 --- a/test/unit/plugins/guests/arch/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/arch/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestArch::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/arch/cap/rsync_test.rb b/test/unit/plugins/guests/arch/cap/rsync_test.rb index 4cd7e0e8b2d..d558b2be39d 100644 --- a/test/unit/plugins/guests/arch/cap/rsync_test.rb +++ b/test/unit/plugins/guests/arch/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestArch::Cap:RSync" do diff --git a/test/unit/plugins/guests/arch/cap/smb_test.rb b/test/unit/plugins/guests/arch/cap/smb_test.rb index 4366748f93a..9e89ced7ae7 100644 --- a/test/unit/plugins/guests/arch/cap/smb_test.rb +++ b/test/unit/plugins/guests/arch/cap/smb_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestArch::Cap::SMB" do diff --git a/test/unit/plugins/guests/atomic/cap/change_host_name_test.rb b/test/unit/plugins/guests/atomic/cap/change_host_name_test.rb index 7ef35e51787..a84847cd137 100644 --- a/test/unit/plugins/guests/atomic/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/atomic/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestAtomic::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/atomic/cap/docker_test.rb b/test/unit/plugins/guests/atomic/cap/docker_test.rb index ab3b6489d12..f71df6953bb 100644 --- a/test/unit/plugins/guests/atomic/cap/docker_test.rb +++ b/test/unit/plugins/guests/atomic/cap/docker_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestAtomic::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/bsd/cap/file_system_test.rb b/test/unit/plugins/guests/bsd/cap/file_system_test.rb index 7e7d528d620..a15c3bda4f4 100644 --- a/test/unit/plugins/guests/bsd/cap/file_system_test.rb +++ b/test/unit/plugins/guests/bsd/cap/file_system_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestBSD::Cap::FileSystem" do diff --git a/test/unit/plugins/guests/bsd/cap/halt_test.rb b/test/unit/plugins/guests/bsd/cap/halt_test.rb index d645ed4a1c4..ce26a53033b 100644 --- a/test/unit/plugins/guests/bsd/cap/halt_test.rb +++ b/test/unit/plugins/guests/bsd/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestBSD::Cap::Halt" do diff --git a/test/unit/plugins/guests/bsd/cap/insert_public_key_test.rb b/test/unit/plugins/guests/bsd/cap/insert_public_key_test.rb index 62b0ea7dcfa..a4be4fc514c 100644 --- a/test/unit/plugins/guests/bsd/cap/insert_public_key_test.rb +++ b/test/unit/plugins/guests/bsd/cap/insert_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestBSD::Cap::InsertPublicKey" do diff --git a/test/unit/plugins/guests/bsd/cap/mount_virtual_box_shared_folder_test.rb b/test/unit/plugins/guests/bsd/cap/mount_virtual_box_shared_folder_test.rb index 7d232654f21..acda1f22e13 100644 --- a/test/unit/plugins/guests/bsd/cap/mount_virtual_box_shared_folder_test.rb +++ b/test/unit/plugins/guests/bsd/cap/mount_virtual_box_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestBSD::Cap::MountVirtualBoxSharedFolder" do diff --git a/test/unit/plugins/guests/bsd/cap/nfs_test.rb b/test/unit/plugins/guests/bsd/cap/nfs_test.rb index aec465b9d31..2aaf66f6115 100644 --- a/test/unit/plugins/guests/bsd/cap/nfs_test.rb +++ b/test/unit/plugins/guests/bsd/cap/nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestBSD::Cap::NFS" do diff --git a/test/unit/plugins/guests/bsd/cap/remove_public_key_test.rb b/test/unit/plugins/guests/bsd/cap/remove_public_key_test.rb index 27dfd904431..62c3a6b1e97 100644 --- a/test/unit/plugins/guests/bsd/cap/remove_public_key_test.rb +++ b/test/unit/plugins/guests/bsd/cap/remove_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestBSD::Cap::RemovePublicKey" do diff --git a/test/unit/plugins/guests/centos/cap/flavor_test.rb b/test/unit/plugins/guests/centos/cap/flavor_test.rb index 7ce576ae05e..f588b3b37cd 100644 --- a/test/unit/plugins/guests/centos/cap/flavor_test.rb +++ b/test/unit/plugins/guests/centos/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestCentos::Cap::Flavor" do diff --git a/test/unit/plugins/guests/coreos/cap/change_host_name_test.rb b/test/unit/plugins/guests/coreos/cap/change_host_name_test.rb index 1f0d7c53ab8..f63f28e103c 100644 --- a/test/unit/plugins/guests/coreos/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/coreos/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestCoreOS::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/coreos/cap/configure_networks_test.rb b/test/unit/plugins/guests/coreos/cap/configure_networks_test.rb index f423bf055e7..defcde03785 100644 --- a/test/unit/plugins/guests/coreos/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/coreos/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestCoreOS::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/coreos/cap/docker_test.rb b/test/unit/plugins/guests/coreos/cap/docker_test.rb index 25f5f6856ef..2465090d1a4 100644 --- a/test/unit/plugins/guests/coreos/cap/docker_test.rb +++ b/test/unit/plugins/guests/coreos/cap/docker_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestCoreOS::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/darwin/cap/change_host_name_test.rb b/test/unit/plugins/guests/darwin/cap/change_host_name_test.rb index 45b8896daed..b3b050b8ab3 100644 --- a/test/unit/plugins/guests/darwin/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/darwin/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDarwin::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/darwin/cap/choose_addressable_ip_addr_test.rb b/test/unit/plugins/guests/darwin/cap/choose_addressable_ip_addr_test.rb index 4468db8e9aa..79a700b1dc8 100644 --- a/test/unit/plugins/guests/darwin/cap/choose_addressable_ip_addr_test.rb +++ b/test/unit/plugins/guests/darwin/cap/choose_addressable_ip_addr_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDarwin::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/darwin/cap/darwin_version_test.rb b/test/unit/plugins/guests/darwin/cap/darwin_version_test.rb index 5f1d9790a7b..39b45ccb26f 100644 --- a/test/unit/plugins/guests/darwin/cap/darwin_version_test.rb +++ b/test/unit/plugins/guests/darwin/cap/darwin_version_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDarwin::Cap::DarwinVersion" do diff --git a/test/unit/plugins/guests/darwin/cap/halt_test.rb b/test/unit/plugins/guests/darwin/cap/halt_test.rb index 5827340dc96..9ef843218b4 100644 --- a/test/unit/plugins/guests/darwin/cap/halt_test.rb +++ b/test/unit/plugins/guests/darwin/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDarwin::Cap::Halt" do diff --git a/test/unit/plugins/guests/darwin/cap/mount_vmware_shared_folder_test.rb b/test/unit/plugins/guests/darwin/cap/mount_vmware_shared_folder_test.rb index 44302cb5307..f04a98f319a 100644 --- a/test/unit/plugins/guests/darwin/cap/mount_vmware_shared_folder_test.rb +++ b/test/unit/plugins/guests/darwin/cap/mount_vmware_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDarwin::Cap::MountVmwareSharedFolder" do diff --git a/test/unit/plugins/guests/darwin/cap/shell_expand_guest_path_test.rb b/test/unit/plugins/guests/darwin/cap/shell_expand_guest_path_test.rb index 10fc01bf5a1..241f4bdc652 100644 --- a/test/unit/plugins/guests/darwin/cap/shell_expand_guest_path_test.rb +++ b/test/unit/plugins/guests/darwin/cap/shell_expand_guest_path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDarwin::Cap::ShellExpandGuestPath" do diff --git a/test/unit/plugins/guests/debian/cap/change_host_name_test.rb b/test/unit/plugins/guests/debian/cap/change_host_name_test.rb index fd6620234b6..f45fdb08726 100644 --- a/test/unit/plugins/guests/debian/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/debian/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDebian::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/debian/cap/configure_networks_test.rb b/test/unit/plugins/guests/debian/cap/configure_networks_test.rb index 1898e39403d..1cd2eb75c72 100644 --- a/test/unit/plugins/guests/debian/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/debian/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDebian::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/debian/cap/nfs_client_test.rb b/test/unit/plugins/guests/debian/cap/nfs_client_test.rb index 5bc854d41d6..1c3c33062ae 100644 --- a/test/unit/plugins/guests/debian/cap/nfs_client_test.rb +++ b/test/unit/plugins/guests/debian/cap/nfs_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDebian::Cap::NFSClient" do diff --git a/test/unit/plugins/guests/debian/cap/rsync_test.rb b/test/unit/plugins/guests/debian/cap/rsync_test.rb index 9cf9dccab3f..65f3296b3d8 100644 --- a/test/unit/plugins/guests/debian/cap/rsync_test.rb +++ b/test/unit/plugins/guests/debian/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDebian::Cap:RSync" do diff --git a/test/unit/plugins/guests/debian/cap/smb_test.rb b/test/unit/plugins/guests/debian/cap/smb_test.rb index 7e4159effa4..15f6c1f9b86 100644 --- a/test/unit/plugins/guests/debian/cap/smb_test.rb +++ b/test/unit/plugins/guests/debian/cap/smb_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestDebian::Cap::SMB" do diff --git a/test/unit/plugins/guests/esxi/cap/halt_test.rb b/test/unit/plugins/guests/esxi/cap/halt_test.rb index b0e488a02e9..93277506a23 100644 --- a/test/unit/plugins/guests/esxi/cap/halt_test.rb +++ b/test/unit/plugins/guests/esxi/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestEsxi::Cap::Halt" do diff --git a/test/unit/plugins/guests/esxi/cap/public_key_test.rb b/test/unit/plugins/guests/esxi/cap/public_key_test.rb index 93a30085279..a0acf62ddad 100644 --- a/test/unit/plugins/guests/esxi/cap/public_key_test.rb +++ b/test/unit/plugins/guests/esxi/cap/public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestEsxi::Cap::PublicKey" do diff --git a/test/unit/plugins/guests/freebsd/cap/change_host_name_test.rb b/test/unit/plugins/guests/freebsd/cap/change_host_name_test.rb index 4a3f3258d16..96306eabd98 100644 --- a/test/unit/plugins/guests/freebsd/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/freebsd/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestFreeBSD::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/freebsd/cap/configure_networks_test.rb b/test/unit/plugins/guests/freebsd/cap/configure_networks_test.rb index 372311baea1..839e6587629 100644 --- a/test/unit/plugins/guests/freebsd/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/freebsd/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestFreeBSD::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/freebsd/cap/mount_virtual_box_shared_folder_test.rb b/test/unit/plugins/guests/freebsd/cap/mount_virtual_box_shared_folder_test.rb index fed2834f288..f4a5919626f 100644 --- a/test/unit/plugins/guests/freebsd/cap/mount_virtual_box_shared_folder_test.rb +++ b/test/unit/plugins/guests/freebsd/cap/mount_virtual_box_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestFreeBSD::Cap::MountVirtualBoxSharedFolder" do diff --git a/test/unit/plugins/guests/freebsd/cap/rsync_test.rb b/test/unit/plugins/guests/freebsd/cap/rsync_test.rb index d0ad41829b2..b4aa501be8b 100644 --- a/test/unit/plugins/guests/freebsd/cap/rsync_test.rb +++ b/test/unit/plugins/guests/freebsd/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestFreeBSD::Cap::RSync" do diff --git a/test/unit/plugins/guests/freebsd/cap/shell_expand_guest_path_test.rb b/test/unit/plugins/guests/freebsd/cap/shell_expand_guest_path_test.rb index 334cdd40cb9..c61876ab5f5 100644 --- a/test/unit/plugins/guests/freebsd/cap/shell_expand_guest_path_test.rb +++ b/test/unit/plugins/guests/freebsd/cap/shell_expand_guest_path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestFreeBSD::Cap::ShellExpandGuestPath" do diff --git a/test/unit/plugins/guests/gentoo/cap/change_host_name_test.rb b/test/unit/plugins/guests/gentoo/cap/change_host_name_test.rb index a3911275147..73c65a3a2a6 100644 --- a/test/unit/plugins/guests/gentoo/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/gentoo/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestGentoo::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/haiku/cap/rsync_test.rb b/test/unit/plugins/guests/haiku/cap/rsync_test.rb index b278b3909d3..17a08524a50 100644 --- a/test/unit/plugins/guests/haiku/cap/rsync_test.rb +++ b/test/unit/plugins/guests/haiku/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestHaiku::Cap::RSync" do diff --git a/test/unit/plugins/guests/linux/cap/change_host_name_test.rb b/test/unit/plugins/guests/linux/cap/change_host_name_test.rb index 6763a012607..8f30dcd891e 100644 --- a/test/unit/plugins/guests/linux/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/linux/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/linux/cap/choose_addressable_ip_addr_test.rb b/test/unit/plugins/guests/linux/cap/choose_addressable_ip_addr_test.rb index 9bf26c0f615..dd4f38457e6 100644 --- a/test/unit/plugins/guests/linux/cap/choose_addressable_ip_addr_test.rb +++ b/test/unit/plugins/guests/linux/cap/choose_addressable_ip_addr_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::ChooseAddressableIPAddr" do diff --git a/test/unit/plugins/guests/linux/cap/file_system_test.rb b/test/unit/plugins/guests/linux/cap/file_system_test.rb index aa7c0340c5a..0458c3b6a2d 100644 --- a/test/unit/plugins/guests/linux/cap/file_system_test.rb +++ b/test/unit/plugins/guests/linux/cap/file_system_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::FileSystem" do diff --git a/test/unit/plugins/guests/linux/cap/halt_test.rb b/test/unit/plugins/guests/linux/cap/halt_test.rb index caa27251fdb..0c6a4316f8f 100644 --- a/test/unit/plugins/guests/linux/cap/halt_test.rb +++ b/test/unit/plugins/guests/linux/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::Halt" do diff --git a/test/unit/plugins/guests/linux/cap/insert_public_key_test.rb b/test/unit/plugins/guests/linux/cap/insert_public_key_test.rb index 704f2161d0e..9a4998ee506 100644 --- a/test/unit/plugins/guests/linux/cap/insert_public_key_test.rb +++ b/test/unit/plugins/guests/linux/cap/insert_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::InsertPublicKey" do diff --git a/test/unit/plugins/guests/linux/cap/mount_nfs_test.rb b/test/unit/plugins/guests/linux/cap/mount_nfs_test.rb index f1f0a725412..51799252669 100644 --- a/test/unit/plugins/guests/linux/cap/mount_nfs_test.rb +++ b/test/unit/plugins/guests/linux/cap/mount_nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::MountNFS" do diff --git a/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb b/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb index 42f666c3011..d3e4b240c27 100644 --- a/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb +++ b/test/unit/plugins/guests/linux/cap/mount_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::MountSharedFolder" do diff --git a/test/unit/plugins/guests/linux/cap/mount_smb_shared_folder_test.rb b/test/unit/plugins/guests/linux/cap/mount_smb_shared_folder_test.rb index 7f82ad83645..f1975e8b2e5 100644 --- a/test/unit/plugins/guests/linux/cap/mount_smb_shared_folder_test.rb +++ b/test/unit/plugins/guests/linux/cap/mount_smb_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::MountSMBSharedFolder" do diff --git a/test/unit/plugins/guests/linux/cap/mount_virtual_box_shared_folder_test.rb b/test/unit/plugins/guests/linux/cap/mount_virtual_box_shared_folder_test.rb index 4ace1922555..86b89f0f787 100644 --- a/test/unit/plugins/guests/linux/cap/mount_virtual_box_shared_folder_test.rb +++ b/test/unit/plugins/guests/linux/cap/mount_virtual_box_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::MountVirtualBoxSharedFolder" do diff --git a/test/unit/plugins/guests/linux/cap/network_interfaces_test.rb b/test/unit/plugins/guests/linux/cap/network_interfaces_test.rb index fa64b6bbe8b..ac8ddc5fe32 100644 --- a/test/unit/plugins/guests/linux/cap/network_interfaces_test.rb +++ b/test/unit/plugins/guests/linux/cap/network_interfaces_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::NetworkInterfaces" do diff --git a/test/unit/plugins/guests/linux/cap/nfs_client_test.rb b/test/unit/plugins/guests/linux/cap/nfs_client_test.rb index a0bed003356..8754541f782 100644 --- a/test/unit/plugins/guests/linux/cap/nfs_client_test.rb +++ b/test/unit/plugins/guests/linux/cap/nfs_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::NFSClient" do diff --git a/test/unit/plugins/guests/linux/cap/persist_mount_shared_folder_test.rb b/test/unit/plugins/guests/linux/cap/persist_mount_shared_folder_test.rb index 9a8d89edf12..5a1ee98b857 100644 --- a/test/unit/plugins/guests/linux/cap/persist_mount_shared_folder_test.rb +++ b/test/unit/plugins/guests/linux/cap/persist_mount_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::PersistMountSharedFolder" do diff --git a/test/unit/plugins/guests/linux/cap/port_test.rb b/test/unit/plugins/guests/linux/cap/port_test.rb index 36792e8e211..19d93b9f865 100644 --- a/test/unit/plugins/guests/linux/cap/port_test.rb +++ b/test/unit/plugins/guests/linux/cap/port_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::Port" do diff --git a/test/unit/plugins/guests/linux/cap/reboot_test.rb b/test/unit/plugins/guests/linux/cap/reboot_test.rb index c478c1f3339..4a00663d5b7 100644 --- a/test/unit/plugins/guests/linux/cap/reboot_test.rb +++ b/test/unit/plugins/guests/linux/cap/reboot_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/guests/linux/cap/reboot") diff --git a/test/unit/plugins/guests/linux/cap/remove_public_key_test.rb b/test/unit/plugins/guests/linux/cap/remove_public_key_test.rb index 0ea8faec9af..e81e7e33871 100644 --- a/test/unit/plugins/guests/linux/cap/remove_public_key_test.rb +++ b/test/unit/plugins/guests/linux/cap/remove_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::RemovePublicKey" do diff --git a/test/unit/plugins/guests/linux/cap/rsync_test.rb b/test/unit/plugins/guests/linux/cap/rsync_test.rb index 01f4e615617..6a523441d61 100644 --- a/test/unit/plugins/guests/linux/cap/rsync_test.rb +++ b/test/unit/plugins/guests/linux/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::Rsync" do diff --git a/test/unit/plugins/guests/linux/cap/shell_expand_guest_path_test.rb b/test/unit/plugins/guests/linux/cap/shell_expand_guest_path_test.rb index 931b55d89db..61bc957b52a 100644 --- a/test/unit/plugins/guests/linux/cap/shell_expand_guest_path_test.rb +++ b/test/unit/plugins/guests/linux/cap/shell_expand_guest_path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestLinux::Cap::ShellExpandGuestPath" do diff --git a/test/unit/plugins/guests/netbsd/cap/shell_expand_guest_path_test.rb b/test/unit/plugins/guests/netbsd/cap/shell_expand_guest_path_test.rb index 9cd7ca6b6cc..c5d47fd9a5f 100644 --- a/test/unit/plugins/guests/netbsd/cap/shell_expand_guest_path_test.rb +++ b/test/unit/plugins/guests/netbsd/cap/shell_expand_guest_path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestNetBSD::Cap::ShellExpandGuestPath" do diff --git a/test/unit/plugins/guests/omnios/cap/change_host_name_test.rb b/test/unit/plugins/guests/omnios/cap/change_host_name_test.rb index b5a66a82078..357bb3f3970 100644 --- a/test/unit/plugins/guests/omnios/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/omnios/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOmniOS::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/omnios/cap/mount_nfs_folder_test.rb b/test/unit/plugins/guests/omnios/cap/mount_nfs_folder_test.rb index 48bc2a22564..dab5bb02820 100644 --- a/test/unit/plugins/guests/omnios/cap/mount_nfs_folder_test.rb +++ b/test/unit/plugins/guests/omnios/cap/mount_nfs_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOmniOS::Cap:RSync" do diff --git a/test/unit/plugins/guests/omnios/cap/rsync_test.rb b/test/unit/plugins/guests/omnios/cap/rsync_test.rb index 86ff39e3016..f4353c88d6d 100644 --- a/test/unit/plugins/guests/omnios/cap/rsync_test.rb +++ b/test/unit/plugins/guests/omnios/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOmniOS::Cap:RSync" do diff --git a/test/unit/plugins/guests/openbsd/cap/change_host_name_test.rb b/test/unit/plugins/guests/openbsd/cap/change_host_name_test.rb index a629371cde0..94f31374e17 100644 --- a/test/unit/plugins/guests/openbsd/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/openbsd/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenBSD::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/openbsd/cap/halt_test.rb b/test/unit/plugins/guests/openbsd/cap/halt_test.rb index 8f94a3b9b9b..a9e426e0342 100644 --- a/test/unit/plugins/guests/openbsd/cap/halt_test.rb +++ b/test/unit/plugins/guests/openbsd/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenBSD::Cap::Halt" do diff --git a/test/unit/plugins/guests/openbsd/cap/rsync_test.rb b/test/unit/plugins/guests/openbsd/cap/rsync_test.rb index 68874b18f1a..ca1baf0632a 100644 --- a/test/unit/plugins/guests/openbsd/cap/rsync_test.rb +++ b/test/unit/plugins/guests/openbsd/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenBSD::Cap::RSync" do diff --git a/test/unit/plugins/guests/openbsd/cap/shell_expand_guest_path_test.rb b/test/unit/plugins/guests/openbsd/cap/shell_expand_guest_path_test.rb index 89d14dccaa2..a205066e000 100644 --- a/test/unit/plugins/guests/openbsd/cap/shell_expand_guest_path_test.rb +++ b/test/unit/plugins/guests/openbsd/cap/shell_expand_guest_path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenBSD::Cap::ShellExpandGuestPath" do diff --git a/test/unit/plugins/guests/openwrt/cap/change_host_name_test.rb b/test/unit/plugins/guests/openwrt/cap/change_host_name_test.rb index 2557fcdea74..73533a4382d 100644 --- a/test/unit/plugins/guests/openwrt/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/openwrt/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenWrt::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/openwrt/cap/halt_test.rb b/test/unit/plugins/guests/openwrt/cap/halt_test.rb index af423dc84de..87e02bb0553 100644 --- a/test/unit/plugins/guests/openwrt/cap/halt_test.rb +++ b/test/unit/plugins/guests/openwrt/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenWrt::Cap::Halt" do diff --git a/test/unit/plugins/guests/openwrt/cap/insert_public_key_test.rb b/test/unit/plugins/guests/openwrt/cap/insert_public_key_test.rb index 0daa96e6a65..31d45e38a83 100644 --- a/test/unit/plugins/guests/openwrt/cap/insert_public_key_test.rb +++ b/test/unit/plugins/guests/openwrt/cap/insert_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenWrt::Cap::InsertPublicKey" do diff --git a/test/unit/plugins/guests/openwrt/cap/remove_public_key_test.rb b/test/unit/plugins/guests/openwrt/cap/remove_public_key_test.rb index c4bc71ca47f..ec13185b666 100644 --- a/test/unit/plugins/guests/openwrt/cap/remove_public_key_test.rb +++ b/test/unit/plugins/guests/openwrt/cap/remove_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestOpenWrt::Cap::RemovePublicKey" do diff --git a/test/unit/plugins/guests/openwrt/cap/rsync_test.rb b/test/unit/plugins/guests/openwrt/cap/rsync_test.rb index 8d17cc517f1..ecb93b2f331 100644 --- a/test/unit/plugins/guests/openwrt/cap/rsync_test.rb +++ b/test/unit/plugins/guests/openwrt/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::VagrantPlugins::Cap::Rsync" do diff --git a/test/unit/plugins/guests/openwrt/guest_test.rb b/test/unit/plugins/guests/openwrt/guest_test.rb index e69de29bb2d..9f94cdad867 100644 --- a/test/unit/plugins/guests/openwrt/guest_test.rb +++ b/test/unit/plugins/guests/openwrt/guest_test.rb @@ -0,0 +1,3 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + diff --git a/test/unit/plugins/guests/photon/cap/change_host_name_test.rb b/test/unit/plugins/guests/photon/cap/change_host_name_test.rb index 252ad5f32c1..cc4a87bb83d 100644 --- a/test/unit/plugins/guests/photon/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/photon/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestPhoton::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/pld/cap/change_host_name_test.rb b/test/unit/plugins/guests/pld/cap/change_host_name_test.rb index 97192ab42dd..4c82a05b8f7 100644 --- a/test/unit/plugins/guests/pld/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/pld/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestPld::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/pld/cap/flavor_test.rb b/test/unit/plugins/guests/pld/cap/flavor_test.rb index e20d3a784b1..8f3af7b295b 100644 --- a/test/unit/plugins/guests/pld/cap/flavor_test.rb +++ b/test/unit/plugins/guests/pld/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestPld::Cap::Flavor" do diff --git a/test/unit/plugins/guests/pld/cap/network_scripts_dir_test.rb b/test/unit/plugins/guests/pld/cap/network_scripts_dir_test.rb index 3fbb7bd8fea..e23cb53c0b7 100644 --- a/test/unit/plugins/guests/pld/cap/network_scripts_dir_test.rb +++ b/test/unit/plugins/guests/pld/cap/network_scripts_dir_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestPld::Cap::NetworkScriptsDir" do diff --git a/test/unit/plugins/guests/redhat/cap/change_host_name_test.rb b/test/unit/plugins/guests/redhat/cap/change_host_name_test.rb index ccaf71b306d..1648574165c 100644 --- a/test/unit/plugins/guests/redhat/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/redhat/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/redhat/cap/configure_networks_test.rb b/test/unit/plugins/guests/redhat/cap/configure_networks_test.rb index f61df6651b7..302ff9dc486 100644 --- a/test/unit/plugins/guests/redhat/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/redhat/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/redhat/cap/flavor_test.rb b/test/unit/plugins/guests/redhat/cap/flavor_test.rb index 68401243c0d..960421e5af6 100644 --- a/test/unit/plugins/guests/redhat/cap/flavor_test.rb +++ b/test/unit/plugins/guests/redhat/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap::Flavor" do diff --git a/test/unit/plugins/guests/redhat/cap/network_scripts_dir_test.rb b/test/unit/plugins/guests/redhat/cap/network_scripts_dir_test.rb index 189fb659cf0..5a7ee012426 100644 --- a/test/unit/plugins/guests/redhat/cap/network_scripts_dir_test.rb +++ b/test/unit/plugins/guests/redhat/cap/network_scripts_dir_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap::NetworkScriptsDir" do diff --git a/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb b/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb index 55b121eb3b3..74e305f3a18 100644 --- a/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb +++ b/test/unit/plugins/guests/redhat/cap/nfs_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap:NFSClient" do diff --git a/test/unit/plugins/guests/redhat/cap/rsync_test.rb b/test/unit/plugins/guests/redhat/cap/rsync_test.rb index 654af93447e..04e7667ea9e 100644 --- a/test/unit/plugins/guests/redhat/cap/rsync_test.rb +++ b/test/unit/plugins/guests/redhat/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap:RSync" do diff --git a/test/unit/plugins/guests/redhat/cap/smb_test.rb b/test/unit/plugins/guests/redhat/cap/smb_test.rb index ff008f3a763..6fd297cdf91 100644 --- a/test/unit/plugins/guests/redhat/cap/smb_test.rb +++ b/test/unit/plugins/guests/redhat/cap/smb_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRedHat::Cap::SMB" do diff --git a/test/unit/plugins/guests/rocky/cap/flavor_test.rb b/test/unit/plugins/guests/rocky/cap/flavor_test.rb index 6d6ddb63ab5..ac9175effba 100644 --- a/test/unit/plugins/guests/rocky/cap/flavor_test.rb +++ b/test/unit/plugins/guests/rocky/cap/flavor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestRocky::Cap::Flavor" do diff --git a/test/unit/plugins/guests/slackware/cap/change_host_name_test.rb b/test/unit/plugins/guests/slackware/cap/change_host_name_test.rb index bb64295c49d..3282c9be1ae 100644 --- a/test/unit/plugins/guests/slackware/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/slackware/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSlackware::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/slackware/cap/configure_networks_test.rb b/test/unit/plugins/guests/slackware/cap/configure_networks_test.rb index a03ea9242ac..a23c0d9355b 100644 --- a/test/unit/plugins/guests/slackware/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/slackware/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSlackware::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/smartos/cap/change_host_name_test.rb b/test/unit/plugins/guests/smartos/cap/change_host_name_test.rb index 8a772503cec..4f1eadd0667 100644 --- a/test/unit/plugins/guests/smartos/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/smartos/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSmartos::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/smartos/cap/configure_networks_test.rb b/test/unit/plugins/guests/smartos/cap/configure_networks_test.rb index 56bd056f1a6..c052c87521e 100644 --- a/test/unit/plugins/guests/smartos/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/smartos/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::VagrantPlugins::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/smartos/cap/halt_test.rb b/test/unit/plugins/guests/smartos/cap/halt_test.rb index b039a68995e..151ec792d0d 100644 --- a/test/unit/plugins/guests/smartos/cap/halt_test.rb +++ b/test/unit/plugins/guests/smartos/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSmartos::Cap::Halt" do diff --git a/test/unit/plugins/guests/smartos/cap/insert_public_key_test.rb b/test/unit/plugins/guests/smartos/cap/insert_public_key_test.rb index 917f0baa9b7..9b0fdb008d6 100644 --- a/test/unit/plugins/guests/smartos/cap/insert_public_key_test.rb +++ b/test/unit/plugins/guests/smartos/cap/insert_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSmartos::Cap::InsertPublicKey" do diff --git a/test/unit/plugins/guests/smartos/cap/mount_nfs_test.rb b/test/unit/plugins/guests/smartos/cap/mount_nfs_test.rb index 865ed6d54ac..48a21bb5798 100644 --- a/test/unit/plugins/guests/smartos/cap/mount_nfs_test.rb +++ b/test/unit/plugins/guests/smartos/cap/mount_nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/guests/smartos/config" diff --git a/test/unit/plugins/guests/smartos/cap/remove_public_key_test.rb b/test/unit/plugins/guests/smartos/cap/remove_public_key_test.rb index 3984173bd8f..fbce09cf8a8 100644 --- a/test/unit/plugins/guests/smartos/cap/remove_public_key_test.rb +++ b/test/unit/plugins/guests/smartos/cap/remove_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSmartos::Cap::RemovePublicKey" do diff --git a/test/unit/plugins/guests/smartos/cap/rsync_test.rb b/test/unit/plugins/guests/smartos/cap/rsync_test.rb index 544d738986b..3950902390d 100644 --- a/test/unit/plugins/guests/smartos/cap/rsync_test.rb +++ b/test/unit/plugins/guests/smartos/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::VagrantPlugins::Cap::Rsync" do diff --git a/test/unit/plugins/guests/solaris/cap/file_system_test.rb b/test/unit/plugins/guests/solaris/cap/file_system_test.rb index 6f7288aad85..58948b90cee 100644 --- a/test/unit/plugins/guests/solaris/cap/file_system_test.rb +++ b/test/unit/plugins/guests/solaris/cap/file_system_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSolaris::Cap::FileSystem" do diff --git a/test/unit/plugins/guests/solaris/cap/halt_test.rb b/test/unit/plugins/guests/solaris/cap/halt_test.rb index e0f6311201e..983672a6c91 100644 --- a/test/unit/plugins/guests/solaris/cap/halt_test.rb +++ b/test/unit/plugins/guests/solaris/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSolaris::Cap::Halt" do diff --git a/test/unit/plugins/guests/solaris11/cap/change_host_name_test.rb b/test/unit/plugins/guests/solaris11/cap/change_host_name_test.rb index df48486c2d5..359fbb69275 100644 --- a/test/unit/plugins/guests/solaris11/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/solaris11/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSolaris11::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/solaris11/cap/configure_networks_test.rb b/test/unit/plugins/guests/solaris11/cap/configure_networks_test.rb index 6e3ebe6286d..ceffb325324 100644 --- a/test/unit/plugins/guests/solaris11/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/solaris11/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSolaris11::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/suse/cap/change_host_name_test.rb b/test/unit/plugins/guests/suse/cap/change_host_name_test.rb index faf3b11eaf6..093b63283cc 100644 --- a/test/unit/plugins/guests/suse/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/suse/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSUSE::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/suse/cap/configure_networks_test.rb b/test/unit/plugins/guests/suse/cap/configure_networks_test.rb index 944cf5cb542..1900e78f848 100644 --- a/test/unit/plugins/guests/suse/cap/configure_networks_test.rb +++ b/test/unit/plugins/guests/suse/cap/configure_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSUSE::Cap::ConfigureNetworks" do diff --git a/test/unit/plugins/guests/suse/cap/halt_test.rb b/test/unit/plugins/guests/suse/cap/halt_test.rb index 2ce41bdcec2..4879da750f6 100644 --- a/test/unit/plugins/guests/suse/cap/halt_test.rb +++ b/test/unit/plugins/guests/suse/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSUSE::Cap::Halt" do diff --git a/test/unit/plugins/guests/suse/cap/network_scripts_dir_test.rb b/test/unit/plugins/guests/suse/cap/network_scripts_dir_test.rb index cea7b497add..fe74551f473 100644 --- a/test/unit/plugins/guests/suse/cap/network_scripts_dir_test.rb +++ b/test/unit/plugins/guests/suse/cap/network_scripts_dir_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSUSE::Cap::NetworkScriptsDir" do diff --git a/test/unit/plugins/guests/suse/cap/nfs_client_test.rb b/test/unit/plugins/guests/suse/cap/nfs_client_test.rb index f23e5b8ef66..94624e5760d 100644 --- a/test/unit/plugins/guests/suse/cap/nfs_client_test.rb +++ b/test/unit/plugins/guests/suse/cap/nfs_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSUSE::Cap::NFSClient" do diff --git a/test/unit/plugins/guests/suse/cap/rsync_test.rb b/test/unit/plugins/guests/suse/cap/rsync_test.rb index a6c19e59388..0ae6efd0d8d 100644 --- a/test/unit/plugins/guests/suse/cap/rsync_test.rb +++ b/test/unit/plugins/guests/suse/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestSUSE::Cap::RSync" do diff --git a/test/unit/plugins/guests/tinycore/cap/change_host_name_test.rb b/test/unit/plugins/guests/tinycore/cap/change_host_name_test.rb index ce43cf84c2d..90443d141c6 100644 --- a/test/unit/plugins/guests/tinycore/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/tinycore/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestTinyCore::Cap::ChangeHostName" do diff --git a/test/unit/plugins/guests/tinycore/cap/halt_test.rb b/test/unit/plugins/guests/tinycore/cap/halt_test.rb index 99ebb1fea24..fac4ff13c38 100644 --- a/test/unit/plugins/guests/tinycore/cap/halt_test.rb +++ b/test/unit/plugins/guests/tinycore/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestTinyCore::Cap::Halt" do diff --git a/test/unit/plugins/guests/windows/cap/change_host_name_test.rb b/test/unit/plugins/guests/windows/cap/change_host_name_test.rb index 07ef98461da..a1ebd140887 100644 --- a/test/unit/plugins/guests/windows/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/windows/cap/change_host_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/guests/windows/cap/change_host_name") diff --git a/test/unit/plugins/guests/windows/cap/file_system_test.rb b/test/unit/plugins/guests/windows/cap/file_system_test.rb index ca093399eab..83d0482f0b8 100644 --- a/test/unit/plugins/guests/windows/cap/file_system_test.rb +++ b/test/unit/plugins/guests/windows/cap/file_system_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::GuestWindows::Cap::FileSystem" do diff --git a/test/unit/plugins/guests/windows/cap/halt_test.rb b/test/unit/plugins/guests/windows/cap/halt_test.rb index 913cba188ce..202cea66ebc 100644 --- a/test/unit/plugins/guests/windows/cap/halt_test.rb +++ b/test/unit/plugins/guests/windows/cap/halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/guests/windows/cap/halt") diff --git a/test/unit/plugins/guests/windows/cap/insert_public_key_test.rb b/test/unit/plugins/guests/windows/cap/insert_public_key_test.rb index fc7c7bedc8b..71ce5eafe6a 100644 --- a/test/unit/plugins/guests/windows/cap/insert_public_key_test.rb +++ b/test/unit/plugins/guests/windows/cap/insert_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../base" require_relative "../../../../../../plugins/communicators/winssh/communicator" diff --git a/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb b/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb index 7c02ad6e8f9..fa5ed102e34 100644 --- a/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb +++ b/test/unit/plugins/guests/windows/cap/mount_shared_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/guests/windows/cap/mount_shared_folder") diff --git a/test/unit/plugins/guests/windows/cap/reboot_test.rb b/test/unit/plugins/guests/windows/cap/reboot_test.rb index 72143f53054..a237488f5e0 100644 --- a/test/unit/plugins/guests/windows/cap/reboot_test.rb +++ b/test/unit/plugins/guests/windows/cap/reboot_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/guests/windows/cap/reboot") diff --git a/test/unit/plugins/guests/windows/cap/remove_public_key_test.rb b/test/unit/plugins/guests/windows/cap/remove_public_key_test.rb index 87b7d1cc8e2..1feda857369 100644 --- a/test/unit/plugins/guests/windows/cap/remove_public_key_test.rb +++ b/test/unit/plugins/guests/windows/cap/remove_public_key_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require_relative "../../../../base" require_relative "../../../../../../plugins/communicators/winssh/communicator" diff --git a/test/unit/plugins/guests/windows/cap/rsync_test.rb b/test/unit/plugins/guests/windows/cap/rsync_test.rb index af89254850d..bc3e3ab82e0 100644 --- a/test/unit/plugins/guests/windows/cap/rsync_test.rb +++ b/test/unit/plugins/guests/windows/cap/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/guests/windows/cap/rsync") diff --git a/test/unit/plugins/guests/windows/config_test.rb b/test/unit/plugins/guests/windows/config_test.rb index dae493cf2d8..f70fb1740c3 100644 --- a/test/unit/plugins/guests/windows/config_test.rb +++ b/test/unit/plugins/guests/windows/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/guests/windows/config") diff --git a/test/unit/plugins/guests/windows/guest_network_test.rb b/test/unit/plugins/guests/windows/guest_network_test.rb index 19efacaee7f..29cad321fe1 100644 --- a/test/unit/plugins/guests/windows/guest_network_test.rb +++ b/test/unit/plugins/guests/windows/guest_network_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/guests/windows/guest_network") diff --git a/test/unit/plugins/hosts/bsd/cap/nfs_test.rb b/test/unit/plugins/hosts/bsd/cap/nfs_test.rb index 2780f32fcf5..094ad54b586 100644 --- a/test/unit/plugins/hosts/bsd/cap/nfs_test.rb +++ b/test/unit/plugins/hosts/bsd/cap/nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/bsd/cap/nfs" diff --git a/test/unit/plugins/hosts/bsd/cap/path_test.rb b/test/unit/plugins/hosts/bsd/cap/path_test.rb index ff865f30fa6..9e249f0135b 100644 --- a/test/unit/plugins/hosts/bsd/cap/path_test.rb +++ b/test/unit/plugins/hosts/bsd/cap/path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/bsd/cap/path" diff --git a/test/unit/plugins/hosts/bsd/cap/ssh_test.rb b/test/unit/plugins/hosts/bsd/cap/ssh_test.rb index 1b571a90747..52254ae66e4 100644 --- a/test/unit/plugins/hosts/bsd/cap/ssh_test.rb +++ b/test/unit/plugins/hosts/bsd/cap/ssh_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/bsd/cap/ssh" diff --git a/test/unit/plugins/hosts/darwin/cap/configured_ip_addresses_test.rb b/test/unit/plugins/hosts/darwin/cap/configured_ip_addresses_test.rb index 71d79ed24cf..619af5dfea2 100644 --- a/test/unit/plugins/hosts/darwin/cap/configured_ip_addresses_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/configured_ip_addresses_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/configured_ip_addresses" diff --git a/test/unit/plugins/hosts/darwin/cap/fs_iso_test.rb b/test/unit/plugins/hosts/darwin/cap/fs_iso_test.rb index 460fd33f8fd..493adcf6bf9 100644 --- a/test/unit/plugins/hosts/darwin/cap/fs_iso_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/fs_iso_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/fs_iso" diff --git a/test/unit/plugins/hosts/darwin/cap/nfs_test.rb b/test/unit/plugins/hosts/darwin/cap/nfs_test.rb index c2acc1cc2f6..4f9c6ecca32 100644 --- a/test/unit/plugins/hosts/darwin/cap/nfs_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/nfs" diff --git a/test/unit/plugins/hosts/darwin/cap/path_test.rb b/test/unit/plugins/hosts/darwin/cap/path_test.rb index 95de29f342a..de4ef2402e4 100644 --- a/test/unit/plugins/hosts/darwin/cap/path_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/path_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/path" require_relative "../../../../../../plugins/hosts/darwin/cap/version" diff --git a/test/unit/plugins/hosts/darwin/cap/rdp_test.rb b/test/unit/plugins/hosts/darwin/cap/rdp_test.rb index d98a2f57442..d23393c09ec 100644 --- a/test/unit/plugins/hosts/darwin/cap/rdp_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/rdp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/rdp" diff --git a/test/unit/plugins/hosts/darwin/cap/smb_test.rb b/test/unit/plugins/hosts/darwin/cap/smb_test.rb index 5d5884bc9f9..e3c140b3240 100644 --- a/test/unit/plugins/hosts/darwin/cap/smb_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/smb_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/smb" diff --git a/test/unit/plugins/hosts/darwin/cap/version_test.rb b/test/unit/plugins/hosts/darwin/cap/version_test.rb index d961efb598a..eed836a29d8 100644 --- a/test/unit/plugins/hosts/darwin/cap/version_test.rb +++ b/test/unit/plugins/hosts/darwin/cap/version_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/darwin/cap/version" diff --git a/test/unit/plugins/hosts/linux/cap/fs_iso_test.rb b/test/unit/plugins/hosts/linux/cap/fs_iso_test.rb index 89014ad23d3..e80b696ee87 100644 --- a/test/unit/plugins/hosts/linux/cap/fs_iso_test.rb +++ b/test/unit/plugins/hosts/linux/cap/fs_iso_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/linux/cap/fs_iso" diff --git a/test/unit/plugins/hosts/linux/cap/nfs_test.rb b/test/unit/plugins/hosts/linux/cap/nfs_test.rb index 849ffe99786..ab3bafe4fc4 100644 --- a/test/unit/plugins/hosts/linux/cap/nfs_test.rb +++ b/test/unit/plugins/hosts/linux/cap/nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/linux/cap/nfs" require_relative "../../../../../../lib/vagrant/util" diff --git a/test/unit/plugins/hosts/linux/cap/ssh_test.rb b/test/unit/plugins/hosts/linux/cap/ssh_test.rb index 1dd67b5e9b3..dc8c14d2963 100644 --- a/test/unit/plugins/hosts/linux/cap/ssh_test.rb +++ b/test/unit/plugins/hosts/linux/cap/ssh_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/linux/cap/ssh" diff --git a/test/unit/plugins/hosts/void/cap/nfs_test.rb b/test/unit/plugins/hosts/void/cap/nfs_test.rb index d1f6f00bc9d..3e28ae56129 100644 --- a/test/unit/plugins/hosts/void/cap/nfs_test.rb +++ b/test/unit/plugins/hosts/void/cap/nfs_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/void/cap/nfs" require_relative "../../../../../../lib/vagrant/util" diff --git a/test/unit/plugins/hosts/windows/cap/configure_ip_addresses_test.rb b/test/unit/plugins/hosts/windows/cap/configure_ip_addresses_test.rb index b9f298c1e92..c28d28c5045 100644 --- a/test/unit/plugins/hosts/windows/cap/configure_ip_addresses_test.rb +++ b/test/unit/plugins/hosts/windows/cap/configure_ip_addresses_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/configured_ip_addresses" diff --git a/test/unit/plugins/hosts/windows/cap/fs_iso_test.rb b/test/unit/plugins/hosts/windows/cap/fs_iso_test.rb index 5f2ed094a7a..06077a9fadf 100644 --- a/test/unit/plugins/hosts/windows/cap/fs_iso_test.rb +++ b/test/unit/plugins/hosts/windows/cap/fs_iso_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/fs_iso" diff --git a/test/unit/plugins/hosts/windows/cap/smb_test.rb b/test/unit/plugins/hosts/windows/cap/smb_test.rb index 03f044b1e0d..eb8bb59eeb3 100644 --- a/test/unit/plugins/hosts/windows/cap/smb_test.rb +++ b/test/unit/plugins/hosts/windows/cap/smb_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/smb" diff --git a/test/unit/plugins/hosts/windows/cap/ssh_test.rb b/test/unit/plugins/hosts/windows/cap/ssh_test.rb index e258574e51a..a618a096570 100644 --- a/test/unit/plugins/hosts/windows/cap/ssh_test.rb +++ b/test/unit/plugins/hosts/windows/cap/ssh_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/hosts/windows/cap/ssh" diff --git a/test/unit/plugins/kernel_v2/config/cloud_init_test.rb b/test/unit/plugins/kernel_v2/config/cloud_init_test.rb index 5fe263c7a34..a2043ce59e3 100644 --- a/test/unit/plugins/kernel_v2/config/cloud_init_test.rb +++ b/test/unit/plugins/kernel_v2/config/cloud_init_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/cloud_init") diff --git a/test/unit/plugins/kernel_v2/config/disk_test.rb b/test/unit/plugins/kernel_v2/config/disk_test.rb index de89a757743..66727ad04eb 100644 --- a/test/unit/plugins/kernel_v2/config/disk_test.rb +++ b/test/unit/plugins/kernel_v2/config/disk_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/disk") diff --git a/test/unit/plugins/kernel_v2/config/package_test.rb b/test/unit/plugins/kernel_v2/config/package_test.rb index c20910a563d..97071ff4adb 100644 --- a/test/unit/plugins/kernel_v2/config/package_test.rb +++ b/test/unit/plugins/kernel_v2/config/package_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/package") diff --git a/test/unit/plugins/kernel_v2/config/push_test.rb b/test/unit/plugins/kernel_v2/config/push_test.rb index 367a46b2ccb..72396a53e7b 100644 --- a/test/unit/plugins/kernel_v2/config/push_test.rb +++ b/test/unit/plugins/kernel_v2/config/push_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/push") diff --git a/test/unit/plugins/kernel_v2/config/ssh_connect_test.rb b/test/unit/plugins/kernel_v2/config/ssh_connect_test.rb index da6ba0a5900..d47a74920d6 100644 --- a/test/unit/plugins/kernel_v2/config/ssh_connect_test.rb +++ b/test/unit/plugins/kernel_v2/config/ssh_connect_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/ssh_connect") diff --git a/test/unit/plugins/kernel_v2/config/ssh_test.rb b/test/unit/plugins/kernel_v2/config/ssh_test.rb index d654da450de..fdb414e825d 100644 --- a/test/unit/plugins/kernel_v2/config/ssh_test.rb +++ b/test/unit/plugins/kernel_v2/config/ssh_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/ssh") diff --git a/test/unit/plugins/kernel_v2/config/trigger_test.rb b/test/unit/plugins/kernel_v2/config/trigger_test.rb index a9bf3bbc20c..129a61b385a 100644 --- a/test/unit/plugins/kernel_v2/config/trigger_test.rb +++ b/test/unit/plugins/kernel_v2/config/trigger_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/trigger") diff --git a/test/unit/plugins/kernel_v2/config/vagrant_test.rb b/test/unit/plugins/kernel_v2/config/vagrant_test.rb index d2f55be2f8e..d40b9162379 100644 --- a/test/unit/plugins/kernel_v2/config/vagrant_test.rb +++ b/test/unit/plugins/kernel_v2/config/vagrant_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/vagrant") diff --git a/test/unit/plugins/kernel_v2/config/vm_test.rb b/test/unit/plugins/kernel_v2/config/vm_test.rb index d35cf3a9a7d..4991bbb6ff6 100644 --- a/test/unit/plugins/kernel_v2/config/vm_test.rb +++ b/test/unit/plugins/kernel_v2/config/vm_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/vm") diff --git a/test/unit/plugins/kernel_v2/config/vm_trigger_test.rb b/test/unit/plugins/kernel_v2/config/vm_trigger_test.rb index 53708cb0c93..18ff24e4154 100644 --- a/test/unit/plugins/kernel_v2/config/vm_trigger_test.rb +++ b/test/unit/plugins/kernel_v2/config/vm_trigger_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/vm_trigger") diff --git a/test/unit/plugins/providers/docker/action/compare_synced_folders_test.rb b/test/unit/plugins/providers/docker/action/compare_synced_folders_test.rb index 27ff19d83af..d49541075c5 100644 --- a/test/unit/plugins/providers/docker/action/compare_synced_folders_test.rb +++ b/test/unit/plugins/providers/docker/action/compare_synced_folders_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/compare_synced_folders" diff --git a/test/unit/plugins/providers/docker/action/connect_networks_test.rb b/test/unit/plugins/providers/docker/action/connect_networks_test.rb index 6e28e076a4e..594f3e133c1 100644 --- a/test/unit/plugins/providers/docker/action/connect_networks_test.rb +++ b/test/unit/plugins/providers/docker/action/connect_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/connect_networks" diff --git a/test/unit/plugins/providers/docker/action/create_test.rb b/test/unit/plugins/providers/docker/action/create_test.rb index 4975180e49f..4d46d16d99d 100644 --- a/test/unit/plugins/providers/docker/action/create_test.rb +++ b/test/unit/plugins/providers/docker/action/create_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/create" diff --git a/test/unit/plugins/providers/docker/action/destroy_network_test.rb b/test/unit/plugins/providers/docker/action/destroy_network_test.rb index dad664dd36e..d66e10e0b3c 100644 --- a/test/unit/plugins/providers/docker/action/destroy_network_test.rb +++ b/test/unit/plugins/providers/docker/action/destroy_network_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/destroy_network" diff --git a/test/unit/plugins/providers/docker/action/host_machine_sync_folders_test.rb b/test/unit/plugins/providers/docker/action/host_machine_sync_folders_test.rb index 13f1e1e0906..4666f58a54a 100644 --- a/test/unit/plugins/providers/docker/action/host_machine_sync_folders_test.rb +++ b/test/unit/plugins/providers/docker/action/host_machine_sync_folders_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/host_machine_sync_folders" diff --git a/test/unit/plugins/providers/docker/action/login_test.rb b/test/unit/plugins/providers/docker/action/login_test.rb index 48daf10c9c2..4a007c6c8f4 100644 --- a/test/unit/plugins/providers/docker/action/login_test.rb +++ b/test/unit/plugins/providers/docker/action/login_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/login" diff --git a/test/unit/plugins/providers/docker/action/prepare_networks_test.rb b/test/unit/plugins/providers/docker/action/prepare_networks_test.rb index df864d88dec..4bea6b202b3 100644 --- a/test/unit/plugins/providers/docker/action/prepare_networks_test.rb +++ b/test/unit/plugins/providers/docker/action/prepare_networks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/action/prepare_networks" diff --git a/test/unit/plugins/providers/docker/command/exec_test.rb b/test/unit/plugins/providers/docker/command/exec_test.rb index cfe09b4f2c1..a65a25afdd1 100644 --- a/test/unit/plugins/providers/docker/command/exec_test.rb +++ b/test/unit/plugins/providers/docker/command/exec_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/providers/docker/command/exec" diff --git a/test/unit/plugins/providers/docker/config_test.rb b/test/unit/plugins/providers/docker/config_test.rb index 245df533c77..399cf5007b0 100644 --- a/test/unit/plugins/providers/docker/config_test.rb +++ b/test/unit/plugins/providers/docker/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/platform" diff --git a/test/unit/plugins/providers/docker/driver_compose_test.rb b/test/unit/plugins/providers/docker/driver_compose_test.rb index 6d5711760a4..2c58eaa1477 100644 --- a/test/unit/plugins/providers/docker/driver_compose_test.rb +++ b/test/unit/plugins/providers/docker/driver_compose_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "yaml" require_relative "../../../base" diff --git a/test/unit/plugins/providers/docker/driver_test.rb b/test/unit/plugins/providers/docker/driver_test.rb index 8c6496ce4ca..d2439ef74bd 100644 --- a/test/unit/plugins/providers/docker/driver_test.rb +++ b/test/unit/plugins/providers/docker/driver_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/docker/driver") diff --git a/test/unit/plugins/providers/docker/provider_test.rb b/test/unit/plugins/providers/docker/provider_test.rb index d2dec86a7db..2fc9c91b689 100644 --- a/test/unit/plugins/providers/docker/provider_test.rb +++ b/test/unit/plugins/providers/docker/provider_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/docker/provider") diff --git a/test/unit/plugins/providers/docker/synced_folder_test.rb b/test/unit/plugins/providers/docker/synced_folder_test.rb index 4cad2e33ed0..27aaf2524d6 100644 --- a/test/unit/plugins/providers/docker/synced_folder_test.rb +++ b/test/unit/plugins/providers/docker/synced_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/docker/synced_folder") diff --git a/test/unit/plugins/providers/hyperv/action/check_enabled_test.rb b/test/unit/plugins/providers/hyperv/action/check_enabled_test.rb index eb9724cc36c..93f89a254ce 100644 --- a/test/unit/plugins/providers/hyperv/action/check_enabled_test.rb +++ b/test/unit/plugins/providers/hyperv/action/check_enabled_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/check_enabled") diff --git a/test/unit/plugins/providers/hyperv/action/configure_test.rb b/test/unit/plugins/providers/hyperv/action/configure_test.rb index f972f917312..966d63fdb95 100644 --- a/test/unit/plugins/providers/hyperv/action/configure_test.rb +++ b/test/unit/plugins/providers/hyperv/action/configure_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/configure") diff --git a/test/unit/plugins/providers/hyperv/action/delete_vm_test.rb b/test/unit/plugins/providers/hyperv/action/delete_vm_test.rb index 120b97598a7..dc07b461f13 100644 --- a/test/unit/plugins/providers/hyperv/action/delete_vm_test.rb +++ b/test/unit/plugins/providers/hyperv/action/delete_vm_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/delete_vm") diff --git a/test/unit/plugins/providers/hyperv/action/export_test.rb b/test/unit/plugins/providers/hyperv/action/export_test.rb index 11901fb23b7..e078617d10d 100644 --- a/test/unit/plugins/providers/hyperv/action/export_test.rb +++ b/test/unit/plugins/providers/hyperv/action/export_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/export") diff --git a/test/unit/plugins/providers/hyperv/action/import_test.rb b/test/unit/plugins/providers/hyperv/action/import_test.rb index d54f737c88f..a1e426e5d3b 100644 --- a/test/unit/plugins/providers/hyperv/action/import_test.rb +++ b/test/unit/plugins/providers/hyperv/action/import_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/import") diff --git a/test/unit/plugins/providers/hyperv/action/is_windows_test.rb b/test/unit/plugins/providers/hyperv/action/is_windows_test.rb index 37e66fbe711..b5f016e19d9 100644 --- a/test/unit/plugins/providers/hyperv/action/is_windows_test.rb +++ b/test/unit/plugins/providers/hyperv/action/is_windows_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/is_windows") diff --git a/test/unit/plugins/providers/hyperv/action/net_set_mac_test.rb b/test/unit/plugins/providers/hyperv/action/net_set_mac_test.rb index 807253abd27..a6960466a5a 100644 --- a/test/unit/plugins/providers/hyperv/action/net_set_mac_test.rb +++ b/test/unit/plugins/providers/hyperv/action/net_set_mac_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/net_set_mac") diff --git a/test/unit/plugins/providers/hyperv/action/net_set_vlan_test.rb b/test/unit/plugins/providers/hyperv/action/net_set_vlan_test.rb index 7eec1892fd4..9f8c96f2423 100644 --- a/test/unit/plugins/providers/hyperv/action/net_set_vlan_test.rb +++ b/test/unit/plugins/providers/hyperv/action/net_set_vlan_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/net_set_vlan") diff --git a/test/unit/plugins/providers/hyperv/action/read_guest_ip_test.rb b/test/unit/plugins/providers/hyperv/action/read_guest_ip_test.rb index ecce003a602..7c37226a0f4 100644 --- a/test/unit/plugins/providers/hyperv/action/read_guest_ip_test.rb +++ b/test/unit/plugins/providers/hyperv/action/read_guest_ip_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/read_guest_ip") diff --git a/test/unit/plugins/providers/hyperv/action/read_state_test.rb b/test/unit/plugins/providers/hyperv/action/read_state_test.rb index b7288f897a6..f378d0de756 100644 --- a/test/unit/plugins/providers/hyperv/action/read_state_test.rb +++ b/test/unit/plugins/providers/hyperv/action/read_state_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/read_state") diff --git a/test/unit/plugins/providers/hyperv/action/set_name_test.rb b/test/unit/plugins/providers/hyperv/action/set_name_test.rb index 20f990bcbe0..75d2f416a66 100644 --- a/test/unit/plugins/providers/hyperv/action/set_name_test.rb +++ b/test/unit/plugins/providers/hyperv/action/set_name_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/set_name") diff --git a/test/unit/plugins/providers/hyperv/action/wait_for_ip_address_test.rb b/test/unit/plugins/providers/hyperv/action/wait_for_ip_address_test.rb index 72a6bcdf02b..eecbbddd857 100644 --- a/test/unit/plugins/providers/hyperv/action/wait_for_ip_address_test.rb +++ b/test/unit/plugins/providers/hyperv/action/wait_for_ip_address_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/action/wait_for_ip_address") diff --git a/test/unit/plugins/providers/hyperv/cap/cleanup_disks_test.rb b/test/unit/plugins/providers/hyperv/cap/cleanup_disks_test.rb index 383005f3235..8d0f7607300 100644 --- a/test/unit/plugins/providers/hyperv/cap/cleanup_disks_test.rb +++ b/test/unit/plugins/providers/hyperv/cap/cleanup_disks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/cap/cleanup_disks") diff --git a/test/unit/plugins/providers/hyperv/cap/configure_disks_test.rb b/test/unit/plugins/providers/hyperv/cap/configure_disks_test.rb index af51f645ed2..7e740db6cb5 100644 --- a/test/unit/plugins/providers/hyperv/cap/configure_disks_test.rb +++ b/test/unit/plugins/providers/hyperv/cap/configure_disks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/cap/configure_disks") diff --git a/test/unit/plugins/providers/hyperv/config_test.rb b/test/unit/plugins/providers/hyperv/config_test.rb index 1a1b077cdf5..0714d5d3204 100644 --- a/test/unit/plugins/providers/hyperv/config_test.rb +++ b/test/unit/plugins/providers/hyperv/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/config") diff --git a/test/unit/plugins/providers/hyperv/driver_test.rb b/test/unit/plugins/providers/hyperv/driver_test.rb index 47562b742b9..928c144ee95 100644 --- a/test/unit/plugins/providers/hyperv/driver_test.rb +++ b/test/unit/plugins/providers/hyperv/driver_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/driver") diff --git a/test/unit/plugins/providers/hyperv/provider_test.rb b/test/unit/plugins/providers/hyperv/provider_test.rb index 603bd8967f7..0d117c247b3 100644 --- a/test/unit/plugins/providers/hyperv/provider_test.rb +++ b/test/unit/plugins/providers/hyperv/provider_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/hyperv/provider") diff --git a/test/unit/plugins/providers/virtualbox/action/clean_machine_folder_test.rb b/test/unit/plugins/providers/virtualbox/action/clean_machine_folder_test.rb index 896c4842f0b..2063d351d49 100644 --- a/test/unit/plugins/providers/virtualbox/action/clean_machine_folder_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/clean_machine_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../base' describe VagrantPlugins::ProviderVirtualBox::Action::CleanMachineFolder do diff --git a/test/unit/plugins/providers/virtualbox/action/import_test.rb b/test/unit/plugins/providers/virtualbox/action/import_test.rb index c4d7abff9dd..83b89b1da19 100644 --- a/test/unit/plugins/providers/virtualbox/action/import_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/import_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative '../base' describe VagrantPlugins::ProviderVirtualBox::Action::Import do diff --git a/test/unit/plugins/providers/virtualbox/action/match_mac_address_test.rb b/test/unit/plugins/providers/virtualbox/action/match_mac_address_test.rb index 9b7dc1fec57..4fab38b6a6e 100644 --- a/test/unit/plugins/providers/virtualbox/action/match_mac_address_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/match_mac_address_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Action::MatchMACAddress do diff --git a/test/unit/plugins/providers/virtualbox/action/network_fix_ipv6_test.rb b/test/unit/plugins/providers/virtualbox/action/network_fix_ipv6_test.rb index 618c024a855..ed51a641a50 100644 --- a/test/unit/plugins/providers/virtualbox/action/network_fix_ipv6_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/network_fix_ipv6_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require 'socket' diff --git a/test/unit/plugins/providers/virtualbox/action/network_test.rb b/test/unit/plugins/providers/virtualbox/action/network_test.rb index 4903c5c8015..08f98a1da1e 100644 --- a/test/unit/plugins/providers/virtualbox/action/network_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/network_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require "vagrant/util/platform" diff --git a/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb b/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb index 1510fdbb082..dea58806397 100644 --- a/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require "vagrant/util/platform" diff --git a/test/unit/plugins/providers/virtualbox/action/prepare_nfs_valid_ids_test.rb b/test/unit/plugins/providers/virtualbox/action/prepare_nfs_valid_ids_test.rb index b3f05d52509..3fb66af9c2b 100644 --- a/test/unit/plugins/providers/virtualbox/action/prepare_nfs_valid_ids_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/prepare_nfs_valid_ids_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSValidIds do diff --git a/test/unit/plugins/providers/virtualbox/action/set_default_nic_type_test.rb b/test/unit/plugins/providers/virtualbox/action/set_default_nic_type_test.rb index 7ef59fc7d2e..4f90c021388 100644 --- a/test/unit/plugins/providers/virtualbox/action/set_default_nic_type_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/set_default_nic_type_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Action::SetDefaultNICType do diff --git a/test/unit/plugins/providers/virtualbox/base.rb b/test/unit/plugins/providers/virtualbox/base.rb index 352654c8349..51538dc2544 100644 --- a/test/unit/plugins/providers/virtualbox/base.rb +++ b/test/unit/plugins/providers/virtualbox/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # base test helper for virtualbox unit tests require_relative "../../../base" diff --git a/test/unit/plugins/providers/virtualbox/cap/cleanup_disks_test.rb b/test/unit/plugins/providers/virtualbox/cap/cleanup_disks_test.rb index 6dc9072cc35..4bbfb29529c 100644 --- a/test/unit/plugins/providers/virtualbox/cap/cleanup_disks_test.rb +++ b/test/unit/plugins/providers/virtualbox/cap/cleanup_disks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require Vagrant.source_root.join("plugins/providers/virtualbox/cap/cleanup_disks") diff --git a/test/unit/plugins/providers/virtualbox/cap/configure_disks_test.rb b/test/unit/plugins/providers/virtualbox/cap/configure_disks_test.rb index a791780ee64..e78a215bffa 100644 --- a/test/unit/plugins/providers/virtualbox/cap/configure_disks_test.rb +++ b/test/unit/plugins/providers/virtualbox/cap/configure_disks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require Vagrant.source_root.join("plugins/providers/virtualbox/cap/configure_disks") diff --git a/test/unit/plugins/providers/virtualbox/cap/mount_options_test.rb b/test/unit/plugins/providers/virtualbox/cap/mount_options_test.rb index 30ee46f63f6..e5fda6d0d04 100644 --- a/test/unit/plugins/providers/virtualbox/cap/mount_options_test.rb +++ b/test/unit/plugins/providers/virtualbox/cap/mount_options_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" describe "VagrantPlugins::ProviderVirtualBox::Cap::MountOptions" do diff --git a/test/unit/plugins/providers/virtualbox/cap/public_address_test.rb b/test/unit/plugins/providers/virtualbox/cap/public_address_test.rb index d9a581ed2e8..f482bf15a5a 100644 --- a/test/unit/plugins/providers/virtualbox/cap/public_address_test.rb +++ b/test/unit/plugins/providers/virtualbox/cap/public_address_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require Vagrant.source_root.join("plugins/providers/virtualbox/cap/public_address") diff --git a/test/unit/plugins/providers/virtualbox/cap_test.rb b/test/unit/plugins/providers/virtualbox/cap_test.rb index a4071b57833..8839c193527 100644 --- a/test/unit/plugins/providers/virtualbox/cap_test.rb +++ b/test/unit/plugins/providers/virtualbox/cap_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "base" require Vagrant.source_root.join("plugins/providers/virtualbox/cap") diff --git a/test/unit/plugins/providers/virtualbox/config_test.rb b/test/unit/plugins/providers/virtualbox/config_test.rb index a2ca1c4b86e..8b3858f1734 100644 --- a/test/unit/plugins/providers/virtualbox/config_test.rb +++ b/test/unit/plugins/providers/virtualbox/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/virtualbox/config") diff --git a/test/unit/plugins/providers/virtualbox/driver/base.rb b/test/unit/plugins/providers/virtualbox/driver/base.rb index 766a506dcf1..3ce2d4c84f6 100644 --- a/test/unit/plugins/providers/virtualbox/driver/base.rb +++ b/test/unit/plugins/providers/virtualbox/driver/base.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require Vagrant.source_root.join("plugins/providers/virtualbox/driver/base") diff --git a/test/unit/plugins/providers/virtualbox/driver/version_4_0_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_4_0_test.rb index f51f65215a2..b32d5933fea 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_4_0_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_4_0_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Driver::Version_4_0 do diff --git a/test/unit/plugins/providers/virtualbox/driver/version_4_1_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_4_1_test.rb index 786c4f6f9a9..4017d36631c 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_4_1_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_4_1_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Driver::Version_4_1 do diff --git a/test/unit/plugins/providers/virtualbox/driver/version_4_2_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_4_2_test.rb index 84698d37fc9..e0b0d2e3535 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_4_2_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_4_2_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Driver::Version_4_2 do diff --git a/test/unit/plugins/providers/virtualbox/driver/version_4_3_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_4_3_test.rb index b13235e8e06..2fd83421d97 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_4_3_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_4_3_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Driver::Version_4_3 do diff --git a/test/unit/plugins/providers/virtualbox/driver/version_5_0_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_5_0_test.rb index 8f540c6a9e8..d0cc16c4d73 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_5_0_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_5_0_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require_relative "../base" diff --git a/test/unit/plugins/providers/virtualbox/driver/version_6_0_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_6_0_test.rb index a5bf3bc9d62..a8476ba7982 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_6_0_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_6_0_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require_relative "../base" diff --git a/test/unit/plugins/providers/virtualbox/driver/version_6_1_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_6_1_test.rb index b7d35536b92..657b371cf17 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_6_1_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_6_1_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" describe VagrantPlugins::ProviderVirtualBox::Driver::Version_6_1 do diff --git a/test/unit/plugins/providers/virtualbox/driver/version_7_0_test.rb b/test/unit/plugins/providers/virtualbox/driver/version_7_0_test.rb index 7fed25b4ad5..53a707a2ea0 100644 --- a/test/unit/plugins/providers/virtualbox/driver/version_7_0_test.rb +++ b/test/unit/plugins/providers/virtualbox/driver/version_7_0_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "stringio" require_relative "../base" diff --git a/test/unit/plugins/providers/virtualbox/model/storage_controller_array_test.rb b/test/unit/plugins/providers/virtualbox/model/storage_controller_array_test.rb index e43c82c8501..f22f6c889b7 100644 --- a/test/unit/plugins/providers/virtualbox/model/storage_controller_array_test.rb +++ b/test/unit/plugins/providers/virtualbox/model/storage_controller_array_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe VagrantPlugins::ProviderVirtualBox::Model::StorageControllerArray do diff --git a/test/unit/plugins/providers/virtualbox/model/storage_controller_test.rb b/test/unit/plugins/providers/virtualbox/model/storage_controller_test.rb index 918f4815b81..005a97d0d2a 100644 --- a/test/unit/plugins/providers/virtualbox/model/storage_controller_test.rb +++ b/test/unit/plugins/providers/virtualbox/model/storage_controller_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe VagrantPlugins::ProviderVirtualBox::Model::StorageController do diff --git a/test/unit/plugins/providers/virtualbox/provider_test.rb b/test/unit/plugins/providers/virtualbox/provider_test.rb index dabe453692b..b2e460e10ee 100644 --- a/test/unit/plugins/providers/virtualbox/provider_test.rb +++ b/test/unit/plugins/providers/virtualbox/provider_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/providers/virtualbox/provider") diff --git a/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_4_x_examples.rb b/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_4_x_examples.rb index 85dee3cb153..01156000c07 100644 --- a/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_4_x_examples.rb +++ b/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_4_x_examples.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_examples "a version 4.x virtualbox driver" do |options| before do raise ArgumentError, "Need virtualbox context to use these shared examples." if !(defined? vbox_context) diff --git a/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_5_x_examples.rb b/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_5_x_examples.rb index eee5aa82811..b2398044a79 100644 --- a/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_5_x_examples.rb +++ b/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_5_x_examples.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_examples "a version 5.x virtualbox driver" do |options| before do raise ArgumentError, "Need virtualbox context to use these shared examples." if !(defined? vbox_context) diff --git a/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_6_x_examples.rb b/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_6_x_examples.rb index 2cfd4a282b9..29bd6015b80 100644 --- a/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_6_x_examples.rb +++ b/test/unit/plugins/providers/virtualbox/support/shared/virtualbox_driver_version_6_x_examples.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_examples "a version 6.x virtualbox driver" do |options| before do raise ArgumentError, "Need virtualbox context to use these shared examples." if !(defined? vbox_context) diff --git a/test/unit/plugins/providers/virtualbox/synced_folder_test.rb b/test/unit/plugins/providers/virtualbox/synced_folder_test.rb index 2e9b1596ff0..fe0c35409a5 100644 --- a/test/unit/plugins/providers/virtualbox/synced_folder_test.rb +++ b/test/unit/plugins/providers/virtualbox/synced_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "vagrant" require Vagrant.source_root.join("test/unit/base") diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/alpine/ansible_install_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/alpine/ansible_install_test.rb index 9b3893ef35a..37681583c84 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/alpine/ansible_install_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/alpine/ansible_install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require_relative "../shared/pip_ansible_install_examples" diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/arch/ansible_install_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/arch/ansible_install_test.rb index 2e0e5db671d..69114668885 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/arch/ansible_install_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/arch/ansible_install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require_relative "../shared/pip_ansible_install_examples" diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/debian/ansible_install_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/debian/ansible_install_test.rb index eb99354fa8b..a7d10ff91c8 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/debian/ansible_install_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/debian/ansible_install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require_relative "../shared/pip_ansible_install_examples" diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install_test.rb index d5deff7b8a8..b046c8793ca 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require_relative "../shared/pip_ansible_install_examples" diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/pip/pip_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/pip/pip_test.rb index 68a077b8b28..47d304af5ab 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/pip/pip_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/pip/pip_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require Vagrant.source_root.join("plugins/provisioners/ansible/cap/guest/pip/pip") diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/shared/pip_ansible_install_examples.rb b/test/unit/plugins/provisioners/ansible/cap/guest/shared/pip_ansible_install_examples.rb index 1cbb8986978..e1c28e71787 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/shared/pip_ansible_install_examples.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/shared/pip_ansible_install_examples.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_examples_for "Ansible setup via pip" do diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/suse/ansible_install_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/suse/ansible_install_test.rb index e183139e01c..b266641a185 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/suse/ansible_install_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/suse/ansible_install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require_relative "../shared/pip_ansible_install_examples" diff --git a/test/unit/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install_test.rb b/test/unit/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install_test.rb index f29bcd43d1e..2eafd5a39e5 100644 --- a/test/unit/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install_test.rb +++ b/test/unit/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../../base" require_relative "../shared/pip_ansible_install_examples" diff --git a/test/unit/plugins/provisioners/ansible/config/guest_test.rb b/test/unit/plugins/provisioners/ansible/config/guest_test.rb index e10ad52a362..afe40b84345 100644 --- a/test/unit/plugins/provisioners/ansible/config/guest_test.rb +++ b/test/unit/plugins/provisioners/ansible/config/guest_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../support/shared/config" require_relative "shared" diff --git a/test/unit/plugins/provisioners/ansible/config/host_test.rb b/test/unit/plugins/provisioners/ansible/config/host_test.rb index e89bedbd3c4..8ba2501e16d 100644 --- a/test/unit/plugins/provisioners/ansible/config/host_test.rb +++ b/test/unit/plugins/provisioners/ansible/config/host_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../support/shared/config" require_relative "shared" diff --git a/test/unit/plugins/provisioners/ansible/config/shared.rb b/test/unit/plugins/provisioners/ansible/config/shared.rb index a6495e72c2c..005b5316377 100644 --- a/test/unit/plugins/provisioners/ansible/config/shared.rb +++ b/test/unit/plugins/provisioners/ansible/config/shared.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_examples_for 'options shared by both Ansible provisioners' do it "assigns default values to unset common options" do diff --git a/test/unit/plugins/provisioners/ansible/provisioner_test.rb b/test/unit/plugins/provisioners/ansible/provisioner_test.rb index 2cb9f7bceee..c90f03bb106 100644 --- a/test/unit/plugins/provisioners/ansible/provisioner_test.rb +++ b/test/unit/plugins/provisioners/ansible/provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/ansible/config/host") diff --git a/test/unit/plugins/provisioners/chef/cap/freebsd/chef_installed_test.rb b/test/unit/plugins/provisioners/chef/cap/freebsd/chef_installed_test.rb index 504c67d34c3..a9f34c6ae73 100644 --- a/test/unit/plugins/provisioners/chef/cap/freebsd/chef_installed_test.rb +++ b/test/unit/plugins/provisioners/chef/cap/freebsd/chef_installed_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/cap/freebsd/chef_installed") diff --git a/test/unit/plugins/provisioners/chef/cap/linux/chef_installed_test.rb b/test/unit/plugins/provisioners/chef/cap/linux/chef_installed_test.rb index 25940ae8d48..03241f6d246 100644 --- a/test/unit/plugins/provisioners/chef/cap/linux/chef_installed_test.rb +++ b/test/unit/plugins/provisioners/chef/cap/linux/chef_installed_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/cap/linux/chef_installed") diff --git a/test/unit/plugins/provisioners/chef/cap/omnios/chef_installed_test.rb b/test/unit/plugins/provisioners/chef/cap/omnios/chef_installed_test.rb index f96205119f5..141efdd5739 100644 --- a/test/unit/plugins/provisioners/chef/cap/omnios/chef_installed_test.rb +++ b/test/unit/plugins/provisioners/chef/cap/omnios/chef_installed_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/cap/omnios/chef_installed") diff --git a/test/unit/plugins/provisioners/chef/cap/windows/chef_installed_test.rb b/test/unit/plugins/provisioners/chef/cap/windows/chef_installed_test.rb index 8f1d1b0d433..846e5135bac 100644 --- a/test/unit/plugins/provisioners/chef/cap/windows/chef_installed_test.rb +++ b/test/unit/plugins/provisioners/chef/cap/windows/chef_installed_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/cap/windows/chef_installed") diff --git a/test/unit/plugins/provisioners/chef/command_builder_test.rb b/test/unit/plugins/provisioners/chef/command_builder_test.rb index 1eb7315c89b..61561c5c71c 100644 --- a/test/unit/plugins/provisioners/chef/command_builder_test.rb +++ b/test/unit/plugins/provisioners/chef/command_builder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/command_builder") diff --git a/test/unit/plugins/provisioners/chef/config/base_runner_test.rb b/test/unit/plugins/provisioners/chef/config/base_runner_test.rb index 65d1e74c767..8b098e9d3de 100644 --- a/test/unit/plugins/provisioners/chef/config/base_runner_test.rb +++ b/test/unit/plugins/provisioners/chef/config/base_runner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/config/base_runner") diff --git a/test/unit/plugins/provisioners/chef/config/base_test.rb b/test/unit/plugins/provisioners/chef/config/base_test.rb index 52d2a144daf..93646247692 100644 --- a/test/unit/plugins/provisioners/chef/config/base_test.rb +++ b/test/unit/plugins/provisioners/chef/config/base_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/config/base") diff --git a/test/unit/plugins/provisioners/chef/config/chef_apply_test.rb b/test/unit/plugins/provisioners/chef/config/chef_apply_test.rb index 5bcee520c1d..515a50f0e9f 100644 --- a/test/unit/plugins/provisioners/chef/config/chef_apply_test.rb +++ b/test/unit/plugins/provisioners/chef/config/chef_apply_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/config/chef_apply") diff --git a/test/unit/plugins/provisioners/chef/config/chef_client_test.rb b/test/unit/plugins/provisioners/chef/config/chef_client_test.rb index 402663bf34b..b55b2e3e8bd 100644 --- a/test/unit/plugins/provisioners/chef/config/chef_client_test.rb +++ b/test/unit/plugins/provisioners/chef/config/chef_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/config/chef_client") diff --git a/test/unit/plugins/provisioners/chef/config/chef_solo_test.rb b/test/unit/plugins/provisioners/chef/config/chef_solo_test.rb index 2c699cbd2f6..cff76d55b00 100644 --- a/test/unit/plugins/provisioners/chef/config/chef_solo_test.rb +++ b/test/unit/plugins/provisioners/chef/config/chef_solo_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/config/chef_solo") diff --git a/test/unit/plugins/provisioners/chef/config/chef_zero_test.rb b/test/unit/plugins/provisioners/chef/config/chef_zero_test.rb index c674a2767bd..b66d0badee5 100644 --- a/test/unit/plugins/provisioners/chef/config/chef_zero_test.rb +++ b/test/unit/plugins/provisioners/chef/config/chef_zero_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/config/chef_zero") diff --git a/test/unit/plugins/provisioners/chef/omnibus_test.rb b/test/unit/plugins/provisioners/chef/omnibus_test.rb index b0c4a9dec55..d2060f8fd6d 100644 --- a/test/unit/plugins/provisioners/chef/omnibus_test.rb +++ b/test/unit/plugins/provisioners/chef/omnibus_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/omnibus") diff --git a/test/unit/plugins/provisioners/chef/provisioner/base_test.rb b/test/unit/plugins/provisioners/chef/provisioner/base_test.rb index 9afa712b848..11bc412aa6e 100644 --- a/test/unit/plugins/provisioners/chef/provisioner/base_test.rb +++ b/test/unit/plugins/provisioners/chef/provisioner/base_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/provisioner/base") diff --git a/test/unit/plugins/provisioners/chef/provisioner/chef_solo_test.rb b/test/unit/plugins/provisioners/chef/provisioner/chef_solo_test.rb index 16a837ddd8d..6a7d7aa4373 100644 --- a/test/unit/plugins/provisioners/chef/provisioner/chef_solo_test.rb +++ b/test/unit/plugins/provisioners/chef/provisioner/chef_solo_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/provisioners/chef/provisioner/chef_solo") diff --git a/test/unit/plugins/provisioners/container/client_test.rb b/test/unit/plugins/provisioners/container/client_test.rb index 089220bb44d..3d20637192e 100644 --- a/test/unit/plugins/provisioners/container/client_test.rb +++ b/test/unit/plugins/provisioners/container/client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/container/client") diff --git a/test/unit/plugins/provisioners/container/config_test.rb b/test/unit/plugins/provisioners/container/config_test.rb index ce205104a65..d01ac5592b4 100644 --- a/test/unit/plugins/provisioners/container/config_test.rb +++ b/test/unit/plugins/provisioners/container/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/container/config") diff --git a/test/unit/plugins/provisioners/docker/config_test.rb b/test/unit/plugins/provisioners/docker/config_test.rb index 79b2f512834..302d08b9220 100644 --- a/test/unit/plugins/provisioners/docker/config_test.rb +++ b/test/unit/plugins/provisioners/docker/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/docker/config") diff --git a/test/unit/plugins/provisioners/docker/installer_test.rb b/test/unit/plugins/provisioners/docker/installer_test.rb index e8cd8fb3ff5..5c70a1a0d9b 100644 --- a/test/unit/plugins/provisioners/docker/installer_test.rb +++ b/test/unit/plugins/provisioners/docker/installer_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/docker/provisioner") diff --git a/test/unit/plugins/provisioners/docker/plugin_test.rb b/test/unit/plugins/provisioners/docker/plugin_test.rb index 2c954d5f5c4..213d99d6a38 100644 --- a/test/unit/plugins/provisioners/docker/plugin_test.rb +++ b/test/unit/plugins/provisioners/docker/plugin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/docker/provisioner") diff --git a/test/unit/plugins/provisioners/docker/provisioner_test.rb b/test/unit/plugins/provisioners/docker/provisioner_test.rb index f91ed657a17..76c14d8877f 100644 --- a/test/unit/plugins/provisioners/docker/provisioner_test.rb +++ b/test/unit/plugins/provisioners/docker/provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/docker/provisioner") diff --git a/test/unit/plugins/provisioners/file/config_test.rb b/test/unit/plugins/provisioners/file/config_test.rb index 4302a0a9ce2..5e5d4f2cc68 100644 --- a/test/unit/plugins/provisioners/file/config_test.rb +++ b/test/unit/plugins/provisioners/file/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/file/config") diff --git a/test/unit/plugins/provisioners/file/provisioner_test.rb b/test/unit/plugins/provisioners/file/provisioner_test.rb index d79f5db2fdb..e9eea373db5 100644 --- a/test/unit/plugins/provisioners/file/provisioner_test.rb +++ b/test/unit/plugins/provisioners/file/provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/file/provisioner") diff --git a/test/unit/plugins/provisioners/podman/config_test.rb b/test/unit/plugins/provisioners/podman/config_test.rb index 3894a9c5300..ee288a208cf 100644 --- a/test/unit/plugins/provisioners/podman/config_test.rb +++ b/test/unit/plugins/provisioners/podman/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/podman/config") diff --git a/test/unit/plugins/provisioners/podman/installer_test.rb b/test/unit/plugins/provisioners/podman/installer_test.rb index 0d0b9382e9c..a9e9fe401bc 100644 --- a/test/unit/plugins/provisioners/podman/installer_test.rb +++ b/test/unit/plugins/provisioners/podman/installer_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/podman/provisioner") diff --git a/test/unit/plugins/provisioners/podman/provisioner_test.rb b/test/unit/plugins/provisioners/podman/provisioner_test.rb index f6d6bc69714..ab40226dee4 100644 --- a/test/unit/plugins/provisioners/podman/provisioner_test.rb +++ b/test/unit/plugins/provisioners/podman/provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/podman/provisioner") diff --git a/test/unit/plugins/provisioners/puppet/provisioner/puppet_test.rb b/test/unit/plugins/provisioners/puppet/provisioner/puppet_test.rb index 2bef6892eac..3070cc0e474 100644 --- a/test/unit/plugins/provisioners/puppet/provisioner/puppet_test.rb +++ b/test/unit/plugins/provisioners/puppet/provisioner/puppet_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/puppet/provisioner/puppet") diff --git a/test/unit/plugins/provisioners/salt/bootstrap_downloader_test.rb b/test/unit/plugins/provisioners/salt/bootstrap_downloader_test.rb index 67e24fa84fa..9387c7138ba 100644 --- a/test/unit/plugins/provisioners/salt/bootstrap_downloader_test.rb +++ b/test/unit/plugins/provisioners/salt/bootstrap_downloader_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/salt/bootstrap_downloader") diff --git a/test/unit/plugins/provisioners/salt/config_test.rb b/test/unit/plugins/provisioners/salt/config_test.rb index 899228f3039..7e721b3b6cd 100644 --- a/test/unit/plugins/provisioners/salt/config_test.rb +++ b/test/unit/plugins/provisioners/salt/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/salt/config") diff --git a/test/unit/plugins/provisioners/salt/provisioner_test.rb b/test/unit/plugins/provisioners/salt/provisioner_test.rb index 51bcaba7fd8..cd825ba35f5 100644 --- a/test/unit/plugins/provisioners/salt/provisioner_test.rb +++ b/test/unit/plugins/provisioners/salt/provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/salt/provisioner") diff --git a/test/unit/plugins/provisioners/shell/config_test.rb b/test/unit/plugins/provisioners/shell/config_test.rb index ba02ea2b684..8d8f75adc2c 100644 --- a/test/unit/plugins/provisioners/shell/config_test.rb +++ b/test/unit/plugins/provisioners/shell/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe "VagrantPlugins::Shell::Config" do diff --git a/test/unit/plugins/provisioners/shell/provisioner_test.rb b/test/unit/plugins/provisioners/shell/provisioner_test.rb index 7b8e07214eb..256124e9679 100644 --- a/test/unit/plugins/provisioners/shell/provisioner_test.rb +++ b/test/unit/plugins/provisioners/shell/provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/provisioners/shell/provisioner") diff --git a/test/unit/plugins/provisioners/support/shared/config.rb b/test/unit/plugins/provisioners/support/shared/config.rb index db7aaaeaaf3..714212ababf 100644 --- a/test/unit/plugins/provisioners/support/shared/config.rb +++ b/test/unit/plugins/provisioners/support/shared/config.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + def get_provisioner_option_names(provisioner_class) config_options = provisioner_class.instance_methods(true).find_all { |i| i.to_s.end_with?('=') } config_options.map! { |i| i.to_s.sub('=', '') } diff --git a/test/unit/plugins/pushes/atlas/config_test.rb b/test/unit/plugins/pushes/atlas/config_test.rb index 64240f0a01e..4ceec4ac866 100644 --- a/test/unit/plugins/pushes/atlas/config_test.rb +++ b/test/unit/plugins/pushes/atlas/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/atlas/config") diff --git a/test/unit/plugins/pushes/atlas/push_test.rb b/test/unit/plugins/pushes/atlas/push_test.rb index 6dbaccd932d..07e2390f60d 100644 --- a/test/unit/plugins/pushes/atlas/push_test.rb +++ b/test/unit/plugins/pushes/atlas/push_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/atlas/config") diff --git a/test/unit/plugins/pushes/ftp/adapter_test.rb b/test/unit/plugins/pushes/ftp/adapter_test.rb index a92cc7422a6..e72727d0d0b 100644 --- a/test/unit/plugins/pushes/ftp/adapter_test.rb +++ b/test/unit/plugins/pushes/ftp/adapter_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "fake_ftp" diff --git a/test/unit/plugins/pushes/ftp/config_test.rb b/test/unit/plugins/pushes/ftp/config_test.rb index f66eeb79175..e5a53a0ec97 100644 --- a/test/unit/plugins/pushes/ftp/config_test.rb +++ b/test/unit/plugins/pushes/ftp/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/ftp/config") diff --git a/test/unit/plugins/pushes/ftp/push_test.rb b/test/unit/plugins/pushes/ftp/push_test.rb index 893461724f7..802b0ee11fe 100644 --- a/test/unit/plugins/pushes/ftp/push_test.rb +++ b/test/unit/plugins/pushes/ftp/push_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "fake_ftp" diff --git a/test/unit/plugins/pushes/heroku/config_test.rb b/test/unit/plugins/pushes/heroku/config_test.rb index e451ad152b8..6019802b653 100644 --- a/test/unit/plugins/pushes/heroku/config_test.rb +++ b/test/unit/plugins/pushes/heroku/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/heroku/config") diff --git a/test/unit/plugins/pushes/heroku/push_test.rb b/test/unit/plugins/pushes/heroku/push_test.rb index a7fe11e05a7..b2e2df5d4c1 100644 --- a/test/unit/plugins/pushes/heroku/push_test.rb +++ b/test/unit/plugins/pushes/heroku/push_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/platform" diff --git a/test/unit/plugins/pushes/local-exec/config_test.rb b/test/unit/plugins/pushes/local-exec/config_test.rb index 9442b6420ed..51dc713e16e 100644 --- a/test/unit/plugins/pushes/local-exec/config_test.rb +++ b/test/unit/plugins/pushes/local-exec/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/local-exec/config") diff --git a/test/unit/plugins/pushes/local-exec/push_test.rb b/test/unit/plugins/pushes/local-exec/push_test.rb index d03a7c2d536..8a4ace6c2b4 100644 --- a/test/unit/plugins/pushes/local-exec/push_test.rb +++ b/test/unit/plugins/pushes/local-exec/push_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/local-exec/push") diff --git a/test/unit/plugins/pushes/noop/config_test.rb b/test/unit/plugins/pushes/noop/config_test.rb index 05be6c3f8e4..b6405ac8b96 100644 --- a/test/unit/plugins/pushes/noop/config_test.rb +++ b/test/unit/plugins/pushes/noop/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/pushes/noop/config") diff --git a/test/unit/plugins/synced_folders/nfs/action_cleanup_test.rb b/test/unit/plugins/synced_folders/nfs/action_cleanup_test.rb index e87ce282782..45f9dd11d5b 100644 --- a/test/unit/plugins/synced_folders/nfs/action_cleanup_test.rb +++ b/test/unit/plugins/synced_folders/nfs/action_cleanup_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/synced_folders/nfs/action_cleanup") diff --git a/test/unit/plugins/synced_folders/nfs/config_test.rb b/test/unit/plugins/synced_folders/nfs/config_test.rb index 670dfb39471..196579f132c 100644 --- a/test/unit/plugins/synced_folders/nfs/config_test.rb +++ b/test/unit/plugins/synced_folders/nfs/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/synced_folders/nfs/config") diff --git a/test/unit/plugins/synced_folders/rsync/command/rsync_auto_test.rb b/test/unit/plugins/synced_folders/rsync/command/rsync_auto_test.rb index f25f5f9205b..ff840aa2048 100644 --- a/test/unit/plugins/synced_folders/rsync/command/rsync_auto_test.rb +++ b/test/unit/plugins/synced_folders/rsync/command/rsync_auto_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/synced_folders/rsync/command/rsync_auto") diff --git a/test/unit/plugins/synced_folders/rsync/command/rsync_test.rb b/test/unit/plugins/synced_folders/rsync/command/rsync_test.rb index 1eee48de891..19af272f247 100644 --- a/test/unit/plugins/synced_folders/rsync/command/rsync_test.rb +++ b/test/unit/plugins/synced_folders/rsync/command/rsync_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require Vagrant.source_root.join("plugins/synced_folders/rsync/command/rsync") diff --git a/test/unit/plugins/synced_folders/rsync/default_unix_cap_test.rb b/test/unit/plugins/synced_folders/rsync/default_unix_cap_test.rb index 64335e9e708..bc41037fbe8 100644 --- a/test/unit/plugins/synced_folders/rsync/default_unix_cap_test.rb +++ b/test/unit/plugins/synced_folders/rsync/default_unix_cap_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/synced_folders/rsync/default_unix_cap") diff --git a/test/unit/plugins/synced_folders/rsync/helper_test.rb b/test/unit/plugins/synced_folders/rsync/helper_test.rb index 44c3d30bd9c..a46cd84d518 100644 --- a/test/unit/plugins/synced_folders/rsync/helper_test.rb +++ b/test/unit/plugins/synced_folders/rsync/helper_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/platform" diff --git a/test/unit/plugins/synced_folders/rsync/synced_folder_test.rb b/test/unit/plugins/synced_folders/rsync/synced_folder_test.rb index 02567b9c1d4..4ef02573fd7 100644 --- a/test/unit/plugins/synced_folders/rsync/synced_folder_test.rb +++ b/test/unit/plugins/synced_folders/rsync/synced_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/synced_folders/rsync/synced_folder") diff --git a/test/unit/plugins/synced_folders/smb/caps/mount_options_test.rb b/test/unit/plugins/synced_folders/smb/caps/mount_options_test.rb index 9ab6403492c..bca60a8c6ab 100644 --- a/test/unit/plugins/synced_folders/smb/caps/mount_options_test.rb +++ b/test/unit/plugins/synced_folders/smb/caps/mount_options_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require_relative "../../../../../../plugins/synced_folders/smb/cap/mount_options" diff --git a/test/unit/plugins/synced_folders/smb/synced_folder_test.rb b/test/unit/plugins/synced_folders/smb/synced_folder_test.rb index 8f2205dcf94..c13cd67a8ff 100644 --- a/test/unit/plugins/synced_folders/smb/synced_folder_test.rb +++ b/test/unit/plugins/synced_folders/smb/synced_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require Vagrant.source_root.join("plugins/synced_folders/smb/synced_folder") diff --git a/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb b/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb index 9c5e8c169ac..d27d63fc0d1 100644 --- a/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb +++ b/test/unit/plugins/synced_folders/unix_mount_helpers_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../base" require Vagrant.source_root.join("plugins/synced_folders/unix_mount_helpers") diff --git a/test/unit/support/dummy_communicator.rb b/test/unit/support/dummy_communicator.rb index 4f7ffe914a6..72d258a44e8 100644 --- a/test/unit/support/dummy_communicator.rb +++ b/test/unit/support/dummy_communicator.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantTests module DummyCommunicator class Communicator < Vagrant.plugin("2", :communicator) diff --git a/test/unit/support/dummy_provider.rb b/test/unit/support/dummy_provider.rb index c16865ae2ee..801b7e90ef1 100644 --- a/test/unit/support/dummy_provider.rb +++ b/test/unit/support/dummy_provider.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + module VagrantTests class DummyProviderPlugin < Vagrant.plugin("2") name "Dummy Provider" diff --git a/test/unit/support/isolated_environment.rb b/test/unit/support/isolated_environment.rb index de284892785..6f0c70df745 100644 --- a/test/unit/support/isolated_environment.rb +++ b/test/unit/support/isolated_environment.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "fileutils" require "pathname" require "tempfile" diff --git a/test/unit/support/shared/action_synced_folders_context.rb b/test/unit/support/shared/action_synced_folders_context.rb index d036deeae14..bb07e777c60 100644 --- a/test/unit/support/shared/action_synced_folders_context.rb +++ b/test/unit/support/shared/action_synced_folders_context.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_context "synced folder actions" do # This creates a synced folder implementation. def impl(usable, name) diff --git a/test/unit/support/shared/base_context.rb b/test/unit/support/shared/base_context.rb index 7a00e30f923..655bd6e1f2b 100644 --- a/test/unit/support/shared/base_context.rb +++ b/test/unit/support/shared/base_context.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tempfile" require "tmpdir" diff --git a/test/unit/support/shared/capability_helpers_context.rb b/test/unit/support/shared/capability_helpers_context.rb index 4976aaf8d49..79dfe9108b9 100644 --- a/test/unit/support/shared/capability_helpers_context.rb +++ b/test/unit/support/shared/capability_helpers_context.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_context "capability_helpers" do def detect_class(result) Class.new do diff --git a/test/unit/support/shared/plugin_command_context.rb b/test/unit/support/shared/plugin_command_context.rb index 5a226a4c151..863981588ef 100644 --- a/test/unit/support/shared/plugin_command_context.rb +++ b/test/unit/support/shared/plugin_command_context.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_context "command plugin helpers" do def command_lambda(name, result, **opts) lambda do diff --git a/test/unit/support/shared/virtualbox_context.rb b/test/unit/support/shared/virtualbox_context.rb index 554467dc010..6c57c9b2309 100644 --- a/test/unit/support/shared/virtualbox_context.rb +++ b/test/unit/support/shared/virtualbox_context.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + shared_context "virtualbox" do include_context "unit" diff --git a/test/unit/templates/guests/arch/default_network/network_dhcp_test.rb b/test/unit/templates/guests/arch/default_network/network_dhcp_test.rb index 878d55ee53c..baaf23b23ad 100644 --- a/test/unit/templates/guests/arch/default_network/network_dhcp_test.rb +++ b/test/unit/templates/guests/arch/default_network/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/arch/default_network/network_static_test.rb b/test/unit/templates/guests/arch/default_network/network_static_test.rb index e5ae76261a9..e28ee861364 100644 --- a/test/unit/templates/guests/arch/default_network/network_static_test.rb +++ b/test/unit/templates/guests/arch/default_network/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/arch/systemd_networkd/network_dhcp_test.rb b/test/unit/templates/guests/arch/systemd_networkd/network_dhcp_test.rb index a6465264276..480376f06b9 100644 --- a/test/unit/templates/guests/arch/systemd_networkd/network_dhcp_test.rb +++ b/test/unit/templates/guests/arch/systemd_networkd/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/arch/systemd_networkd/network_static_test.rb b/test/unit/templates/guests/arch/systemd_networkd/network_static_test.rb index 559b2f5846f..49ee49ac537 100644 --- a/test/unit/templates/guests/arch/systemd_networkd/network_static_test.rb +++ b/test/unit/templates/guests/arch/systemd_networkd/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/debian/network_dhcp_test.rb b/test/unit/templates/guests/debian/network_dhcp_test.rb index 24fbfcadfd8..2226e2ce72e 100644 --- a/test/unit/templates/guests/debian/network_dhcp_test.rb +++ b/test/unit/templates/guests/debian/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/debian/network_static_test.rb b/test/unit/templates/guests/debian/network_static_test.rb index 08f9a67af32..97c90b1b8d4 100644 --- a/test/unit/templates/guests/debian/network_static_test.rb +++ b/test/unit/templates/guests/debian/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/freebsd/network_dhcp_test.rb b/test/unit/templates/guests/freebsd/network_dhcp_test.rb index a3ad5b61cbc..b032e309fec 100644 --- a/test/unit/templates/guests/freebsd/network_dhcp_test.rb +++ b/test/unit/templates/guests/freebsd/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/freebsd/network_static_test.rb b/test/unit/templates/guests/freebsd/network_static_test.rb index 12d7ce52607..9245e973dc5 100644 --- a/test/unit/templates/guests/freebsd/network_static_test.rb +++ b/test/unit/templates/guests/freebsd/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/funtoo/network_dhcp_test.rb b/test/unit/templates/guests/funtoo/network_dhcp_test.rb index 0e3cafb1c12..dc49a0a2959 100644 --- a/test/unit/templates/guests/funtoo/network_dhcp_test.rb +++ b/test/unit/templates/guests/funtoo/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/funtoo/network_static_test.rb b/test/unit/templates/guests/funtoo/network_static_test.rb index 5a14312d264..828a7e023b4 100644 --- a/test/unit/templates/guests/funtoo/network_static_test.rb +++ b/test/unit/templates/guests/funtoo/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/gentoo/network_dhcp_test.rb b/test/unit/templates/guests/gentoo/network_dhcp_test.rb index 8126c6d5889..8d33ce7029b 100644 --- a/test/unit/templates/guests/gentoo/network_dhcp_test.rb +++ b/test/unit/templates/guests/gentoo/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/gentoo/network_static_test.rb b/test/unit/templates/guests/gentoo/network_static_test.rb index 33337065ed9..ac6816c5c55 100644 --- a/test/unit/templates/guests/gentoo/network_static_test.rb +++ b/test/unit/templates/guests/gentoo/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/gentoo/systemd_network_test.rb b/test/unit/templates/guests/gentoo/systemd_network_test.rb index a95c5e6ae2d..ee570ebd879 100644 --- a/test/unit/templates/guests/gentoo/systemd_network_test.rb +++ b/test/unit/templates/guests/gentoo/systemd_network_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/netbsd/network_dhcp_test.rb b/test/unit/templates/guests/netbsd/network_dhcp_test.rb index c2f68d7ba65..ce5efc4ab6f 100644 --- a/test/unit/templates/guests/netbsd/network_dhcp_test.rb +++ b/test/unit/templates/guests/netbsd/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/netbsd/network_static_test.rb b/test/unit/templates/guests/netbsd/network_static_test.rb index 210dc4d305e..00c59670981 100644 --- a/test/unit/templates/guests/netbsd/network_static_test.rb +++ b/test/unit/templates/guests/netbsd/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/nixos/network_test.rb b/test/unit/templates/guests/nixos/network_test.rb index f2536f900c2..be453abdfa4 100644 --- a/test/unit/templates/guests/nixos/network_test.rb +++ b/test/unit/templates/guests/nixos/network_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/redhat/network_dhcp_test.rb b/test/unit/templates/guests/redhat/network_dhcp_test.rb index 58051dfe0b4..50c836d86fb 100644 --- a/test/unit/templates/guests/redhat/network_dhcp_test.rb +++ b/test/unit/templates/guests/redhat/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/redhat/network_static_test.rb b/test/unit/templates/guests/redhat/network_static_test.rb index 6260878ea01..c418a78a81c 100644 --- a/test/unit/templates/guests/redhat/network_static_test.rb +++ b/test/unit/templates/guests/redhat/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/suse/network_dhcp_test.rb b/test/unit/templates/guests/suse/network_dhcp_test.rb index bef88433b40..25d95e873f7 100644 --- a/test/unit/templates/guests/suse/network_dhcp_test.rb +++ b/test/unit/templates/guests/suse/network_dhcp_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/suse/network_static6_test.rb b/test/unit/templates/guests/suse/network_static6_test.rb index 676de82238b..dbd1d2fee26 100644 --- a/test/unit/templates/guests/suse/network_static6_test.rb +++ b/test/unit/templates/guests/suse/network_static6_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/guests/suse/network_static_test.rb b/test/unit/templates/guests/suse/network_static_test.rb index b336e60970c..f83a55845d1 100644 --- a/test/unit/templates/guests/suse/network_static_test.rb +++ b/test/unit/templates/guests/suse/network_static_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/templates/nfs/exports_darwin_test.rb b/test/unit/templates/nfs/exports_darwin_test.rb index 83f937f2dd2..c2629e96e0a 100644 --- a/test/unit/templates/nfs/exports_darwin_test.rb +++ b/test/unit/templates/nfs/exports_darwin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../base" require "vagrant/util/template_renderer" diff --git a/test/unit/vagrant/action/builder_test.rb b/test/unit/vagrant/action/builder_test.rb index 796c5784e7f..3f74922451b 100644 --- a/test/unit/vagrant/action/builder_test.rb +++ b/test/unit/vagrant/action/builder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) describe Vagrant::Action::Builder do diff --git a/test/unit/vagrant/action/builtin/box_add_test.rb b/test/unit/vagrant/action/builtin/box_add_test.rb index bf4361ec4c5..e9840d15f4e 100644 --- a/test/unit/vagrant/action/builtin/box_add_test.rb +++ b/test/unit/vagrant/action/builtin/box_add_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "digest/sha1" require "pathname" require "tempfile" diff --git a/test/unit/vagrant/action/builtin/box_check_outdated_test.rb b/test/unit/vagrant/action/builtin/box_check_outdated_test.rb index 829ba4d0970..2e70281a699 100644 --- a/test/unit/vagrant/action/builtin/box_check_outdated_test.rb +++ b/test/unit/vagrant/action/builtin/box_check_outdated_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::BoxCheckOutdated do diff --git a/test/unit/vagrant/action/builtin/box_remove_test.rb b/test/unit/vagrant/action/builtin/box_remove_test.rb index 7309a9b1025..7e1f715bb62 100644 --- a/test/unit/vagrant/action/builtin/box_remove_test.rb +++ b/test/unit/vagrant/action/builtin/box_remove_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::BoxRemove do diff --git a/test/unit/vagrant/action/builtin/call_test.rb b/test/unit/vagrant/action/builtin/call_test.rb index b4779032cec..8150226d728 100644 --- a/test/unit/vagrant/action/builtin/call_test.rb +++ b/test/unit/vagrant/action/builtin/call_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::Call do diff --git a/test/unit/vagrant/action/builtin/cleanup_disks_test.rb b/test/unit/vagrant/action/builtin/cleanup_disks_test.rb index 821d647ac6b..5558c85bd78 100644 --- a/test/unit/vagrant/action/builtin/cleanup_disks_test.rb +++ b/test/unit/vagrant/action/builtin/cleanup_disks_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::CleanupDisks do diff --git a/test/unit/vagrant/action/builtin/cloud_init_setup_test.rb b/test/unit/vagrant/action/builtin/cloud_init_setup_test.rb index 5c6ebea8554..5c708890419 100644 --- a/test/unit/vagrant/action/builtin/cloud_init_setup_test.rb +++ b/test/unit/vagrant/action/builtin/cloud_init_setup_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require "vagrant/util/mime" diff --git a/test/unit/vagrant/action/builtin/cloud_init_wait_test.rb b/test/unit/vagrant/action/builtin/cloud_init_wait_test.rb index f42399094cc..67a19fdcd8b 100644 --- a/test/unit/vagrant/action/builtin/cloud_init_wait_test.rb +++ b/test/unit/vagrant/action/builtin/cloud_init_wait_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::CloudInitWait do diff --git a/test/unit/vagrant/action/builtin/confirm_test.rb b/test/unit/vagrant/action/builtin/confirm_test.rb index e9176d4a598..626a918501d 100644 --- a/test/unit/vagrant/action/builtin/confirm_test.rb +++ b/test/unit/vagrant/action/builtin/confirm_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::Confirm do diff --git a/test/unit/vagrant/action/builtin/delayed_test.rb b/test/unit/vagrant/action/builtin/delayed_test.rb index 766062c0bcf..f84c74f8327 100644 --- a/test/unit/vagrant/action/builtin/delayed_test.rb +++ b/test/unit/vagrant/action/builtin/delayed_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::Delayed do diff --git a/test/unit/vagrant/action/builtin/disk_test.rb b/test/unit/vagrant/action/builtin/disk_test.rb index 24d3aef1ace..788dfbe2b24 100644 --- a/test/unit/vagrant/action/builtin/disk_test.rb +++ b/test/unit/vagrant/action/builtin/disk_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::Disk do diff --git a/test/unit/vagrant/action/builtin/env_set_test.rb b/test/unit/vagrant/action/builtin/env_set_test.rb index 2b3401aeed0..48635bfb8d6 100644 --- a/test/unit/vagrant/action/builtin/env_set_test.rb +++ b/test/unit/vagrant/action/builtin/env_set_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::EnvSet do diff --git a/test/unit/vagrant/action/builtin/graceful_halt_test.rb b/test/unit/vagrant/action/builtin/graceful_halt_test.rb index 712d0e8570e..64453a1cc81 100644 --- a/test/unit/vagrant/action/builtin/graceful_halt_test.rb +++ b/test/unit/vagrant/action/builtin/graceful_halt_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::GracefulHalt do diff --git a/test/unit/vagrant/action/builtin/handle_box_test.rb b/test/unit/vagrant/action/builtin/handle_box_test.rb index 056ebc5bff2..cb3fcba076f 100644 --- a/test/unit/vagrant/action/builtin/handle_box_test.rb +++ b/test/unit/vagrant/action/builtin/handle_box_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::HandleBox do diff --git a/test/unit/vagrant/action/builtin/handle_forwarded_port_collisions_test.rb b/test/unit/vagrant/action/builtin/handle_forwarded_port_collisions_test.rb index 73c7901ae26..8ed1f93df9d 100644 --- a/test/unit/vagrant/action/builtin/handle_forwarded_port_collisions_test.rb +++ b/test/unit/vagrant/action/builtin/handle_forwarded_port_collisions_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/vm") diff --git a/test/unit/vagrant/action/builtin/has_provisioner_test.rb b/test/unit/vagrant/action/builtin/has_provisioner_test.rb index 8da00bb576f..726037c80cb 100644 --- a/test/unit/vagrant/action/builtin/has_provisioner_test.rb +++ b/test/unit/vagrant/action/builtin/has_provisioner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) diff --git a/test/unit/vagrant/action/builtin/is_env_set_test.rb b/test/unit/vagrant/action/builtin/is_env_set_test.rb index de1bb9774ac..6e391b4fb51 100644 --- a/test/unit/vagrant/action/builtin/is_env_set_test.rb +++ b/test/unit/vagrant/action/builtin/is_env_set_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/action/builtin/is_state_test.rb b/test/unit/vagrant/action/builtin/is_state_test.rb index 873783a9ada..a5d0f34b36b 100644 --- a/test/unit/vagrant/action/builtin/is_state_test.rb +++ b/test/unit/vagrant/action/builtin/is_state_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/action/builtin/lock_test.rb b/test/unit/vagrant/action/builtin/lock_test.rb index a04acf1ddef..7cbe7ee2db6 100644 --- a/test/unit/vagrant/action/builtin/lock_test.rb +++ b/test/unit/vagrant/action/builtin/lock_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::Lock do diff --git a/test/unit/vagrant/action/builtin/message_test.rb b/test/unit/vagrant/action/builtin/message_test.rb index f7713e6ab76..74ed13002df 100644 --- a/test/unit/vagrant/action/builtin/message_test.rb +++ b/test/unit/vagrant/action/builtin/message_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/action/builtin/mixin_provisioners_test.rb b/test/unit/vagrant/action/builtin/mixin_provisioners_test.rb index db0a51d8d90..18ab7d1222a 100644 --- a/test/unit/vagrant/action/builtin/mixin_provisioners_test.rb +++ b/test/unit/vagrant/action/builtin/mixin_provisioners_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/vm") diff --git a/test/unit/vagrant/action/builtin/mixin_synced_folders_test.rb b/test/unit/vagrant/action/builtin/mixin_synced_folders_test.rb index a03dd584de5..fafce9b6fbb 100644 --- a/test/unit/vagrant/action/builtin/mixin_synced_folders_test.rb +++ b/test/unit/vagrant/action/builtin/mixin_synced_folders_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tmpdir" require File.expand_path("../../../../base", __FILE__) diff --git a/test/unit/vagrant/action/builtin/provision_test.rb b/test/unit/vagrant/action/builtin/provision_test.rb index 2df9126a3da..8e61fcb234f 100644 --- a/test/unit/vagrant/action/builtin/provision_test.rb +++ b/test/unit/vagrant/action/builtin/provision_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/vm") diff --git a/test/unit/vagrant/action/builtin/provisioner_cleanup_test.rb b/test/unit/vagrant/action/builtin/provisioner_cleanup_test.rb index 301cc502438..149a4210faf 100644 --- a/test/unit/vagrant/action/builtin/provisioner_cleanup_test.rb +++ b/test/unit/vagrant/action/builtin/provisioner_cleanup_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/action/builtin/set_hostname_test.rb b/test/unit/vagrant/action/builtin/set_hostname_test.rb index abbcbe4112c..bb0cd99a9da 100644 --- a/test/unit/vagrant/action/builtin/set_hostname_test.rb +++ b/test/unit/vagrant/action/builtin/set_hostname_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::SetHostname do diff --git a/test/unit/vagrant/action/builtin/ssh_exec_test.rb b/test/unit/vagrant/action/builtin/ssh_exec_test.rb index 94b42b99c32..fbce70b02a5 100644 --- a/test/unit/vagrant/action/builtin/ssh_exec_test.rb +++ b/test/unit/vagrant/action/builtin/ssh_exec_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::SSHExec do diff --git a/test/unit/vagrant/action/builtin/ssh_run_test.rb b/test/unit/vagrant/action/builtin/ssh_run_test.rb index 49053afeb67..1e7e5b85865 100644 --- a/test/unit/vagrant/action/builtin/ssh_run_test.rb +++ b/test/unit/vagrant/action/builtin/ssh_run_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::SSHRun do diff --git a/test/unit/vagrant/action/builtin/synced_folder_cleanup_test.rb b/test/unit/vagrant/action/builtin/synced_folder_cleanup_test.rb index 3c5ddb97a41..32f3bc93278 100644 --- a/test/unit/vagrant/action/builtin/synced_folder_cleanup_test.rb +++ b/test/unit/vagrant/action/builtin/synced_folder_cleanup_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/action/builtin/synced_folders_test.rb b/test/unit/vagrant/action/builtin/synced_folders_test.rb index 9e3662c48a5..c122f92468a 100644 --- a/test/unit/vagrant/action/builtin/synced_folders_test.rb +++ b/test/unit/vagrant/action/builtin/synced_folders_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/action/builtin/trigger_test.rb b/test/unit/vagrant/action/builtin/trigger_test.rb index 43b853b7cbf..aae264c04fd 100644 --- a/test/unit/vagrant/action/builtin/trigger_test.rb +++ b/test/unit/vagrant/action/builtin/trigger_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::Builtin::Trigger do diff --git a/test/unit/vagrant/action/general/package_test.rb b/test/unit/vagrant/action/general/package_test.rb index 640cd9221ee..12cf93b031d 100644 --- a/test/unit/vagrant/action/general/package_test.rb +++ b/test/unit/vagrant/action/general/package_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Action::General::Package do diff --git a/test/unit/vagrant/action/hook_test.rb b/test/unit/vagrant/action/hook_test.rb index c4a3ba9dd81..4722dbb8a45 100644 --- a/test/unit/vagrant/action/hook_test.rb +++ b/test/unit/vagrant/action/hook_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/action/builder" diff --git a/test/unit/vagrant/action/runner_test.rb b/test/unit/vagrant/action/runner_test.rb index 44db5536f82..dc008aac486 100644 --- a/test/unit/vagrant/action/runner_test.rb +++ b/test/unit/vagrant/action/runner_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) describe Vagrant::Action::Runner do diff --git a/test/unit/vagrant/action/warden_test.rb b/test/unit/vagrant/action/warden_test.rb index 6cb649f4f35..e4e00061b7f 100644 --- a/test/unit/vagrant/action/warden_test.rb +++ b/test/unit/vagrant/action/warden_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) describe Vagrant::Action::Warden do diff --git a/test/unit/vagrant/alias_test.rb b/test/unit/vagrant/alias_test.rb index 5a106684ded..1abda5b2bc6 100644 --- a/test/unit/vagrant/alias_test.rb +++ b/test/unit/vagrant/alias_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require "vagrant/alias" diff --git a/test/unit/vagrant/batch_action_test.rb b/test/unit/vagrant/batch_action_test.rb index e1e60030332..ba1d25262df 100644 --- a/test/unit/vagrant/batch_action_test.rb +++ b/test/unit/vagrant/batch_action_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'thread' require 'timeout' diff --git a/test/unit/vagrant/box_collection_test.rb b/test/unit/vagrant/box_collection_test.rb index aa801833c69..93232d16d85 100644 --- a/test/unit/vagrant/box_collection_test.rb +++ b/test/unit/vagrant/box_collection_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "pathname" diff --git a/test/unit/vagrant/box_metadata_test.rb b/test/unit/vagrant/box_metadata_test.rb index 91f505239fb..cd985b39c59 100644 --- a/test/unit/vagrant/box_metadata_test.rb +++ b/test/unit/vagrant/box_metadata_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "vagrant/box_metadata" diff --git a/test/unit/vagrant/box_test.rb b/test/unit/vagrant/box_test.rb index b45e837d9bb..a45448151a7 100644 --- a/test/unit/vagrant/box_test.rb +++ b/test/unit/vagrant/box_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "pathname" diff --git a/test/unit/vagrant/bundler_test.rb b/test/unit/vagrant/bundler_test.rb index 0dc3227eb7c..cf1401b772b 100644 --- a/test/unit/vagrant/bundler_test.rb +++ b/test/unit/vagrant/bundler_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "tmpdir" require_relative "../base" diff --git a/test/unit/vagrant/capability_host_test.rb b/test/unit/vagrant/capability_host_test.rb index 5bdae28c3d2..6ba5f16b3cd 100644 --- a/test/unit/vagrant/capability_host_test.rb +++ b/test/unit/vagrant/capability_host_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "vagrant/capability_host" diff --git a/test/unit/vagrant/cli_test.rb b/test/unit/vagrant/cli_test.rb index f0d31a58f61..7d719aa5c13 100644 --- a/test/unit/vagrant/cli_test.rb +++ b/test/unit/vagrant/cli_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../base" require "vagrant/cli" diff --git a/test/unit/vagrant/config/loader_test.rb b/test/unit/vagrant/config/loader_test.rb index 0ce194275d8..1d309edcd5e 100644 --- a/test/unit/vagrant/config/loader_test.rb +++ b/test/unit/vagrant/config/loader_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/registry" diff --git a/test/unit/vagrant/config/v1/dummy_config_test.rb b/test/unit/vagrant/config/v1/dummy_config_test.rb index 46a3f760851..fcc5d9c13c2 100644 --- a/test/unit/vagrant/config/v1/dummy_config_test.rb +++ b/test/unit/vagrant/config/v1/dummy_config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Config::V1::DummyConfig do diff --git a/test/unit/vagrant/config/v1/loader_test.rb b/test/unit/vagrant/config/v1/loader_test.rb index e1d78102a61..9430c732788 100644 --- a/test/unit/vagrant/config/v1/loader_test.rb +++ b/test/unit/vagrant/config/v1/loader_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ostruct" require File.expand_path("../../../../base", __FILE__) diff --git a/test/unit/vagrant/config/v1/root_test.rb b/test/unit/vagrant/config/v1/root_test.rb index 9494dbcd88f..86eb6fdb511 100644 --- a/test/unit/vagrant/config/v1/root_test.rb +++ b/test/unit/vagrant/config/v1/root_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Config::V1::Root do diff --git a/test/unit/vagrant/config/v2/dummy_config_test.rb b/test/unit/vagrant/config/v2/dummy_config_test.rb index bf4a7bd16d0..361fffe61eb 100644 --- a/test/unit/vagrant/config/v2/dummy_config_test.rb +++ b/test/unit/vagrant/config/v2/dummy_config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Config::V2::DummyConfig do diff --git a/test/unit/vagrant/config/v2/loader_test.rb b/test/unit/vagrant/config/v2/loader_test.rb index e6e4e421efa..6879c3969ab 100644 --- a/test/unit/vagrant/config/v2/loader_test.rb +++ b/test/unit/vagrant/config/v2/loader_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "ostruct" require File.expand_path("../../../../base", __FILE__) diff --git a/test/unit/vagrant/config/v2/root_test.rb b/test/unit/vagrant/config/v2/root_test.rb index 1f9b5cf7301..272cb08f358 100644 --- a/test/unit/vagrant/config/v2/root_test.rb +++ b/test/unit/vagrant/config/v2/root_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "set" require File.expand_path("../../../../base", __FILE__) diff --git a/test/unit/vagrant/config/v2/util_test.rb b/test/unit/vagrant/config/v2/util_test.rb index ff49005d012..4cb2ecd7cc4 100644 --- a/test/unit/vagrant/config/v2/util_test.rb +++ b/test/unit/vagrant/config/v2/util_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require "vagrant/config/v2/util" diff --git a/test/unit/vagrant/config_test.rb b/test/unit/vagrant/config_test.rb index 8e78193673f..1a1521ea677 100644 --- a/test/unit/vagrant/config_test.rb +++ b/test/unit/vagrant/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe Vagrant::Config do diff --git a/test/unit/vagrant/environment_test.rb b/test/unit/vagrant/environment_test.rb index 5483457eb27..668b2e8c74c 100644 --- a/test/unit/vagrant/environment_test.rb +++ b/test/unit/vagrant/environment_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "json" require "pathname" diff --git a/test/unit/vagrant/errors_test.rb b/test/unit/vagrant/errors_test.rb index 7f71f487293..0bf7a3b9526 100644 --- a/test/unit/vagrant/errors_test.rb +++ b/test/unit/vagrant/errors_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe Vagrant::Errors::VagrantError do diff --git a/test/unit/vagrant/guest_test.rb b/test/unit/vagrant/guest_test.rb index 5f8181f7c37..aa04c924ff1 100644 --- a/test/unit/vagrant/guest_test.rb +++ b/test/unit/vagrant/guest_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require File.expand_path("../../base", __FILE__) diff --git a/test/unit/vagrant/host_test.rb b/test/unit/vagrant/host_test.rb index b0f3d65f916..f51fc27bf40 100644 --- a/test/unit/vagrant/host_test.rb +++ b/test/unit/vagrant/host_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require File.expand_path("../../base", __FILE__) diff --git a/test/unit/vagrant/machine/remote_test.rb b/test/unit/vagrant/machine/remote_test.rb index a471b121e82..f4c10e68858 100644 --- a/test/unit/vagrant/machine/remote_test.rb +++ b/test/unit/vagrant/machine/remote_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) describe Vagrant::Machine::Remote do diff --git a/test/unit/vagrant/machine_index_test.rb b/test/unit/vagrant/machine_index_test.rb index 09fa755a0f4..c570dd18db1 100644 --- a/test/unit/vagrant/machine_index_test.rb +++ b/test/unit/vagrant/machine_index_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "pathname" require "tempfile" diff --git a/test/unit/vagrant/machine_state_test.rb b/test/unit/vagrant/machine_state_test.rb index 6c53845c77a..638af8a1480 100644 --- a/test/unit/vagrant/machine_state_test.rb +++ b/test/unit/vagrant/machine_state_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require File.expand_path("../../base", __FILE__) diff --git a/test/unit/vagrant/machine_test.rb b/test/unit/vagrant/machine_test.rb index be160b2350a..d823804f7ef 100644 --- a/test/unit/vagrant/machine_test.rb +++ b/test/unit/vagrant/machine_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "pathname" require "tmpdir" diff --git a/test/unit/vagrant/plugin/manager_test.rb b/test/unit/vagrant/plugin/manager_test.rb index 08ac2c3f83d..ed8940a4c70 100644 --- a/test/unit/vagrant/plugin/manager_test.rb +++ b/test/unit/vagrant/plugin/manager_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "pathname" diff --git a/test/unit/vagrant/plugin/state_file_test.rb b/test/unit/vagrant/plugin/state_file_test.rb index 9546db7bc90..8546302c868 100644 --- a/test/unit/vagrant/plugin/state_file_test.rb +++ b/test/unit/vagrant/plugin/state_file_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "json" require "pathname" diff --git a/test/unit/vagrant/plugin/v1/command_test.rb b/test/unit/vagrant/plugin/v1/command_test.rb index 25bbb88eaf2..450a99d49e9 100644 --- a/test/unit/vagrant/plugin/v1/command_test.rb +++ b/test/unit/vagrant/plugin/v1/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require 'optparse' diff --git a/test/unit/vagrant/plugin/v1/communicator_test.rb b/test/unit/vagrant/plugin/v1/communicator_test.rb index 904e76a34f8..90551f8b337 100644 --- a/test/unit/vagrant/plugin/v1/communicator_test.rb +++ b/test/unit/vagrant/plugin/v1/communicator_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V1::Communicator do diff --git a/test/unit/vagrant/plugin/v1/config_test.rb b/test/unit/vagrant/plugin/v1/config_test.rb index 5e4846775e4..a2779e93806 100644 --- a/test/unit/vagrant/plugin/v1/config_test.rb +++ b/test/unit/vagrant/plugin/v1/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V1::Config do diff --git a/test/unit/vagrant/plugin/v1/host_test.rb b/test/unit/vagrant/plugin/v1/host_test.rb index bfc0fee786c..d857a4a9e00 100644 --- a/test/unit/vagrant/plugin/v1/host_test.rb +++ b/test/unit/vagrant/plugin/v1/host_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V1::Host do diff --git a/test/unit/vagrant/plugin/v1/manager_test.rb b/test/unit/vagrant/plugin/v1/manager_test.rb index 6b609cc22d4..696fada9173 100644 --- a/test/unit/vagrant/plugin/v1/manager_test.rb +++ b/test/unit/vagrant/plugin/v1/manager_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V1::Manager do diff --git a/test/unit/vagrant/plugin/v1/plugin_test.rb b/test/unit/vagrant/plugin/v1/plugin_test.rb index 4c1bda782c9..a8a25677de9 100644 --- a/test/unit/vagrant/plugin/v1/plugin_test.rb +++ b/test/unit/vagrant/plugin/v1/plugin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V1::Plugin do diff --git a/test/unit/vagrant/plugin/v1/provider_test.rb b/test/unit/vagrant/plugin/v1/provider_test.rb index b30248e5cf4..1d4e5500e20 100644 --- a/test/unit/vagrant/plugin/v1/provider_test.rb +++ b/test/unit/vagrant/plugin/v1/provider_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V1::Provider do diff --git a/test/unit/vagrant/plugin/v2/command_test.rb b/test/unit/vagrant/plugin/v2/command_test.rb index 72d77b7a649..385c569bbd9 100644 --- a/test/unit/vagrant/plugin/v2/command_test.rb +++ b/test/unit/vagrant/plugin/v2/command_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require 'optparse' require 'vagrant/machine_index' diff --git a/test/unit/vagrant/plugin/v2/communicator_test.rb b/test/unit/vagrant/plugin/v2/communicator_test.rb index 6232b11640b..ea94a6f6f75 100644 --- a/test/unit/vagrant/plugin/v2/communicator_test.rb +++ b/test/unit/vagrant/plugin/v2/communicator_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::Communicator do diff --git a/test/unit/vagrant/plugin/v2/components_test.rb b/test/unit/vagrant/plugin/v2/components_test.rb index b0c0a8737e6..b4329470191 100644 --- a/test/unit/vagrant/plugin/v2/components_test.rb +++ b/test/unit/vagrant/plugin/v2/components_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require "vagrant/registry" diff --git a/test/unit/vagrant/plugin/v2/config_test.rb b/test/unit/vagrant/plugin/v2/config_test.rb index 66f996f20b6..1f62ee2789b 100644 --- a/test/unit/vagrant/plugin/v2/config_test.rb +++ b/test/unit/vagrant/plugin/v2/config_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::Config do diff --git a/test/unit/vagrant/plugin/v2/host_test.rb b/test/unit/vagrant/plugin/v2/host_test.rb index b1822c19bbd..9d42ed988e4 100644 --- a/test/unit/vagrant/plugin/v2/host_test.rb +++ b/test/unit/vagrant/plugin/v2/host_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::Host do diff --git a/test/unit/vagrant/plugin/v2/manager_test.rb b/test/unit/vagrant/plugin/v2/manager_test.rb index 5dbcc11a502..4a84ea05440 100644 --- a/test/unit/vagrant/plugin/v2/manager_test.rb +++ b/test/unit/vagrant/plugin/v2/manager_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::Manager do diff --git a/test/unit/vagrant/plugin/v2/plugin_test.rb b/test/unit/vagrant/plugin/v2/plugin_test.rb index 92a0188634e..592b557f4eb 100644 --- a/test/unit/vagrant/plugin/v2/plugin_test.rb +++ b/test/unit/vagrant/plugin/v2/plugin_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::Plugin do diff --git a/test/unit/vagrant/plugin/v2/provider_test.rb b/test/unit/vagrant/plugin/v2/provider_test.rb index bb753b03089..96f780b03b4 100644 --- a/test/unit/vagrant/plugin/v2/provider_test.rb +++ b/test/unit/vagrant/plugin/v2/provider_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::Provider do diff --git a/test/unit/vagrant/plugin/v2/synced_folder_test.rb b/test/unit/vagrant/plugin/v2/synced_folder_test.rb index d02f0eb68e6..7ce88a54cf7 100644 --- a/test/unit/vagrant/plugin/v2/synced_folder_test.rb +++ b/test/unit/vagrant/plugin/v2/synced_folder_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) describe Vagrant::Plugin::V2::SyncedFolder::Collection do diff --git a/test/unit/vagrant/plugin/v2/trigger_test.rb b/test/unit/vagrant/plugin/v2/trigger_test.rb index bdb703eed81..bc6bcbfc65c 100644 --- a/test/unit/vagrant/plugin/v2/trigger_test.rb +++ b/test/unit/vagrant/plugin/v2/trigger_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../../base", __FILE__) require Vagrant.source_root.join("plugins/kernel_v2/config/trigger") diff --git a/test/unit/vagrant/registry_test.rb b/test/unit/vagrant/registry_test.rb index f177a6a1c00..e8b7e1cd02b 100644 --- a/test/unit/vagrant/registry_test.rb +++ b/test/unit/vagrant/registry_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe Vagrant::Registry do diff --git a/test/unit/vagrant/shared_helpers_test.rb b/test/unit/vagrant/shared_helpers_test.rb index a2d1b5b597c..37678a207dd 100644 --- a/test/unit/vagrant/shared_helpers_test.rb +++ b/test/unit/vagrant/shared_helpers_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "vagrant/shared_helpers" diff --git a/test/unit/vagrant/ui_test.rb b/test/unit/vagrant/ui_test.rb index 120b1dda2a6..b0bcfac7237 100644 --- a/test/unit/vagrant/ui_test.rb +++ b/test/unit/vagrant/ui_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) describe Vagrant::UI::Basic do diff --git a/test/unit/vagrant/util/ansi_escape_code_remover_test.rb b/test/unit/vagrant/util/ansi_escape_code_remover_test.rb index 5b08f92e46e..25109e2afaa 100644 --- a/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +++ b/test/unit/vagrant/util/ansi_escape_code_remover_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/ansi_escape_code_remover" diff --git a/test/unit/vagrant/util/caps_test.rb b/test/unit/vagrant/util/caps_test.rb index 1e352ad9552..510369c8404 100644 --- a/test/unit/vagrant/util/caps_test.rb +++ b/test/unit/vagrant/util/caps_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/caps" diff --git a/test/unit/vagrant/util/checkpoint_client_test.rb b/test/unit/vagrant/util/checkpoint_client_test.rb index 3b2e9c441fb..f3e91d3a7fc 100644 --- a/test/unit/vagrant/util/checkpoint_client_test.rb +++ b/test/unit/vagrant/util/checkpoint_client_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/checkpoint_client" diff --git a/test/unit/vagrant/util/command_deprecation_test.rb b/test/unit/vagrant/util/command_deprecation_test.rb index 7c94c94272a..3e72a9ace36 100644 --- a/test/unit/vagrant/util/command_deprecation_test.rb +++ b/test/unit/vagrant/util/command_deprecation_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/command_deprecation" diff --git a/test/unit/vagrant/util/credential_scrubber_test.rb b/test/unit/vagrant/util/credential_scrubber_test.rb index 04ba5ff41e2..cd89a4f72e5 100644 --- a/test/unit/vagrant/util/credential_scrubber_test.rb +++ b/test/unit/vagrant/util/credential_scrubber_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/credential_scrubber" diff --git a/test/unit/vagrant/util/curl_helper_test.rb b/test/unit/vagrant/util/curl_helper_test.rb index ddc1431886c..454d5539e8e 100644 --- a/test/unit/vagrant/util/curl_helper_test.rb +++ b/test/unit/vagrant/util/curl_helper_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/curl_helper" diff --git a/test/unit/vagrant/util/deep_merge_test.rb b/test/unit/vagrant/util/deep_merge_test.rb index 74f6fb70be4..2e5d988e9c3 100644 --- a/test/unit/vagrant/util/deep_merge_test.rb +++ b/test/unit/vagrant/util/deep_merge_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/deep_merge' diff --git a/test/unit/vagrant/util/directory_test.rb b/test/unit/vagrant/util/directory_test.rb index 71bc4675ccb..1d20b5ec8bc 100644 --- a/test/unit/vagrant/util/directory_test.rb +++ b/test/unit/vagrant/util/directory_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/directory" require "time" diff --git a/test/unit/vagrant/util/downloader_test.rb b/test/unit/vagrant/util/downloader_test.rb index d6fa62a08da..35b9388a8b0 100644 --- a/test/unit/vagrant/util/downloader_test.rb +++ b/test/unit/vagrant/util/downloader_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/downloader" diff --git a/test/unit/vagrant/util/env_test.rb b/test/unit/vagrant/util/env_test.rb index 70032d2aa01..35b15a52053 100644 --- a/test/unit/vagrant/util/env_test.rb +++ b/test/unit/vagrant/util/env_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/env' diff --git a/test/unit/vagrant/util/experimental_test.rb b/test/unit/vagrant/util/experimental_test.rb index 9c21a2927d7..75920473591 100644 --- a/test/unit/vagrant/util/experimental_test.rb +++ b/test/unit/vagrant/util/experimental_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/experimental" diff --git a/test/unit/vagrant/util/file_checksum_test.rb b/test/unit/vagrant/util/file_checksum_test.rb index 43fe4066194..48689d2d7d5 100644 --- a/test/unit/vagrant/util/file_checksum_test.rb +++ b/test/unit/vagrant/util/file_checksum_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'digest/md5' require 'digest/sha1' diff --git a/test/unit/vagrant/util/file_mutex_test.rb b/test/unit/vagrant/util/file_mutex_test.rb index 131e08a125b..bfe67fba216 100644 --- a/test/unit/vagrant/util/file_mutex_test.rb +++ b/test/unit/vagrant/util/file_mutex_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/file_mutex' diff --git a/test/unit/vagrant/util/guest_hosts_test.rb b/test/unit/vagrant/util/guest_hosts_test.rb index 86be31117ab..c335065bb87 100644 --- a/test/unit/vagrant/util/guest_hosts_test.rb +++ b/test/unit/vagrant/util/guest_hosts_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/guest_hosts' diff --git a/test/unit/vagrant/util/guest_inspection_test.rb b/test/unit/vagrant/util/guest_inspection_test.rb index f85baaf825c..28975ecfb12 100644 --- a/test/unit/vagrant/util/guest_inspection_test.rb +++ b/test/unit/vagrant/util/guest_inspection_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/guest_inspection" diff --git a/test/unit/vagrant/util/hash_with_indifferent_access_test.rb b/test/unit/vagrant/util/hash_with_indifferent_access_test.rb index fdebeb374e2..d9156cd3384 100644 --- a/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +++ b/test/unit/vagrant/util/hash_with_indifferent_access_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/hash_with_indifferent_access" diff --git a/test/unit/vagrant/util/install_cli_autocomplete_test.rb b/test/unit/vagrant/util/install_cli_autocomplete_test.rb index 330b8b44805..468a94c3953 100644 --- a/test/unit/vagrant/util/install_cli_autocomplete_test.rb +++ b/test/unit/vagrant/util/install_cli_autocomplete_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/install_cli_autocomplete' diff --git a/test/unit/vagrant/util/io_test.rb b/test/unit/vagrant/util/io_test.rb index 504b5207c28..e49a98e742d 100644 --- a/test/unit/vagrant/util/io_test.rb +++ b/test/unit/vagrant/util/io_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + # -*- coding: utf-8 -*- require File.expand_path("../../../base", __FILE__) diff --git a/test/unit/vagrant/util/ipv4_interfaces_test.rb b/test/unit/vagrant/util/ipv4_interfaces_test.rb index eb907dff111..b5645169ee8 100644 --- a/test/unit/vagrant/util/ipv4_interfaces_test.rb +++ b/test/unit/vagrant/util/ipv4_interfaces_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/ipv4_interfaces" diff --git a/test/unit/vagrant/util/is_port_open_test.rb b/test/unit/vagrant/util/is_port_open_test.rb index b600d914900..52137a28bad 100644 --- a/test/unit/vagrant/util/is_port_open_test.rb +++ b/test/unit/vagrant/util/is_port_open_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "socket" diff --git a/test/unit/vagrant/util/keypair_test.rb b/test/unit/vagrant/util/keypair_test.rb index 97213182363..eb267d03056 100644 --- a/test/unit/vagrant/util/keypair_test.rb +++ b/test/unit/vagrant/util/keypair_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require "openssl" require "ed25519" require "net/ssh" diff --git a/test/unit/vagrant/util/line_buffer_test.rb b/test/unit/vagrant/util/line_buffer_test.rb index df16830f15d..787ac7602b7 100644 --- a/test/unit/vagrant/util/line_buffer_test.rb +++ b/test/unit/vagrant/util/line_buffer_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/line_buffer" diff --git a/test/unit/vagrant/util/line_endings_helper_test.rb b/test/unit/vagrant/util/line_endings_helper_test.rb index c1b5bdf2700..8e08f925644 100644 --- a/test/unit/vagrant/util/line_endings_helper_test.rb +++ b/test/unit/vagrant/util/line_endings_helper_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/line_ending_helpers" diff --git a/test/unit/vagrant/util/map_command_options_test.rb b/test/unit/vagrant/util/map_command_options_test.rb index 1f8471133aa..086e77da25e 100644 --- a/test/unit/vagrant/util/map_command_options_test.rb +++ b/test/unit/vagrant/util/map_command_options_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/map_command_options' diff --git a/test/unit/vagrant/util/mime_test.rb b/test/unit/vagrant/util/mime_test.rb index 675ebf18978..c6887d7d437 100644 --- a/test/unit/vagrant/util/mime_test.rb +++ b/test/unit/vagrant/util/mime_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/mime' diff --git a/test/unit/vagrant/util/network_ip_test.rb b/test/unit/vagrant/util/network_ip_test.rb index 181b642cb19..1ccdb5d753e 100644 --- a/test/unit/vagrant/util/network_ip_test.rb +++ b/test/unit/vagrant/util/network_ip_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/network_ip" diff --git a/test/unit/vagrant/util/numeric_test.rb b/test/unit/vagrant/util/numeric_test.rb index 2315f5f2674..8a13496102b 100644 --- a/test/unit/vagrant/util/numeric_test.rb +++ b/test/unit/vagrant/util/numeric_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/numeric" diff --git a/test/unit/vagrant/util/platform_test.rb b/test/unit/vagrant/util/platform_test.rb index e0dc29c84c2..eb977d33e75 100644 --- a/test/unit/vagrant/util/platform_test.rb +++ b/test/unit/vagrant/util/platform_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/platform" diff --git a/test/unit/vagrant/util/powershell_test.rb b/test/unit/vagrant/util/powershell_test.rb index c073d8f26cc..b0dbf5785b4 100644 --- a/test/unit/vagrant/util/powershell_test.rb +++ b/test/unit/vagrant/util/powershell_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/powershell' diff --git a/test/unit/vagrant/util/presence_test.rb b/test/unit/vagrant/util/presence_test.rb index 8be6e87c18f..e1486487500 100644 --- a/test/unit/vagrant/util/presence_test.rb +++ b/test/unit/vagrant/util/presence_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/presence" diff --git a/test/unit/vagrant/util/retryable_test.rb b/test/unit/vagrant/util/retryable_test.rb index 9482806e727..005bffc8c48 100644 --- a/test/unit/vagrant/util/retryable_test.rb +++ b/test/unit/vagrant/util/retryable_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/retryable" diff --git a/test/unit/vagrant/util/safe_chdir_test.rb b/test/unit/vagrant/util/safe_chdir_test.rb index 95b88ebc7b1..7ed33804376 100644 --- a/test/unit/vagrant/util/safe_chdir_test.rb +++ b/test/unit/vagrant/util/safe_chdir_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require 'tmpdir' require File.expand_path("../../../base", __FILE__) diff --git a/test/unit/vagrant/util/scoped_hash_override_test.rb b/test/unit/vagrant/util/scoped_hash_override_test.rb index 3a828d7916e..86611108a3c 100644 --- a/test/unit/vagrant/util/scoped_hash_override_test.rb +++ b/test/unit/vagrant/util/scoped_hash_override_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/scoped_hash_override" diff --git a/test/unit/vagrant/util/shell_quote_test.rb b/test/unit/vagrant/util/shell_quote_test.rb index eaea2776583..4f9289b6961 100644 --- a/test/unit/vagrant/util/shell_quote_test.rb +++ b/test/unit/vagrant/util/shell_quote_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/shell_quote" diff --git a/test/unit/vagrant/util/ssh_test.rb b/test/unit/vagrant/util/ssh_test.rb index db73a25d4cc..438faf01914 100644 --- a/test/unit/vagrant/util/ssh_test.rb +++ b/test/unit/vagrant/util/ssh_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/platform" diff --git a/test/unit/vagrant/util/string_block_editor_test.rb b/test/unit/vagrant/util/string_block_editor_test.rb index b31368b9c42..0ff6fad78bb 100644 --- a/test/unit/vagrant/util/string_block_editor_test.rb +++ b/test/unit/vagrant/util/string_block_editor_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/string_block_editor" diff --git a/test/unit/vagrant/util/subprocess_test.rb b/test/unit/vagrant/util/subprocess_test.rb index 0ff5835c866..ef270f191b9 100644 --- a/test/unit/vagrant/util/subprocess_test.rb +++ b/test/unit/vagrant/util/subprocess_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/subprocess" diff --git a/test/unit/vagrant/util/uploader_test.rb b/test/unit/vagrant/util/uploader_test.rb index b3789f63e04..60714109aa1 100644 --- a/test/unit/vagrant/util/uploader_test.rb +++ b/test/unit/vagrant/util/uploader_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require "vagrant/util/uploader" diff --git a/test/unit/vagrant/util/which_test.rb b/test/unit/vagrant/util/which_test.rb index d26a24bdbf2..7f2209aa964 100644 --- a/test/unit/vagrant/util/which_test.rb +++ b/test/unit/vagrant/util/which_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../../base", __FILE__) require 'vagrant/util/platform' diff --git a/test/unit/vagrant/vagrantfile_test.rb b/test/unit/vagrant/vagrantfile_test.rb index 71f75d21737..a3e2d6cb070 100644 --- a/test/unit/vagrant/vagrantfile_test.rb +++ b/test/unit/vagrant/vagrantfile_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../../base", __FILE__) require "pathname" diff --git a/test/unit/vagrant_test.rb b/test/unit/vagrant_test.rb index 4f79750a945..dadc507c61d 100644 --- a/test/unit/vagrant_test.rb +++ b/test/unit/vagrant_test.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require File.expand_path("../base", __FILE__) describe Vagrant do diff --git a/test/vagrant-spec/.runner-vmware.sh b/test/vagrant-spec/.runner-vmware.sh index 73663efff82..6b20cd213f2 100755 --- a/test/vagrant-spec/.runner-vmware.sh +++ b/test/vagrant-spec/.runner-vmware.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + function cleanup { vagrant destroy --force diff --git a/test/vagrant-spec/configs/vagrant-spec.config.docker.rb b/test/vagrant-spec/configs/vagrant-spec.config.docker.rb index c7158723825..0f3194ad63f 100644 --- a/test/vagrant-spec/configs/vagrant-spec.config.docker.rb +++ b/test/vagrant-spec/configs/vagrant-spec.config.docker.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../acceptance/base" Vagrant::Spec::Acceptance.configure do |c| diff --git a/test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb b/test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb index 5040b3d2201..574920e11c4 100644 --- a/test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb +++ b/test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "../../acceptance/base" Vagrant::Spec::Acceptance.configure do |c| diff --git a/test/vagrant-spec/scripts/centos-run.virtualbox.sh b/test/vagrant-spec/scripts/centos-run.virtualbox.sh index 32a80bf94de..ccfcc8cfb2f 100644 --- a/test/vagrant-spec/scripts/centos-run.virtualbox.sh +++ b/test/vagrant-spec/scripts/centos-run.virtualbox.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -x export VAGRANT_EXPERIMENTAL="${VAGRANT_EXPERIMENTAL:-1}" diff --git a/test/vagrant-spec/scripts/centos-setup.virtualbox.sh b/test/vagrant-spec/scripts/centos-setup.virtualbox.sh index 2dff02390a9..574cce57508 100644 --- a/test/vagrant-spec/scripts/centos-setup.virtualbox.sh +++ b/test/vagrant-spec/scripts/centos-setup.virtualbox.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -xe curl -Lo /etc/yum.repos.d/virtualbox.repo http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo diff --git a/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh b/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh index 2d6a07926a0..e28613d0a46 100755 --- a/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh +++ b/test/vagrant-spec/scripts/ubuntu-install-vagrant.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -e # Install Go diff --git a/test/vagrant-spec/scripts/ubuntu-run.docker.sh b/test/vagrant-spec/scripts/ubuntu-run.docker.sh index 5ef7524a652..2dbf334a04f 100644 --- a/test/vagrant-spec/scripts/ubuntu-run.docker.sh +++ b/test/vagrant-spec/scripts/ubuntu-run.docker.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + export VAGRANT_SPEC_DOCKER_IMAGE="${VAGRANT_SPEC_DOCKER_IMAGE}" diff --git a/test/vagrant-spec/scripts/ubuntu-run.virtualbox.sh b/test/vagrant-spec/scripts/ubuntu-run.virtualbox.sh index 9de1436f5dc..669bb5446cc 100644 --- a/test/vagrant-spec/scripts/ubuntu-run.virtualbox.sh +++ b/test/vagrant-spec/scripts/ubuntu-run.virtualbox.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + export VAGRANT_EXPERIMENTAL="${VAGRANT_EXPERIMENTAL:-1}" export VAGRANT_SPEC_BOX="${VAGRANT_SPEC_BOX}" diff --git a/test/vagrant-spec/scripts/ubuntu-setup.docker.sh b/test/vagrant-spec/scripts/ubuntu-setup.docker.sh index d83d55bb2a5..71ad66e4ae5 100644 --- a/test/vagrant-spec/scripts/ubuntu-setup.docker.sh +++ b/test/vagrant-spec/scripts/ubuntu-setup.docker.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -e apt-get update -q diff --git a/test/vagrant-spec/scripts/ubuntu-setup.virtualbox.sh b/test/vagrant-spec/scripts/ubuntu-setup.virtualbox.sh index 53f68e1458f..06d9eeb2b68 100644 --- a/test/vagrant-spec/scripts/ubuntu-setup.virtualbox.sh +++ b/test/vagrant-spec/scripts/ubuntu-setup.virtualbox.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + set -e export DEBIAN_FRONTEND=noninteractive diff --git a/test/vagrant-spec/scripts/windows-run.virtualbox.ps1 b/test/vagrant-spec/scripts/windows-run.virtualbox.ps1 index 04779905893..f4c3835f04e 100644 --- a/test/vagrant-spec/scripts/windows-run.virtualbox.ps1 +++ b/test/vagrant-spec/scripts/windows-run.virtualbox.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + cd /vagrant vagrant plugin install ./vagrant-spec.gem diff --git a/test/vagrant-spec/scripts/windows-setup.virtualbox.ps1 b/test/vagrant-spec/scripts/windows-setup.virtualbox.ps1 index 69cdf93653c..17d1af1742e 100644 --- a/test/vagrant-spec/scripts/windows-setup.virtualbox.ps1 +++ b/test/vagrant-spec/scripts/windows-setup.virtualbox.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + Write-Output "Downloading virtualbox guest additions" $vboxadd_url = "http://download.virtualbox.org/virtualbox/5.2.2/VBoxGuestAdditions_5.2.2.iso" $vboxadd_output = "C:/Windows/Temp/vboxguestadditions.iso" diff --git a/vagrant-config.hcl b/vagrant-config.hcl index e69de29bb2d..9f94cdad867 100644 --- a/vagrant-config.hcl +++ b/vagrant-config.hcl @@ -0,0 +1,3 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + diff --git a/vagrant-spec.config.example.rb b/vagrant-spec.config.example.rb index 59a39520d88..c3763734140 100644 --- a/vagrant-spec.config.example.rb +++ b/vagrant-spec.config.example.rb @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + require_relative "test/acceptance/base" Vagrant::Spec::Acceptance.configure do |c| diff --git a/website/.eslintrc.js b/website/.eslintrc.js index 266f4d5fa9c..5b98e0bd5a0 100644 --- a/website/.eslintrc.js +++ b/website/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + module.exports = { ...require('@hashicorp/platform-cli/config/.eslintrc'), ignorePatterns: ['public/'], diff --git a/website/.stylelintrc.js b/website/.stylelintrc.js index bdad58065a2..e2f4c8f9162 100644 --- a/website/.stylelintrc.js +++ b/website/.stylelintrc.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + module.exports = { ...require('@hashicorp/platform-cli/config/stylelint.config'), } diff --git a/website/data/alert-banner.js b/website/data/alert-banner.js index 6fe98879495..52ddf1562e8 100644 --- a/website/data/alert-banner.js +++ b/website/data/alert-banner.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + export const ALERT_BANNER_ACTIVE = false // https://github.com/hashicorp/web-components/tree/master/packages/alert-banner diff --git a/website/data/metadata.js b/website/data/metadata.js index ca62717339e..dd2ba673826 100644 --- a/website/data/metadata.js +++ b/website/data/metadata.js @@ -1,2 +1,7 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + export const productName = 'Vagrant' export const productSlug = 'vagrant' diff --git a/website/data/subnav.js b/website/data/subnav.js index f559e3e350c..c55d5eccd97 100644 --- a/website/data/subnav.js +++ b/website/data/subnav.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + export default [ { text: 'Intro', diff --git a/website/prettier.config.js b/website/prettier.config.js index b3ac14ab0ee..6c58c7410e0 100644 --- a/website/prettier.config.js +++ b/website/prettier.config.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + module.exports = { ...require('@hashicorp/platform-cli/config/prettier.config'), } diff --git a/website/public/ie-warning.js b/website/public/ie-warning.js index 048cc224b29..bc23b396c7c 100644 --- a/website/public/ie-warning.js +++ b/website/public/ie-warning.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + !(function () { 'use strict' diff --git a/website/redirects.js b/website/redirects.js index 4e063946f4c..10b83a45222 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MIT + */ + /** * Define your custom redirects within this file. * diff --git a/website/scripts/should-build.sh b/website/scripts/should-build.sh index 9760f47745b..bcc7510dccb 100644 --- a/website/scripts/should-build.sh +++ b/website/scripts/should-build.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + ###################################################### # NOTE: This file is managed by the Digital Team's # diff --git a/website/scripts/website-build.sh b/website/scripts/website-build.sh index f72d70cf922..12e661f949a 100755 --- a/website/scripts/website-build.sh +++ b/website/scripts/website-build.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + ###################################################### # NOTE: This file is managed by the Digital Team's # # Terraform configuration @ hashicorp/mktg-terraform # diff --git a/website/scripts/website-start.sh b/website/scripts/website-start.sh index e0ccdbc6f6f..6c9c1a59fc0 100755 --- a/website/scripts/website-start.sh +++ b/website/scripts/website-start.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MIT + ###################################################### # NOTE: This file is managed by the Digital Team's # # Terraform configuration @ hashicorp/mktg-terraform #